Developer API

Virtual Try-On APIfor fashion apps, stores and platforms

One REST API for virtual try-on, on-model product photos, AI fashion models, poses, angles and backgrounds. The same models that power Fit It On, running on our infrastructure.

Pay as you go · $0.075 per credit · no subscription

Try-on request
curl -X POST https://fititon.app/api/v1/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_name": "tryon",
    "inputs": {
      "personImage": "https://example.com/person.jpg",
      "garmentImage": "https://example.com/garment.jpg"
    }
  }'

# → { "id": "…", "status": "starting" }
curl https://fititon.app/api/v1/status/{id} \
  -H "Authorization: Bearer YOUR_API_KEY"

What is the Fit It On API?

The Fit It On API is a REST API that creates fashion images with AI. Send a photo of a person and a garment, a product shot, or a text prompt, and it returns realistic images of people wearing the clothes. Jobs run in the background: POST /v1/run starts one, and you collect the result by polling /v1/status or through a webhook. You pay with prepaid credits at $0.075 each, with no subscription, and failed requests are never charged.

Every on-model image your product needs

Nine endpoints, one request format. Each is documented with its parameters, examples and credit cost.

Virtual Try-On

Virtual Try-On

tryon

Put a garment onto a photo of a person, keeping their pose and identity.

From 3 credits per imageView docs →
Product to Model

Product to Model

product-to-model

Turn a packshot of clothing, bags or accessories into a photo of a model wearing it.

From 2 credits per imageView docs →
Prompt Try-On

Prompt Try-On

prompt-tryon

Describe an outfit in words and dress the person in it.

From 2 credits per imageView docs →
Model Create

Model Create

model-create

Generate a consistent AI fashion model from a description, or upload your own.

From 2 credits per imageView docs →
Pose Control

Pose Control

pose-control

Repose a person using a reference pose image or a text description.

From 2 credits per imageView docs →
Angle Generation

Angle Generation

angle-generation

Create back, side and 45° views from a single photo.

From 2 credits per imageView docs →
Background Replace

Background Replace

background-replace

Keep the subject and generate a new scene from a prompt.

From 2 credits per imageView docs →
Social Studio

Social Studio

social-studio

Restyle a photo into social formats such as an action figure, a collage or a sketch.

From 2 credits per imageView docs →
2K · 4K

Upscale

upscale

Sharpen and enlarge an image to 2K or 4K.

From 4 credits per imageView docs →

How it works

From sign-up to a finished image in three steps.

  1. 1

    Get a key and credits

    Create an API key in your dashboard and top up credits, from 100 credits.

  2. 2

    Start a job

    Send POST /v1/run with the endpoint name and its inputs. You get a job id back right away.

  3. 3

    Get the result

    Poll GET /v1/status with the job id, or receive a webhook. Results are image URLs you can download or serve.

Simple prepaid pricing

Buy credits once and spend them on any endpoint. No subscription and no monthly minimum.

$0.075per credit

  • Failed requests are never charged
  • Buy 100 to 100,000 credits at a time
  • Credits from each purchase are valid for 12 months
  • Separate from Fit It On app plans

Credits per image

Mode1K2K4K
BalancedFast and cost-efficient2$0.1503$0.2254$0.300
QualityHighest fidelity3$0.2254$0.3005$0.375

Built for production

Asynchronous by design

Jobs run in the background, so long generations never time out your requests. Poll for results or use webhooks with automatic retries.

Pay only for results

Failed requests are never charged, and every response shows the credits it used.

Clear errors

Every failure returns a stable error code and a message written for developers.

Docs in 14 languages

Reference pages with cURL, JavaScript and Python examples for every endpoint.

Dashboard included

Manage keys, inspect every request, and track usage and spend in analytics.

The models behind Fit It On

The same image models Fit It On users work with in the studio, available through the API.

Who builds with it

E-commerce platforms

Add try-on to product pages so shoppers can see clothes on a person before they buy.

Fashion brands and retailers

Produce on-model catalog photos from packshots without booking a photoshoot.

Marketplaces and resale apps

Give every listing consistent on-model photos, whoever uploaded it.

Agencies and creative tools

Build fashion content workflows on top of ready-made image endpoints.

Frequently asked questions

Start building with the Fit It On API

Create a key, top up credits and make your first request in minutes.