Skip to main content
POST
Fashion try-on

Fashion

Fashion endpoint result

Request

Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl

Body

json

Body

application/json
key
string
required

Your API Key used for request authorization

init_image
string<uri>
required

The URL of the image of the model to try the dress on

cloth_image
string<uri>
required

The URL of the cloth/dress to try on

cloth_type
enum<string>
required

Type of garment

Available options:
upper_body,
lower_body,
dresses
prompt
string

The text prompt describing the things you want in the image

negative_prompt
string

Items you do not want in the image

num_inference_steps
enum<integer>

The number of denoising steps

Available options:
21,
31,
41
temp
enum<string>
default:no

Set to yes for proxy links

Available options:
yes,
no
guidance_scale
integer

The scale for classifier-free guidance

Required range: 1 <= x <= 20
webhook
string<uri>

URL to receive POST API call when complete

track_id
integer

ID for webhook identification

Response

200 - application/json

Fashion try-on response

status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the image in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of generated image URLs

Array of proxy image URLs

meta
object

Metadata about the generation process