catio-apps/cog-interiorai-catio
Public
155
runs
Run catio-apps/cog-interiorai-catio 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
|
|
| prompt |
string
|
Text prompt for design
|
|
| negative_prompt |
string
|
lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
|
Negative text prompt to guide the design
|
| num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
| guidance_scale |
number
|
15
Min: 1 Max: 50 |
Scale for classifier-free guidance
|
| prompt_strength |
number
|
0.8
Max: 1 |
Prompt strength for inpainting. 1.0 corresponds to full destruction of information in image
|
| seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"required": [
"image",
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 6,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 1,
"description": "Text prompt for design"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 15,
"maximum": 50,
"minimum": 1,
"x-order": 4,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic",
"x-order": 2,
"description": "Negative text prompt to guide the design"
},
"prompt_strength": {
"type": "number",
"title": "Prompt Strength",
"default": 0.8,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "Prompt strength for inpainting. 1.0 corresponds to full destruction of information in image"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"maximum": 500,
"minimum": 1,
"x-order": 3,
"description": "Number of denoising steps"
}
}
}
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"
}