carcruz97 / style-transfer-ii
- Public
- 0 runs
Run carcruz97/style-transfer-ii 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
|
Load your room
|
|
type_room |
string
(enum)
|
livingRoom
Options: bedroom, bathroom, kitchen, diningRoom, livingRoom |
Which room is it?
|
prompt |
string
(enum)
|
modern
Options: midCenturyModern, coastal, contemporary, traditional, modern, scandinavian, industrial, minimalist |
Select the style
|
negative_prompt |
string
|
low quality, bad quality, sketches
|
Input Negative Prompt
|
num_inference_steps |
integer
|
50
Min: 1 Max: 500 |
Number of denoising steps
|
condition_scale |
number
|
0.5
Max: 1 |
controlnet conditioning scale for generalization
|
seed |
integer
|
0
|
Random seed. Set to 0 to randomize the seed
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 6,
"description": "Random seed. Set to 0 to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Load your room"
},
"prompt": {
"enum": [
"midCenturyModern",
"coastal",
"contemporary",
"traditional",
"modern",
"scandinavian",
"industrial",
"minimalist"
],
"type": "string",
"title": "prompt",
"description": "Select the style",
"default": "modern",
"x-order": 2
},
"type_room": {
"enum": [
"bedroom",
"bathroom",
"kitchen",
"diningRoom",
"livingRoom"
],
"type": "string",
"title": "type_room",
"description": "Which room is it?",
"default": "livingRoom",
"x-order": 1
},
"condition_scale": {
"type": "number",
"title": "Condition Scale",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"x-order": 5,
"description": "controlnet conditioning scale for generalization"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "low quality, bad quality, sketches",
"x-order": 3,
"description": "Input Negative Prompt"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"maximum": 500,
"minimum": 1,
"x-order": 4,
"description": "Number of denoising steps"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}