mohamad1998630
/
controlnet-seg
- Public
- 1 run
Run mohamad1998630/controlnet-seg 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 |
---|---|---|---|
input_image_path |
string
|
Image to process
|
|
prompt |
string
|
prompt
|
|
a_prompt |
string
|
best quality, extremely detailed
|
added prompt
|
n_prompt |
string
|
longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality
|
negative prompt
|
num_samples |
integer
|
1
|
num_samples
|
image_resolution |
integer
|
512
|
Image resolution
|
detect_resolution |
integer
|
512
|
detect_resolution
|
ddim_steps |
integer
|
20
|
ddim steps
|
guess_mode |
boolean
|
False
|
guess mode
|
strength |
number
|
1
|
strength
|
scale |
number
|
9
|
scale
|
seed |
number
|
3.5
|
seed
|
eta |
number
|
0
|
eta
|
{
"type": "object",
"title": "Input",
"required": [
"input_image_path",
"prompt"
],
"properties": {
"eta": {
"type": "number",
"title": "Eta",
"default": 0,
"x-order": 12,
"description": "eta"
},
"seed": {
"type": "number",
"title": "Seed",
"default": 3.5,
"x-order": 11,
"description": "seed"
},
"scale": {
"type": "number",
"title": "Scale",
"default": 9,
"x-order": 10,
"description": "scale"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "prompt"
},
"a_prompt": {
"type": "string",
"title": "A Prompt",
"default": "best quality, extremely detailed",
"x-order": 2,
"description": "added prompt"
},
"n_prompt": {
"type": "string",
"title": "N Prompt",
"default": "longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
"x-order": 3,
"description": "negative prompt"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 1,
"x-order": 9,
"description": "strength"
},
"ddim_steps": {
"type": "integer",
"title": "Ddim Steps",
"default": 20,
"x-order": 7,
"description": "ddim steps"
},
"guess_mode": {
"type": "boolean",
"title": "Guess Mode",
"default": false,
"x-order": 8,
"description": "guess mode"
},
"num_samples": {
"type": "integer",
"title": "Num Samples",
"default": 1,
"x-order": 4,
"description": "num_samples"
},
"image_resolution": {
"type": "integer",
"title": "Image Resolution",
"default": 512,
"x-order": 5,
"description": "Image resolution"
},
"input_image_path": {
"type": "string",
"title": "Input Image Path",
"format": "uri",
"x-order": 0,
"description": "Image to process"
},
"detect_resolution": {
"type": "integer",
"title": "Detect Resolution",
"default": 512,
"x-order": 6,
"description": "detect_resolution"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"title": "Output"
}