yyjim
/
controlnet-inpaint-scribble
- Public
- 10 runs
Run yyjim/controlnet-inpaint-scribble 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
|
|
box |
string
|
Bounding box coordinates [x, y, w, h]. If None, the entire image will be used.
|
|
multimask_output |
boolean
|
False
|
If True, the output will be a list of masks. If False, the output will be a single mask.
|
mask_only |
boolean
|
False
|
If True, the output will only include mask.
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"box": {
"type": "string",
"title": "Box",
"x-order": 1,
"description": "Bounding box coordinates [x, y, w, h]. If None, the entire image will be used."
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"mask_only": {
"type": "boolean",
"title": "Mask Only",
"default": false,
"x-order": 3,
"description": "If True, the output will only include mask."
},
"multimask_output": {
"type": "boolean",
"title": "Multimask Output",
"default": false,
"x-order": 2,
"description": "If True, the output will be a list of masks. If False, the output will be a single mask."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}