csviverdeia/floor-plan-lora
Geracao de plantas arquitetonicas via Stable Diffusion v1.5 + LoRA (maria26)
Run csviverdeia/floor-plan-lora 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 |
|---|---|---|---|
| prompt |
string
|
Floor plan of a small apartment, few rooms, one bathroom, big kitchen, many windows.
|
Descrição da planta arquitetônica desejada.
|
| negative_prompt |
string
|
blurry, low quality, distorted, text, watermark
|
None
|
| num_inference_steps |
integer
|
25
Min: 10.0 Max: 100.0 |
None
|
| guidance_scale |
number
|
7.5
Min: 1.0 Max: 20.0 |
None
|
| lora_scale |
number
|
1.0
Max: 2.0 |
Intensidade do LoRA (0=desligado, 1=padrão, >1=mais forte).
|
| 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",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 5
},
"width": {
"type": "integer",
"title": "Width",
"default": 512,
"maximum": 1024.0,
"minimum": 256.0,
"x-order": 6
},
"height": {
"type": "integer",
"title": "Height",
"default": 512,
"maximum": 1024.0,
"minimum": 256.0,
"x-order": 7
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Floor plan of a small apartment, few rooms, one bathroom, big kitchen, many windows.",
"x-order": 0,
"description": "Descri\u00e7\u00e3o da planta arquitet\u00f4nica desejada."
},
"lora_scale": {
"type": "number",
"title": "Lora Scale",
"default": 1.0,
"maximum": 2.0,
"minimum": 0.0,
"x-order": 4,
"description": "Intensidade do LoRA (0=desligado, 1=padr\u00e3o, >1=mais forte)."
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 20.0,
"minimum": 1.0,
"x-order": 3
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "blurry, low quality, distorted, text, watermark",
"x-order": 1
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 25,
"maximum": 100.0,
"minimum": 10.0,
"x-order": 2
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}