Request
Send aPOST
request to below endpoint.
curl
Load a ckpt or safetensors Model from Civitai
json
Load a diffusers model
json
Body
application/json
Your API Key used for request authorization
The URL of the Huggingface model, CKPT download link, or Safetensors model
Choose a name (ID) for your model. The loaded model will be saved under this ID
Available options are "diffusers", "safetensors", or "ckpt"
Available options:
diffusers
, safetensors
, ckpt
The category of the model you want to upload
Available options:
stable_diffusion
, stable_diffusion_xl
, controlnet
, lora
, embeddings
, flux_lora
, flux_embeddings
, flux_checkpoint
It accepts "private" or "public"
Available options:
private
, public
The name you want to give your model
Set this to "yes" if you want to reload automatically once upload fails; otherwise pass "no"
Available options:
yes
, no
Specify whether the loaded model is "fp16" or "fp32"
Available options:
fp16
, fp32
A valid image URL to display the model when uploaded
It accepts "yes" or "no"
Available options:
yes
, no