API Reference: Agent and Single-Task Endpoints
Welcome to the FASHN API Reference. Start with the FASHN Agent API, which plans and runs the steps a request needs, or call a single-task endpoint directly.
FASHN Agent API
New to the Agent? Start with the Agent API Quickstart.
Single-task endpoints
Each single-task endpoint does one job through POST /v1/run. Use them for real-time virtual try-on in shopping experiences, for direct control over one task's parameters, or for video.
Try-On Max
Premium virtual try-on with enhanced fidelity, up to 4K resolution, and prompt-based customization
FASHN Virtual Try-On v1.6
Fast, lightweight virtual try-on optimized for real-time e-commerce experiences
Product to Model
Transform product images into people wearing those products, with optional inspiration, background, and face reference inputs
Model Create
Generate realistic fashion models using textual prompts or reference images
Face to Model
Transform face images into try-on ready upper-body avatars while preserving facial identity
Model Swap
Change the identity of fashion models while preserving clothing and outfit details
Edit
Versatile post-processing that follows edit instructions while preserving identity and product fidelity
Reframe
Adjust image aspect ratios by expanding or cropping based on smart content analysis
Background Remove
Remove image backgrounds to create transparent PNG cutouts of foreground subjects
Image to Video
Create short videos from a single image with tasteful camera work and model movements tailored for fashion.