Skip to main content

Request

Send a POST request to below endpoint.
curl

ControlNet Model url and model_id table

Load a .ckpt or .safetensors Model from Civitai

json

Load a Huggingface Model

json

Load a ControlNet Model

json

Attributes

key
string
required
Your enterprise API Key used for request authorization.
url
string
required
The URL of the Hugging Face model, a .ckpt download link, or a trained model from our Dreambooth API.
model_id
string
required
Unique name (ID) for your model. The model will be saved under this ID and can be referenced later when generating images.
from_safetensors
string
default:"no"
Set this to “yes” if loading a .safetensors file; otherwise use “no”. Default: no.
model_type
string
required
The type of model to load. Options: huggingface, api_trained, custom_ckpt, lora, controlnet.
revision
string
default:"fp32"
Precision revision of the model. Options: fp16 or fp32. Default: fp32.
webhook
string
A webhook URL to receive a POST callback when the model load event completes.
upcast_attention
string
default:"no"
Set to “yes” only when loading a Stable Diffusion 2.1 model; otherwise leave as “no”. Default: no.