Readme
This model doesn't have a readme.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run replicategithubwc/sdxl-turbo 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": "replicategithubwc/sdxl-turbo:a82544e1aa9d21c4e8d2f3c1df8d2b4c526ae003e3c9b5ede7f757523d94fed5",
"input": {
"width": 1024,
"height": 1024,
"prompt": "a photo of an astronaut riding a horse on mars",
"scheduler": "DPM++_SDE_Karras",
"num_outputs": 1,
"prompt_mode": "prompt",
"guidance_scale": 0,
"prompt_strength": 0.8,
"image_prompt_method": "style_and_layout",
"num_inference_steps": 50
}
}' \
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 runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.