Request
Send aPOST
request to below endpoint.
curl
ControlNet Model url and model_id table
url | model_id |
---|---|
lllyasviel/control_v11p_sd15_inpaint | inpaint |
lllyasviel/control_v11e_sd15_ip2p | ip2p |
lllyasviel/control_v11f1e_sd15_tile | tile |
lllyasviel/control_v11e_sd15_shuffle | shuffle |
lllyasviel/control_v11p_sd15_softedge | softedge |
lllyasviel/control_v11p_sd15_scribble | scribble |
lllyasviel/control_v11p_sd15_lineart | lineart |
lllyasviel/control_v11p_sd15_normalbae | normalbae |
lllyasviel/control_v11f1p_sd15_depth | depth |
lllyasviel/control_v11p_sd15_mlsd | mlsd |
lllyasviel/control_v11p_sd15_canny | canny |
Load a .ckpt or .safetensors Model from Civitai
json
Load a Huggingface Model
json
Load a ControlNet Model
json
Attributes
Your enterprise API Key used for request authorization.
The URL of the Hugging Face model, a
.ckpt
download link, or a trained model from our Dreambooth API.Unique name (ID) for your model. The model will be saved under this ID and can be referenced later when generating images.
Set this to “yes” if loading a
.safetensors
file; otherwise use “no”. Default: no.The type of model to load. Options: huggingface, api_trained, custom_ckpt, lora, controlnet.
Precision revision of the model. Options: fp16 or fp32. Default: fp32.
A webhook URL to receive a POST callback when the model load event completes.
Set to “yes” only when loading a Stable Diffusion 2.1 model; otherwise leave as “no”. Default: no.