---
title: "Async Try On Generation Api"
method: POST
path: "/v1/image/ai-fashion-models"
tags: ["Image"]
---

# Async Try On Generation Api

`POST /v1/image/ai-fashion-models`

AI Fashion Models generation

## Request body

- TryOnAPIRequest
  - `output` union — Customize output format, destination and number of images.
    - TryOnAPIRequestOutputObject
      - `number_of_images` integer — Number of output images.
      - `destination` string, uri — Customize the result output.
      - `format` 'jpeg' | 'png' — An enumeration.
    - string, uri
  - `input` TryOnAPIRequestInputOptions, required
    - `model` string, uri — URL of the human model image. Image must be accessible by our system.
    - `clothing` string[], required — List of clothing images URLs. Images must be accessible by our system.
  - `options` TryOnAPIRequestOptionsObject, required
    - `pose` string — Pose prompt for the generation.
    - `background` string — Background prompt for the generation.
    - `aspect_ratio` '1:1' | '2:3' | '3:2' | '3:4' | '4:3' | '9:16' | '16:9' | '21:9' | '4:5' | '5:4' — An enumeration.

## Response `200`

Successful Response

- ResponseTryOnAPIAcceptedResponse — Wrapper for responses
  - `data` TryOnAPIAcceptedResponse
    - `id` integer, required
    - `status` 'ACCEPTED' | 'WAITING' | 'PROCESSING' | 'DONE' | 'ERROR' | 'CANCELLED' | 'PAUSED', required — An enumeration.
    - `created_at` string, date-time, required
    - `request` object, required
    - `result_url` string, uri, required

## Other responses

- `401` — Authorization is required.
- `402` — No API calls left.
- `403` — Not enough permissions.
- `422` — Unprocessable Entity.
- `429` — Too many requests.

---

[API](https://skmtc.net/claid/apis/claid-rest-api.md) · [All operations](https://skmtc.net/claid/apis/claid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/claid/claid-rest-api/revisions/410fc0db9665/schema)
