API Free WeekHundreds of APIs are free to call this week.Browse free APIs

FLUX Virtual Try-On

bfl/flux-pro/1.0/vto

Flux Pro 1.0 Vto by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Base price
$0.04USD / run
Execution
async
Model type
image
Input fields
6

Try the model

Playground

Open playground
Input
Natural-language styling instructions describing how the garment should be worn on the person (e.g. tucked in, layered, sleeves rolled up).
14
The number of denoising steps to perform. Range: 1 to 4.
The format of the generated image. Allowed values: jpeg, png.
The same seed and the same input will output the same image every time. If not provided, a random seed is used.

PNG, JPEG, WebP, or GIF · 20 MiB maximum

The URL of the garment reference image. Maximum 1 megapixel; recommended around 0.5 MP. Multiple garments must be merged into a single composite image before submission.
The URL of the person image that the garment will be applied onto. The output keeps this image's aspect ratio. Maximum 2 megapixels; recommended under 1 MP.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.04 / run

Context & modalities

Input
Schema-defined
Output
image

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
BFL
Model ID
bfl/flux-pro/1.0/vto
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

FLUX Virtual Try-On

FLUX Virtual Try-On is a image generation and editing workflow in the FLUX family. Flux Pro 1.0 Vto by BFL - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly. It is designed to translate deliberate creative direction and supplied reference material into a coherent production asset, with attention to subject identity, composition, visual detail, and the specific transformation implied by this exact route.

Use this route when the project needs a virtual garment visualization. Describe the intended result, what must remain recognizable, and the required composition, lighting, materials, atmosphere, and finish; keep technical delivery choices in the schema fields below.

Highlights

  • Virtual garment try-on. Combines a person image and clothing reference to visualize the garment on the subject.
  • Identity preservation. Keeps the wearer recognizable while changing apparel.
  • Garment-detail transfer. Carries color, cut, texture, and visible design cues from the product reference into the result.
  • Photorealistic integration. Adapts drape, lighting, perspective, and body placement so the clothing belongs in the scene.

Pricing

ConfigurationBilling unitPrice
Base generationPer request$0.0375

When to Use

✅ Good fit❌ Consider alternatives
The project needs this exact FLUX capabilityThe intended task belongs to a different media workflow
Required source and control media are availableNecessary assets or usage rights are unavailable
Creative direction can state change and preservation goalsOutput must be deterministic at pixel or frame level
Supported dimensions and formats match final deliveryPlacement requires unsupported specifications
An asynchronous generated result fits productionA live frame-synchronous response is mandatory

Prompt Guide

Lead with the main subject and action, then specify composition, context, lighting, materials, style, typography, and atmosphere. For editing, identify each source and clearly separate the requested transformation from the subjects, regions, geometry, or identity that must remain unchanged.

{
  "prompt": "A cinematic, precisely composed result with a clear subject, controlled camera or viewpoint, realistic lighting, exact materials, and intentional atmosphere",
  "seed": 1,
  "output_format": "jpeg",
  "human_image_url": "https://example.com/reference.png"
}

Technical Specs

SpecValue
Model IDbfl/flux-pro/1.0/vto
Input fieldsseed (integer)<br>prompt (string)<br>output_format (string; jpeg, png)<br>human_image_url (string)<br>garment_image_url (string)<br>num_inference_steps (integer; 1–4)
Required inputprompt
Output fieldsurl, content_type
ExecutionAsynchronous job

Related Models

  • bfl/flux-1/dev/edit
  • bfl/flux-1/dev/image-to-image
  • bfl/flux-1/dev

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
bfl/flux-pro/1.0/vto
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "bfl/flux-pro/1.0/vto",
  "prompt": "A natural front-facing studio shot. The t-shirt is worn tucked in.",
  "output_format": "jpeg",
  "human_image_url": "https://static.sandbase.ai/examples/bfl/flux-pro/1.0/vto/input_human_image_url_1.jpg",
  "garment_image_url": "https://static.sandbase.ai/examples/bfl/flux-pro/1.0/vto/input_garment_image_url_0.jpg",
  "num_inference_steps": 4
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
BFLImage$0.04 / runMay 28, 2026
BFLImage$0.05 / runOct 1, 2026
BFLImage$0.05 / runOct 1, 2026
BFLImage$0.02 / runJan 15, 2026
BFLImage$0.02 / runJan 15, 2026
BFLImage$0.01 / runJan 15, 2026

Questions

FAQ

How do I call BFL FLUX Virtual Try-On through SandBase?

Create a SandBase API key, then send requests with the model ID "bfl/flux-pro/1.0/vto" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate BFL account?

No. One SandBase API key and balance gives you access to BFL FLUX Virtual Try-On and the other models in the catalog; you do not need to sign up with BFL separately.