sd1.5-controlnet
1min
Models supported
sd1.5_controlnet-v11-canny_dyn sd1.5-controlnet-depth_ sd1.5-controlnet-hed sd1.5-controlnet-mlsd sd1.5_controlnet-v11-openpose_dyn sd1.5-controlnet-scribble
POST https://{base-url}/sd1.5-controlnet-{model}
Request body
# Prompt to render, eg. "Stormtrooper giving a lecture"
prompt: str
# Prompts to exclude, eg. "bad anatomy, bad hands, missing fingers"
# Default: None
negative_prompt: str
# Number of output images
# Default: 1
samples: int
# Type of scheduler.
# Options: ["DDIM", "DPM Multi", "DPM Single", "Euler a", "Euler", "Heun", "DPM2 a Karras", "DPM2 Karras", "LMS", "PNDM", "DDPM", "UniPC"]
# Default: UniPC
scheduler: enum
# Number of denoising steps.
# Default: 20; Max: 50
num_inference_steps: int
# Scale for classifier-free guidance
# Default: 7.5
guidance_scale: float
# Seed for image generation.
# Default: Random
seed: int
# Controlnet conditioning, closeness to the original image.
# Default: 1; Range: 0 to 1
strength: float
# Input image URL, alternatively, use an image in base64 as shown below.
imageUrl: str
# Base64 encoding of the input image.
image: str
# Base64 encoding of the output image.
# Optional
# Default: false
base64: boolean