Runflow
Black Forest Labs

FLUX 2 Flex API

FLUX 2 Flex by Black Forest Labs — adjustable inference steps and guidance scale for fine control. Enhanced text rendering. $0.05/MP.

flux-2-flex paramsRectified Flow Transformer v2
Updated March 2026·Early access
Price
$0.05/MP
Per megapixel, input + output
Cold Start
5–10s
Not billed, handled by Runflow
Quality Score
Coming soon
Sentinel benchmarks in progress
Category
Image Generation
text-to-image

FLUX 2 model family by Black Forest Labs

Multiple FLUX 2 variants for different quality, speed, and control trade-offs — all on the same Runflow API.

FLUX 2 [pro]

Pro

Production-grade — zero-config, automatic prompt upsampling, $0.03/MP

FLUX 2 Flex

This model

Adjustable inference steps and guidance scale for fine control, $0.05/MP

FLUX 2 Max

Premium

Maximum quality variant — highest fidelity in the FLUX 2 family

FLUX 2 Turbo

Speed

Speed-optimised — lowest latency for real-time and preview workflows

Benchmarked for your use case

Every model on Runflow is scored per vertical — not generic leaderboard numbers. Scores come from domain-expert evaluation on real production prompts.

Use CaseAssessmentNotes
PortraitStrongFine-tunable inference for optimal skin detail and lighting
FashionStrongGood style versatility across artistic and photographic domains
ProductStrongAccurate rendering with tuneable quality/speed trade-off
CreativeStrongEnhanced typography and text rendering accuracy

Per-megapixel pricing

QualityOutput SizeMegapixelsPrice
512 × 5120.26 MP → rounds to 1$0.05
1024 × 10241 MP$0.05
1920 × 1080~2 MP$0.10

$0.05 per megapixel on both input and output, rounded up to nearest megapixel. Cold starts (5–10s) not billed.

API Parameters

Full parameter reference for the flux-2-flex model endpoint.

ParameterTypeDescription
promptstringText description of the image to generate.
image_sizeobject | stringOutput size. Presets: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9. Or custom {width, height}. Default: landscape_4_3.
guidance_scalefloatHow closely the model follows the prompt. Range: 1.5–10. Default: 3.5.
num_inference_stepsintegerNumber of denoising steps. Range: 2–50. Default: 28. 10–20 for drafts, 40–50 for final quality.
output_formatstringOutput format. Options: "jpeg", "png". Default: "jpeg".
safety_tolerancestringContent moderation strictness. 1 = most strict, 5 = most permissive. Default: 2.
enable_safety_checkerbooleanEnable NSFW content filtering. Default: true.
seedintegerRandom seed for reproducible outputs.
sync_modebooleanReturn media as data URI without storing in request history. Default: false.

Technical Specifications

ArchitectureRectified Flow Transformer v2
Guidance Scale3.5 (default) · 1.5–10 range
Inference Steps28 (default) · 2–50 range · 10–20 drafts, 40–50 final quality
Aspect Ratiossquare_hd · square · portrait_4_3 · portrait_16_9 · landscape_4_3 · landscape_16_9
Output FormatsJPEG · PNG
Text RenderingEnhanced typography and text accuracy
LicenseCommercial

Why run FLUX 2 Flex on the Runflow API

Flux AI models are available on many platforms. Here's what makes the Runflow image generation API different.

Full inference control

Adjust guidance_scale (1.5–10) and num_inference_steps (2–50) to fine-tune the quality/speed trade-off per request.

Enhanced text rendering

FLUX 2 Flex has improved typography and text rendering accuracy — ideal for generating images with legible signage, labels, or overlays.

Step-based workflow

Use 10–20 steps for fast prototyping and previews, 25–28 for balanced production runs, and 40–50 for maximum fidelity final outputs.

Advanced prompt features

Supports JSON-structured prompts for granular scene control, HEX colour codes, and @ symbol image referencing for multi-image workflows.

Sentinel quality scoring

Every output is scored by Runflow's Sentinel system before delivery, catching low-quality or off-prompt results automatically.

Built for these workflows

Real production use cases teams run on FLUX 2 Flex today.

Product marketing with text overlays

Finalise ad creatives with promotional copy, price tags, and CTAs baked directly into the image — preserving fine product details underneath.

Film titles, credits & static assets

Generate text-heavy visuals like title cards, credit sequences, and poster typography where every letterform needs to be sharp and legible.

Creative design platforms — text tier

Offer a specialised text-placement model as part of a pro or premium subscription tier, handling higher quotas for users who need reliable typography.

Daily-rotating food & deal promotions

Swap out offer copy, prices, and language on restaurant and delivery ad templates daily — instant localisation without a designer in the loop.

Explore other models

Same API, different strengths. Switch models with one parameter change.

Frequently asked questions

Resources

Start generating images with FLUX 2 Flex

Get API access in minutes. No GPU setup, no infrastructure to manage. Pair with Sentinel to control the quality of every AI-generated image you ship.