Developers Private beta

From a photo to a Fit in four calls.

Everything the app does, from your own code: upload a person photo and clothing, create a Fit, and receive it when it is ready.

const res = await fetch(`${API_ORIGIN}/v1/fits`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.OUTFIT_AI_API_KEY}`,
    'Idempotency-Key': crypto.randomUUID(),
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    person: { upload: personUploadId },
    clothing: [{ upload: clothingUploadId }],
    options: { output: 'image', pose: 'original' },
  }),
});
const fit = await res.json(); // { id, status: 'queued' }

Request flow

Four calls, one Fit

  1. Upload the inputs
    POST /v1/uploads with the person photo and each clothing image. Each upload returns an id that stays valid for a limited time.
  2. Create the Fit
    POST /v1/fits with the person upload, the clothing reference and the options. The Idempotency-Key header is required, so a retry never creates a second Fit.
  3. Wait for the result
    Poll GET /v1/fits/:id until the status is completed or failed, or register a webhook in the dashboard and receive fit.completed.
  4. Show the Fit
    Output links expire; fetch the image when you show it, or store your own copy under your own terms.
import os, requests, uuid

r = requests.post(
    f"{API_ORIGIN}/v1/fits",
    headers={
        "Authorization": f"Bearer {os.environ['OUTFIT_AI_API_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "person": {"upload": person_upload_id},
        "clothing": [{"upload": clothing_upload_id}],
        "options": {"output": "image", "pose": "original"},
    },
)
fit = r.json()  # {"id": "fit_...", "status": "queued"}

Use cases

What teams build with it

Try-on on the product page

The shopper uploads one photo and sees each piece on themselves as they browse.

Outfit composer

Combine a top, a bottom and outerwear from your catalog into one Fit.

Campaign imagery

Show one collection on many people without a photo shoot for every combination.

Personal styling

A stylist combines pieces for a client and sends Fits, not mood boards.

Documentation

Everything is written down

Quickstart

Your first Fit with curl, TypeScript or Python.

Authentication

Organization API keys, test and live, scopes and rotation.

Create a Fit

The request, clothing roles, the options and idempotency.

Webhooks

Events, signatures, replay protection and retries.

Ready when you are.

Private beta. The v1 contract on these pages is implemented, but the endpoints are not publicly reachable yet. Access is by request.