# FLUX.2 [dev] Flash > Fast distilled version of Black Forest Labs' FLUX.2 [dev] optimized for speed and cost efficiency. ## Quick Reference - Model ID: flux.2-dev-flash - Creator: fal - Status: active - Family: flux.2 - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Resolution: 2048x2048 - Max Input Images: 4 - Input Modalities: text, image - Output Modalities: image ## Model Identifiers - Primary Slug: flux.2-dev-flash ## Dates - Released: December 2025 ## Tags image-generation, text-to-image, open-weights, non-commercial ## Available Providers ### fal.ai - Config Key: fal/flux.2-dev-flash - Provider Model ID: fal-ai/flux-2/flash - Pricing: - source: official - currency: USD - components: [{"type" => "input", "metric" => "megapixel", "unit_price" => 0.005}, {"type" => "output", "metric" => "megapixel", "unit_price" => 0.005}] - source_url: https://fal.ai/models/fal-ai/flux-2/flash - effective_at: 2025-12-30 ## Performance Metrics Provider performance over the last 30 days. ### fal - Median Generation Time (p50): 2225ms - 95th Percentile Generation Time (p95): 3971ms - Average Generation Time: 2440ms - Success Rate: 100.0% - Total Requests: 15 - Time to First Byte (p50): 2225ms - Time to First Byte (p95): 3753ms ## Arena Benchmarks ### Geometric Composition - Elo: 1217 - Record: 17W / 5L / 2T (24 battles) - Rank: #3 of 22 ### Heroic Super Hero Portrait - Elo: 1207 - Record: 5W / 4L / 0T (9 battles) - Rank: #5 of 19 ### Intricate Floral Mandala - Elo: 1177 - Record: 12W / 4L / 3T (19 battles) - Rank: #8 of 15 ### Apollo 11: Journey to Tranquility - Elo: 1174 - Record: 6W / 4L / 3T (13 battles) - Rank: #8 of 19 ### Fantasy Warrior - Elo: 1171 - Record: 11W / 5L / 1T (17 battles) - Rank: #11 of 19 ### Adorable Baby Animals in Sunny Meadow - Elo: 1164 - Record: 9W / 6L / 0T (15 battles) - Rank: #9 of 23 ### Isometric Miniature Diorama Scenes - Elo: 1161 - Record: 8W / 5L / 2T (15 battles) - Rank: #12 of 19 ### Candid Street Photography - Elo: 1106 - Record: 3W / 6L / 1T (10 battles) - Rank: #21 of 22 ### Fantasy Warrior - Elo: 1079 - Record: 2W / 1L / 3T (6 battles) - Rank: #6 of 14 ## Use Cases & Category Performance ### Text Rendering (Text-to-Image) - Rank: #1 of 21 - Elo: 1317 - Record: 6W / 4L / 3T (13 battles) - Win Rate: 46.2% ### Portrait (Text-to-Image) - Rank: #5 of 19 - Elo: 1216 - Record: 11W / 5L / 1T (17 battles) - Win Rate: 64.7% ### Photorealism (Text-to-Image) - Rank: #21 of 22 - Elo: 1120 - Record: 3W / 6L / 1T (10 battles) - Win Rate: 30.0% ## Image Gallery 13 images available for this model. - Curated examples: 4 - "A wide, cinematic shot of a high-end, contemporary boutique storefront at twilight. The shop's facade features large ..." - "Cinematic wide shot of a weathered vintage wooden workbench in an artist's sunlit studio. A heavy, tactile linen-boun..." - "A hyper-realistic close-up of an elderly craftsman's weathered hands meticulously carving an intricate cherry blossom..." - "A cozy street corner bakery with a large chalkboard sign that says "FRESH SOURDOUGH TODAY" in elegant, perfect chalk ..." - Competition results: 9 - Geometric Composition: #3 of 22 (Elo 1217) - Heroic Super Hero Portrait: #5 of 19 (Elo 1207) - Intricate Floral Mandala: #8 of 15 (Elo 1177) - Apollo 11: Journey to Tranquility: #8 of 19 (Elo 1174) - Fantasy Warrior: #11 of 19 (Elo 1171) - Adorable Baby Animals in Sunny Meadow: #9 of 23 (Elo 1164) - Isometric Miniature Diorama Scenes: #12 of 19 (Elo 1161) - Candid Street Photography: #21 of 22 (Elo 1106) - Fantasy Warrior: #6 of 14 (Elo 1079) ## Example Prompt The following prompt was used to generate an example image in our playground: A cozy street corner bakery with a large chalkboard sign that says "FRESH SOURDOUGH TODAY" in elegant, perfect chalk lettering. A customer enters the door, while a capybara sits calmly by the flower pot outside, wearing a tiny red bowtie. ## Code Examples ### Text to Image (Generation) #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/generations \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "flux.2-dev-flash", "prompt": "A serene mountain landscape at sunset", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'flux.2-dev-flash', prompt: 'A serene mountain landscape at sunset', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="flux.2-dev-flash", prompt="A serene mountain landscape at sunset", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ### Image Editing #### cURL curl -X POST \ https://api.lumenfall.ai/openai/v1/images/edits \ -H "Authorization: Bearer $LUMENFALL_API_KEY" \ -F "model=flux.2-dev-flash" \ -F "image=@source.png" \ -F "prompt=Add a starry night sky to this image" \ -F "size=1024x1024" # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; import fs from 'fs'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.edit({ model: 'flux.2-dev-flash', image: fs.createReadStream('source.png'), prompt: 'Add a starry night sky to this image', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.edit( model="flux.2-dev-flash", image=open("source.png", "rb"), prompt="Add a starry night sky to this image", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview FLUX.2 [dev] Flash is a distilled, high-speed variant of Black Forest Labs' FLUX.2 [dev] model, developed by fal. It is a text-to-image and image-to-image model architected to provide high-fidelity visual output with significantly lower latency and inference costs than the standard base model. By utilizing distillation techniques, it maintains the structural intelligence of the FLUX.2 architecture while requiring fewer sampling steps to produce a final image. ## Strengths * **Inference Speed:** Significantly reduces generation time compared to the standard FLUX.2 [dev] model, making it suitable for near real-time applications and rapid prototyping. * **Text Rendering:** Retains the core architectural ability to render complex, legible text within generated images with high accuracy. * **Prompt Adherence:** Shows strong alignment with complex, multi-layered natural language prompts, following specific instructions regarding composition and object placement. * **Cost Efficiency:** With a starting price of $0.005, it offers a more economical pathway for developers to run high-volume image generation workloads without a proportional increase in compute spend. ## Limitations * **Non-Commercial License:** Distributed under a non-commercial license, which restricts its use to research, hobbyist projects, and personal experimentation rather than production-grade commercial products. * **Fine Detail Compression:** As a distilled model, it may exhibit slightly less texture nuance or micro-detail in extremely complex scenes compared to the full-parameter version of FLUX.2 [dev]. * **Step Sensitivity:** While optimized for fewer steps, pushing the model to extremely low step counts (e.g., 1-2 steps) may result in occasional artifacts not present in the standard dev model. ## Technical Background FLUX.2 [dev] Flash belongs to the FLUX.2 family of flow-matching transformer models. It employs a distillation process designed to compress the sampling trajectory, allowing the model to achieve convergence in a fraction of the iterations required by the original teacher model. This approach prioritizes computational efficiency while preserving the underlying latent representation space established by Black Forest Labs. ## Best For This model is ideal for developers building interactive creative tools, rapid ideation workflows, or research projects where low latency is critical. It is particularly effective for generating UI mockups, social media assets, or storyboard frames where fast iteration is more valuable than maximum-parameter rendering. FLUX.2 [dev] Flash is available for testing and integration through Lumenfall’s unified API and interactive playground. ## Frequently Asked Questions ### How much does FLUX.2 [dev] Flash cost? FLUX.2 [dev] Flash starts at $0.005 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use FLUX.2 [dev] Flash via API? You can use FLUX.2 [dev] Flash through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "flux.2-dev-flash". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer FLUX.2 [dev] Flash? FLUX.2 [dev] Flash is available through fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider. ### What is the maximum resolution for FLUX.2 [dev] Flash? FLUX.2 [dev] Flash supports images up to 2048x2048 resolution. ## Links - Model Page: https://lumenfall.ai/models/fal/flux.2-dev-flash - About: https://lumenfall.ai/models/fal/flux.2-dev-flash/about - Providers, Pricing & Performance: https://lumenfall.ai/models/fal/flux.2-dev-flash/providers - API Reference: https://lumenfall.ai/models/fal/flux.2-dev-flash/api - Benchmarks: https://lumenfall.ai/models/fal/flux.2-dev-flash/benchmarks - Use Cases: https://lumenfall.ai/models/fal/flux.2-dev-flash/use-cases - Gallery: https://lumenfall.ai/models/fal/flux.2-dev-flash/gallery - Playground: https://lumenfall.ai/playground?model=flux.2-dev-flash - API Documentation: https://docs.lumenfall.ai