zylim0702
/
multi_controlnet_inpainting_stable_diffusion
- Public
- 73 runs
Run zylim0702/multi_controlnet_inpainting_stable_diffusion with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
image |
string
|
Input image
|
|
mask_image |
string
|
Mask image
|
|
text_prompt |
string
|
Inpainting prompt
|
|
controlnet_type |
string
(enum)
|
canny
Options: canny, hed, mlsd, pose |
Controlnet_type
|
num_inference_steps |
integer
|
20
|
Number of inference steps
|
controlnet_conditioning_scale |
number
|
0.25
|
Controlnet conditioning scale
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"mask_image",
"text_prompt"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"mask_image": {
"type": "string",
"title": "Mask Image",
"format": "uri",
"x-order": 1,
"description": "Mask image"
},
"text_prompt": {
"type": "string",
"title": "Text Prompt",
"x-order": 2,
"description": "Inpainting prompt"
},
"controlnet_type": {
"enum": [
"canny",
"hed",
"mlsd",
"pose"
],
"type": "string",
"title": "controlnet_type",
"description": "Controlnet_type",
"default": "canny",
"x-order": 3
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 20,
"x-order": 4,
"description": "Number of inference steps"
},
"controlnet_conditioning_scale": {
"type": "number",
"title": "Controlnet Conditioning Scale",
"default": 0.25,
"x-order": 5,
"description": "Controlnet conditioning scale"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}