FLUX Virtual Try-On overview
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
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.16 | per 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.
| Model | Per Megapixel |
|---|---|
| $0.16 | |
| $0.014 | |
| $0.015 | |
| $0.015 | |
| $0.05 |
How to use the FLUX Virtual Try-On API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport 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"
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"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"
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"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"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
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.



.webp)