fashn-logo
FASHNAI

FASHN API: Fashion AI Agent

Welcome to the FASHN API

FASHN is an AI-first company specializing in human-centric generative image models tailored for fashion applications. The FASHN API gives developers and product teams two ways to use them:

  • The FASHN Agent API, for fashion content creation. Describe the images you need in plain language and attach up to six reference images, and the FASHN Agent plans and runs the steps, such as try-on, model swap, edits, upscaling, and background removal. Call it from your own code, or let a coding agent such as Claude Code, Codex, or Cursor call it for you.
  • Virtual try-on and single-task endpoints, for real-time shopping experiences and for direct control over one task at a time.

FASHN Agent API

One request to the Agent can cover several steps that would otherwise take a chain of calls:

  • On-model product photos: a product on a model, from several angles.
  • Packshots: a clean product image on a plain or transparent background.
  • Catalog images: several products on the same model, in the same setting.
  • Lookbooks: one model in one location across several looks.
curl -X POST https://api.fashn.ai/v1/agent/images \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -d '{
           "prompt": "Show the jacket in the first image on a model in a bright studio, full body, front view",
           "images": ["https://example.com/jacket.jpg"]
         }'

Agent Images is in the Experimental lifecycle stage, so its behavior and parameters may still change.

Virtual try-on for shopping experiences

Our Virtual Try-On (VTON) technology shows how clothing would look on a person without them physically wearing it. The API takes a photo of a person and a product, then generates a realistic image showing how it would appear on that person. Use it for real-time shopping experiences, such as a try-on button on a product page or an AI shopping assistant. Try-On Max is the recommended try-on endpoint for most applications, while Try-On v1.6 remains available for real-time, cost-sensitive integrations.

Single-task endpoints

Each single-task endpoint does one job, such as try-on or reframing, through POST /v1/run. The FASHN Agent covers most of these tasks in one request. Call a single-task endpoint directly when you need its specific parameters, or for video.

Built for production


Ready to get started? Set up your account with API Setup, then make your first request with the FASHN Agent API Quickstart.

On this page