A fast, simple API for realistic virtual try-on, on-model product photos, and fashion video. Integrate it in minutes with our TypeScript and Python SDKs, and pay only for successful results.
Virtual try-on for clothing, shoes, and accessories
Try-On Max places clothing, shoes, bags, hats, and jewelry on any person at up to 4K, and follows instructions like tucking in a shirt.
For real-time, high-volume experiences, Try-On v1.6 returns tops, bottoms, and one-pieces in seconds for 1 credit per image.
Product content
On-model product photos, model swap, and video
Turn flat-lay and ghost mannequin photos into on-model images, change the model, edit and reframe results, and turn any image into a short video.
Add a face reference to keep the same model across product photos and model swaps.
Developer experience
A fast and simple API for developers
Call every endpoint with simple REST requests, and get started in minutes with our quickstarts and official TypeScript and Python SDKs.
Get results by webhook or polling, track every request in the API dashboard, and let your coding agent build the integration with the FASHN skill and llms.txt docs.
Pricing, privacy, and reliability
Simple pricing and clear data handling, so you can launch with confidence.
Pay per successful result
Credits start at $0.075, and failed requests are never charged.
No subscription
Buy credits when you need them. Purchased credits stay valid for 12 months.
Private by default
Outputs are deleted after 3 days, and your data isn't used for training unless you opt in.
Ready to scale
Monitor uptime on our status page, and ask us to raise your concurrency as you grow.
Everything you need to launch
Pricing, examples, and ideas for building with the FASHN API.
The FASHN API is a fashion AI API for developers. It adds virtual try-on, on-model product photos, AI fashion models, model swap, image editing, background removal, and image-to-video to any website or app through one REST API, with official TypeScript and Python SDKs.
The FASHN API includes Try-On Max and Try-On v1.6 for virtual try-on, Product to Model, Model Create, Face to Model, Model Swap, Edit, Reframe, Background Remove, and Image to Video. Every endpoint uses the same request format, so you can add a new capability by changing the model name.
Credits cost $0.075 each, with a minimum purchase of $7.50. Try-On v1.6 uses 1 credit per image, and Try-On Max uses 1 to 5 credits depending on mode and resolution. You're only charged for successful results.
The FASHN API doesn't include free credits. You can start with a $7.50 purchase of 100 credits, enough to test every endpoint, and failed requests are never charged.
Try-On Max is the most capable FASHN try-on model. It handles clothing, shoes, bags, hats, and jewelry at up to 4K and follows text instructions like tucking in a shirt. Try-On v1.6 is faster and lighter, made for real-time experiences with tops, bottoms, and one-pieces, at 1 credit per image.
Send a photo of a person and a photo of a product to the run endpoint with the try-on model name. The product can be a flat-lay, a ghost mannequin shot, or an on-model photo. The API returns an image of the person wearing the product, which you get by polling the status endpoint or through a webhook.
Try-On v1.6 returns results in about 5 to 17 seconds depending on the mode. Try-On Max and the other image endpoints take about 10 seconds in fast mode at 1K and up to about 55 seconds in quality mode at 4K. Background Remove takes 1 to 3 seconds.
Yes. The Product to Model endpoint turns a flat-lay, ghost mannequin, or product-only photo into an image of a model wearing it. You can guide the result with a prompt, a background reference, or a face reference to keep the same model across your catalog.
Yes. The Model Create endpoint generates a fashion model from a text prompt or a reference image, and the Face to Model endpoint turns a face or selfie into an upper-body avatar that's ready for try-on. Add a face reference to keep the same identity across images.
Yes. Edit changes the pose, angle, or styling and fixes details, Reframe changes the aspect ratio, and Background Remove returns a transparent PNG cutout. Image to Video turns one image into a 5 or 10-second video at up to 1080p.
Yes. A developer or agency connects the FASHN API to your Shopify store, WooCommerce store, or custom site, giving you full control over how virtual try-on looks and works on your product pages.
There are official TypeScript and Python SDKs that submit requests and wait for results for you, and the REST API works with any language. You can receive results by polling or with webhooks, follow quickstarts for Next.js and React Router, and give AI coding agents the FASHN skill or llms.txt docs.
The run endpoint allows 50 requests per minute, and you can run 6 requests at once by default. Contact [email protected] to raise your concurrency for production traffic.
The API dashboard shows every request with its inputs, outputs, status, and credits used, so you can track usage and debug your integration. You can also check your credit balance with the credits endpoint.
Outputs are deleted after 3 days, and images sent as base64 are deleted once the request completes. Your content isn't used to train models unless you opt in, and a Data Processing Agreement is available.
Yes. You can use the images and videos you create with the FASHN API in your products, on product pages, and in marketing, in line with our terms of service.
Buy credits in the API dashboard, create an API key, and follow a quickstart in the docs at https://docs.fashn.ai.