jbilcke
/
oot_diffusion_with_mask
Don't mind me :) this is just a fork of viktorfa/oot_diffusion_with_mask
- Public
- 26 runs
Run jbilcke/oot_diffusion_with_mask 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 |
---|---|---|---|
model_image |
string
|
https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/model_1.png
|
Clear picture of the model
|
garment_image |
string
|
https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/cloth_1.jpg
|
Clear picture of upper body garment
|
person_mask |
string
|
https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/model_1_mask.png
|
Mask of the person's upper body
|
steps |
integer
|
20
Min: 1 Max: 40 |
Inference steps
|
guidance_scale |
number
|
2
Min: 1 Max: 5 |
Guidance scale
|
seed |
integer
|
0
Max: 18446744073709552000 |
Seed
|
num_samples |
integer
|
1
Min: 1 Max: 4 |
Number of samples
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"maximum": 18446744073709552000,
"minimum": 0,
"x-order": 5,
"description": "Seed"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 20,
"maximum": 40,
"minimum": 1,
"x-order": 3,
"description": "Inference steps"
},
"model_image": {
"type": "string",
"title": "Model Image",
"format": "uri",
"default": "https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/model_1.png",
"x-order": 0,
"description": "Clear picture of the model"
},
"num_samples": {
"type": "integer",
"title": "Num Samples",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 6,
"description": "Number of samples"
},
"person_mask": {
"type": "string",
"title": "Person Mask",
"format": "uri",
"default": "https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/model_1_mask.png",
"x-order": 2,
"description": "Mask of the person's upper body"
},
"garment_image": {
"type": "string",
"title": "Garment Image",
"format": "uri",
"default": "https://raw.githubusercontent.com/viktorfa/oot_diffusion/main/oot_diffusion/assets/cloth_1.jpg",
"x-order": 1,
"description": "Clear picture of upper body garment"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 2,
"maximum": 5,
"minimum": 1,
"x-order": 4,
"description": "Guidance scale"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}