fashn-logo

FASHNAI

Developer API

FASHN AI API – Virtual Try-On, Product Photography & AI Tools for Fashion

Give your users an unforgettable experience by integrating FASHN AI's complete fashion API suite, including virtual try-on, AI model creation, product photography, and more, directly into your app or website.

Also available onfal.ai logo

Used by

Photo Flux AI logo
Photo AI logo
RenderNet AI logo
Buñu logo
The New Black logo
Antla logo
HANGR logo
Cheyyn logo
Photo Flux AI logo
Photo AI logo
RenderNet AI logo
Buñu logo
The New Black logo
Antla logo
HANGR logo
Cheyyn logo
Photo Flux AI logo
Photo AI logo
RenderNet AI logo
Buñu logo
The New Black logo
Antla logo
HANGR logo
Cheyyn logo
Photo Flux AI logo
Photo AI logo
RenderNet AI logo
Buñu logo
The New Black logo
Antla logo
HANGR logo
Cheyyn logo

...and thousands of developers!

Full API Suite

Complete API Endpoints for
your Fashion App

Access the complete set of FASHN AI API endpoints to power your fashion and e-commerce apps. From virtual try-on to model creation and product photography, each RESTful endpoint is designed for real-world fashion use cases.

Virtual Try-On v1.6

tryon-v1.6

Realistic garment visualization on any person using AI. Perfect for e-commerce and virtual fitting rooms.

5-17 seconds
E-commerce, Virtual Fitting

Product to Model

product-to-model

Transform flat-lay or ghost mannequin photos into professional on-model shots without photoshoots.

8-15 seconds
Product Photography

Face to Model

face-to-model

Convert any person's face into a professional fashion model photo with customizable styling.

10-20 seconds
E-commerce, Virtual Fitting

Model Create

model-create

Generate diverse AI fashion models with customizable demographics, poses, and styling options.

12-25 seconds
Content Creation

Model Variation

model-variation

Create consistent variations of existing models while maintaining recognizable features.

8-15 seconds
Image Editing

Model Swap

model-swap

Replace the model in existing photos while preserving garments, poses, and backgrounds.

10-18 seconds
Model Replacement

Reframe

reframe

Adjust image composition and aspect ratios for different platforms and use cases.

3-8 seconds
Image Editing

Background Change

background-change

Replace backgrounds with custom scenes, studios, or environments for enhanced product presentation.

5-12 seconds
Scene Editing

Background Remove

background-remove

Create clean product cutouts with transparent backgrounds for e-commerce catalogs.

2-5 seconds
Product Cutouts
Powerful Features

Everything you need for
your fashion app

Easily integrate FASHN's powerful fashion-oriented generative endpoints into your app or website, from virtual try-on to AI model creation.

Core Technology

Clothing Try-On

Our clothing try-on endpoints lets users see how any outfit looks on them using a product photo—whether a flat-lay, ghost mannequin, or on-model image.

A fully personalized and interactive experience, perfect for exploring new styles, planning outfits, or creating unique photos for social media, delivering realistic results in 5-17 seconds.

Developer Experience

Fast and Simple API for Developers

Generate fashion AI results across all endpoints with simple REST calls. From try-ons to model creation, get started in minutes with our guides, examples, and official SDKs for TypeScript and Python.

api.fashn.ai
1import Fashn from "fashn";
2
3const client = new Fashn({
4 apiKey: process.env.FASHN_API_KEY,
5});
6
7 const response = await client.predictions.subscribe({
8 model_name: "tryon-v1.6",
9 inputs: {
10 model_image: "https://example.com/path/to/model.jpg",
11 garment_image: "https://example.com/path/to/garment.jpg",
12 },
13 });
14}
Monitoring & Analytics

API Dashboard

Monitor your API usage effortlessly with our dedicated dashboard. Track requests in real time, inspect inputs and outputs, view successes and failures, and gain complete oversight of how your users interact with the virtual try-on experience.

Enterprise Ready

For Startups and Enterprises

A Reliable, Scalable, and Secure API

Flexible, On-Demand Pricing

Our credit-based system lets you purchase usage as needed.

Commitment-Based Discounts

For high-volume or long-term users, get discounted monthly and annual plans.

Strict Data Retention Policy

All user inputs and outputs are automatically deleted after 72 hours.

Available for Commercial Use

Our in-house AI model is available for commercial use under clear, straightforward terms.

FAQ

Frequently Asked Questions

Still have questions? Visit our Help Center

FASHN AI Banner

Ready to take control of
your fashion content?

Join thousands of brands and creators using FASHN AI to create premium product imagery in seconds.

Get started for freeNo credit card required
FASHN AI Product Showcase
FASHN API | Virtual Try-On, Model Creation, Product Photography & More