Readme
…
Model description
…
Intended use
…
Ethical considerations
…
Caveats and recommendations
…
(Updated 2 years, 4 months ago)
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run andreasjansson/andreambooth 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": "andreasjansson/andreambooth:d5988cb17e2db712f3ea255412cb150cd33f5de2f0e5f70589bdba9fa927b8ae",
"input": {
"width": 512,
"height": 512,
"prompt": "a photo of a cjw person",
"scheduler": "DDIM",
"num_outputs": 1,
"guidance_scale": 7.5,
"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.0037 to run on Replicate, or 270 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 4 seconds.
…
…
…
…
…