ControlNet Multi
Control Stable Diffusion generations with Multi ControlNet.
POST
Generate images using ControlNet
The ControlNet models are available in this API.
You can also use this endpoint to inpaint images with ControlNet. Just make sure to pass the link to the
mask_image in the request body and use the controlnet_model parameter with “inpaint” value.Request
Send aPOST request to below endpoint.
curl
Body
You can also use multi ControlNet. Just make sure to pass comma separated ControlNet models to the
controlnet_model as canny,depth and init_image in the request body.Models
ControlNet API using Controlnet 1.1 as default: Suported controlnet_model:- canny
- depth
- hed
- mlsd
- normal
- openpose
- scribble
- segmentation
- inpaint
- softedge
- lineart
- shuffle
- tile
- face_detector
- qrcode
Body
json
Body
application/json
ControlNet model ID. Can be single model or comma-separated for multi-ControlNet (e.g., 'canny,depth,openpose')
Available options:
canny, depth, hed, mlsd, normal, openpose, scribble, segmentation, inpaint, softedge, lineart, shuffle, tile, face_detector, qrcode, blur, pose, gray, low_quality Scheduler to use for image generation
Available options:
DDPMScheduler, DDIMScheduler, PNDMScheduler, LMSDiscreteScheduler, EulerDiscreteScheduler, EulerAncestralDiscreteScheduler, DPMSolverMultistepScheduler, HeunDiscreteScheduler, KDPM2DiscreteScheduler, DPMSolverSinglestepScheduler, KDPM2AncestralDiscreteScheduler, UniPCMultistepScheduler, DDIMInverseScheduler, DEISMultistepScheduler, IPNDMScheduler, KarrasVeScheduler, ScoreSdeVeScheduler, LCMScheduler Response
ControlNet generation response

