csviverdeia/controlnet-seg-room
Geracao de quartos a partir de mapa de segmentacao + prompt (ControlNet + SD v1.5)
Run csviverdeia/controlnet-seg-room 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 |
|---|---|---|---|
| seg_image |
string
|
Segmentation map RGB (ADE20K palette).
|
|
| prompt |
string
|
a luxurious modern living room with large windows, natural light, scandinavian style
|
None
|
| negative_prompt |
string
|
ugly, blurry, low quality, distorted, deformed, dark, gloomy
|
None
|
| num_inference_steps |
integer
|
20
Min: 10.0 Max: 100.0 |
None
|
| guidance_scale |
number
|
7.5
Min: 1.0 Max: 20.0 |
None
|
| controlnet_conditioning_scale |
number
|
1.0
Max: 2.0 |
None
|
| seed |
integer
|
-1
|
None
|
| width |
integer
|
512
Min: 256.0 Max: 1024.0 |
None
|
| height |
integer
|
512
Min: 256.0 Max: 1024.0 |
None
|
{
"type": "object",
"title": "Input",
"required": [
"seg_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 6
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"maximum": 1024.0,
"minimum": 256.0,
"x-order": 7
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"maximum": 1024.0,
"minimum": 256.0,
"x-order": 8
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "a luxurious modern living room with large windows, natural light, scandinavian style",
"x-order": 1
},
"seg_image": {
"type": "string",
"title": "Seg Image",
"format": "uri",
"x-order": 0,
"description": "Segmentation map RGB (ADE20K palette)."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 20.0,
"minimum": 1.0,
"x-order": 4
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "ugly, blurry, low quality, distorted, deformed, dark, gloomy",
"x-order": 2
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 20,
"maximum": 100.0,
"minimum": 10.0,
"x-order": 3
},
"controlnet_conditioning_scale": {
"type": "number",
"title": "Controlnet Conditioning Scale",
"default": 1.0,
"maximum": 2.0,
"minimum": 0.0,
"x-order": 5
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}