Readme
ZeroScope2 no changes except moving to T4
ZeroScope2 on a40
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run charlesmccarthy/zeroscope2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"charlesmccarthy/zeroscope2:5eaf92046a5ce431ab31d5dc58c422fa2c53284ea486c80132755c3892a12fd3",
input={
"fps": 8,
"model": "xl",
"width": 576,
"height": 320,
"prompt": "An astronaut riding a horse",
"batch_size": 1,
"num_frames": 24,
"init_weight": 0.5,
"guidance_scale": 7.5,
"remove_watermark": False,
"num_inference_steps": 50
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
No output yet! Press "Submit" to start a prediction.
This model costs approximately $0.34 to run on Replicate, or 2 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 6 minutes. The predict time for this model varies significantly based on the inputs.
ZeroScope2 no changes except moving to T4