Readme
…
Model description
…
Intended use
…
Ethical considerations
…
Caveats and recommendations
…
import of deliberate v2
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run anotherjesse/deliberate using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "5a63f2ba0039041b51eea79be1fbf7a49b616a9cf729ba8f1555dc9ee9f3d67e",
"input": {
"width": 512,
"height": 512,
"prompt": "photo of cjw person",
"scheduler": "DPMSolverMultistep",
"num_outputs": 1,
"low_threshold": 100,
"guidance_scale": 7.5,
"high_threshold": 200,
"prompt_strength": 0.8,
"num_inference_steps": 50,
"disable_safety_check": false
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model costs approximately $0.0072 to run on Replicate, or 138 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 A100 (80GB) GPU hardware. Predictions typically complete within 6 seconds.
…
…
…
…
…