Readme
This model doesn't have a readme.
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 sabatinomasala/sd-54816-lindsay-depth using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"sabatinomasala/sd-54816-lindsay-depth:4f70594130a4ca3b25ca2295ea5e1068ec17306cf3dc0b6a9178f24dacb0b4ab",
input={
"width": 512,
"height": 512,
"prompt": "photo of cjw person",
"scheduler": "DPMSolverMultistep",
"num_outputs": 1,
"guidance_scale": 7.5,
"prompt_strength": 0.8,
"num_inference_steps": 50,
"disable_safety_check": False
}
)
# The sabatinomasala/sd-54816-lindsay-depth model can stream output as it's running.
# The predict method returns an iterator, and you can iterate over that output.
for item in output:
# https://replicate.com/sabatinomasala/sd-54816-lindsay-depth/api#output-schema
print(item)
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.00022 to run on Replicate, or 4545 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 T4 GPU hardware. Predictions typically complete within 1 seconds. The predict time for this model varies significantly based on the inputs.
This model doesn't have a readme.