Skip to main content

Request

Send a POST request to below endpoint.

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

BodyAttributes

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.
model_category
string
required
The category of the model. Options: lora, stable_diffusion, stable_diffusion_xl, controlnet.
model_format
string
required
The format of the model. Options: ckpt, safetensors, pt, diffusers.
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.