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

string
required
Your enterprise API Key used for request authorization.
string
required
The URL of the Hugging Face model, a .ckpt download link, or a trained model from our Dreambooth API.
string
required
Unique name (ID) for your model. The model will be saved under this ID and can be referenced later when generating images.
string
required
The category of the model. Options: lora, stable_diffusion, stable_diffusion_xl, controlnet.
string
required
The format of the model. Options: ckpt, safetensors, pt, diffusers.
string
default:"fp32"
Precision revision of the model. Options: fp16 or fp32. Default: fp32.
string
A webhook URL to receive a POST callback when the model load event completes.