datong-new
/
cfm
- Public
- 368 runs
Run datong-new/cfm 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_cloth |
string
|
An image of a person to be converted
|
|
image_model |
string
|
An image of a person to be converted
|
|
try_on_type |
string
(enum)
|
Upper body
Options: Upper body, Lower body, Dress |
An enumeration.
|
model_type |
string
(enum)
|
Full body
Options: Full body, Half body |
An enumeration.
|
{
"type": "object",
"title": "Input",
"properties": {
"model_type": {
"enum": [
"Full body",
"Half body"
],
"type": "string",
"title": "model_type",
"description": "An enumeration.",
"default": "Full body",
"x-order": 3
},
"image_cloth": {
"type": "string",
"title": "Image Cloth",
"format": "uri",
"x-order": 0,
"description": "An image of a person to be converted"
},
"image_model": {
"type": "string",
"title": "Image Model",
"format": "uri",
"x-order": 1,
"description": "An image of a person to be converted"
},
"try_on_type": {
"enum": [
"Upper body",
"Lower body",
"Dress"
],
"type": "string",
"title": "try_on_type",
"description": "An enumeration.",
"default": "Upper body",
"x-order": 2
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}