← All models
Generate virtual try-on results from a person image plus one or more garment references.
images
Details
- Accepts
- image
Pricing
- Price
- 0.625 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | The same seed and the same input will output the same image every time. If not provided, a random seed is used. |
| promptrequired | string | Natural-language styling instructions describing how the garment should be worn on the person (e.g. tucked in, layered, sleeves rolled up). |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| output_format | stringenum: jpeg, png | The format of the generated image. |
| human_image_urlrequired | string | The URL of the person image that the garment will be applied onto. The output keeps this image's aspect ratio. Maximum 2 megapixels; recommended under 1 MP. |
| garment_image_urlrequired | string | The URL of the garment reference image. Maximum 1 megapixel; recommended around 0.5 MP. Multiple garments must be merged into a single composite image before submission. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed. |
| images | array | The generated image files info. |
| prompt | string | The prompt used for generating the image. |
| timings | object | |
| has_nsfw_concepts | array | Whether the generated images contain NSFW concepts. |