FLUX Virtual Try-On API

Generates virtual clothing try-on images.

Modalities
Image, TextImage
Price
$0.16per Megapixel
Model type
Image generation
Released
Jun 12, 2026

FLUX Virtual Try-On overview

Sample FLUX Virtual Try-On image generated through AI/ML API: Change the rain to falling snow and make the lettering on the glass read CLOSED. Keep everything else the same

FLUX Virtual Try-On specs

Model ID
blackforestlabs/flux-vto
Developer
Black Forest Labs
Input
Image, Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

What is FLUX Virtual Try-On API?

Generates virtual clothing try-on images.

FLUX Virtual Try-On API Pricing
- Pricing on request

Where to Use FLUX Virtual Try-On

Use cases

Generate virtual try-on results from a person image plus one or more garment references. It is also documented for interactive applications like virtual fitting rooms and social media filters.

It is suited to catalog-scale styling, including showing how a garment looks on a person for exploring styling, silhouette, and overall fit.

It is documented for product visualization in fashion workflows, including creating apparel try-on results for shopper-facing try-on use cases.

It can be used for outfit transfer, where clothing from a reference image is placed onto a person image while preserving the subject’s face and pose.

FLUX Virtual Try-On API pricing

FLUX Virtual Try-On pricing in US dollars
UsagePriceUnit
Image generation$0.16per Megapixel

The final price depends on request parameters such as resolution or duration.

Prices from the AI/ML API price list, checked on Nov 4, 2026.

FLUX Virtual Try-On vs other image models: prices

AI/ML API rates for 5 models, per Megapixel.

AI/ML API prices in USD per Megapixel
ModelPer Megapixel
FLUX Virtual Try-On$0.16
FLUX.2 Klein 4B$0.014
FLUX.2 Klein 9B$0.015
FLUX.2 Klein 9B Preview$0.015
FLUX.2 Flex$0.05

How to use the FLUX Virtual Try-On API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "blackforestlabs/flux-vto",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo.",
  "person_image_url": "https://example.com/input.jpg",
  "garment_image_url": "https://example.com/input.jpg"
}'

Related articles

All posts

FLUX Virtual Try-On FAQ

What inputs and outputs does FLUX Virtual Try-On support?

FLUX Virtual Try-On takes image, text as input and returns image.

How much does FLUX Virtual Try-On cost?

FLUX Virtual Try-On costs $0.16 per Megapixel on AI/ML API, billed as you go with no subscription.

How is FLUX Virtual Try-On billed?

FLUX Virtual Try-On is billed per generation, a fixed charge per output rather than by prompt length.

Can FLUX Virtual Try-On take an existing image as input?

Yes, FLUX Virtual Try-On accepts image input as well as a text prompt.

Who created FLUX Virtual Try-On?

FLUX Virtual Try-On was built by Black Forest Labs.

How do I call FLUX Virtual Try-On on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with blackforestlabs/flux-vto as the model id.

Is FLUX Virtual Try-On available through a single API key?

Yes. FLUX Virtual Try-On is served through AI/ML API, so the same key and endpoint format used for other models applies.

What kind of model is FLUX Virtual Try-On?

It is an image generation model that produces virtual clothing try-on images.

What is the FLUX Virtual Try-On model ID?

Use blackforestlabs/flux-vto as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with FLUX Virtual Try-On

FLUX Virtual Try-On API

blackforestlabs/flux-vto

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "blackforestlabs/flux-vto",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo.",
  "person_image_url": "https://example.com/input.jpg",
  "garment_image_url": "https://example.com/input.jpg"
}'