# 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 - Supported Modes: Text to Image, Image Edit ## API Parameters The compiled parameter schema for this model is available via the API: `GET /v1/models/flux.2-dev-flash?schema=true`. ### Core Parameters - `prompt` (string) — REQUIRED: Edit instruction for the image. Modes: Image Edit, Text to Image - `seed` (integer): Random seed for reproducibility. Modes: Image Edit, Text to Image ### Size & Layout - `size` (string): Image dimensions as WxH pixels (e.g. "1024x1024") or aspect ratio (e.g. "16:9"). Modes: Image Edit, Text to Image - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1"). Modes: Image Edit, Text to Image - `resolution` (string): Output resolution tier (e.g. "1K", "4K"). Modes: Image Edit, Text to Image ### Media Inputs - `image` (file) — REQUIRED: Input image(s) to edit. Modes: Image Edit ### Output & Format - `response_format` (string): How to return the image. Default: url. Values: url, b64_json. Modes: Image Edit, Text to Image - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif. Modes: Image Edit, Text to Image - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF). Modes: Image Edit, Text to Image - `n` (integer): Number of images to generate. Default: 1. Modes: Image Edit, Text to Image ### Additional Parameters - `cfg_scale` (number): Classifier-free guidance scale — higher values stick more closely to the prompt. Modes: Image Edit, Text to Image - `enable_prompt_expansion` (boolean): If set to true, the prompt will be expanded for better results.. Modes: Image Edit, Text to Image. Only available via fal - `enable_safety_checker` (boolean): If set to true, the safety checker will be enabled.. Modes: Image Edit, Text to Image. Only available via fal - `sync_mode` (boolean): If `True`, the media will be returned as a data URI and the output data won't be available in the request history.. Modes: Image Edit, Text to Image. Only available via fal ## 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-edit - Provider Model ID: fal-ai/flux-2/flash/edit - Pricing: $0.0050/megapixel, $0.0050/megapixel - Note: Resolution is rounded up to the next megapixel, separately for each reference image and the generated image - Note: 1 megapixel = 1024x1024 pixels - Note: Each reference image is counted separately (minimum 1 MP each) - Note: Images exceeding 4 megapixels are resized to 4 megapixels - Source: https://fal.ai/models/fal-ai/flux-2/flash ### fal.ai - Config Key: fal/flux.2-dev-flash - Provider Model ID: fal-ai/flux-2/flash - Pricing: $0.0050/megapixel - Source: https://fal.ai/models/fal-ai/flux-2/flash ## Performance Metrics Provider performance over the last 30 days. ### fal - Median Generation Time (p50): 4500ms - 95th Percentile Generation Time (p95): 12063ms - Average Generation Time: 5303ms - Success Rate: 100.0% - Total Requests: 92 - Time to First Byte (p50): 3940ms - Time to First Byte (p95): 10598ms ## Arena Benchmarks ### Intricate Floral Mandala - Elo: 1239 - Record: 15W / 5L / 3T (23 battles) - Rank: #4 of 15 ### Geometric Composition - Elo: 1217 - Record: 17W / 6L / 3T (26 battles) - Rank: #4 of 22 ### Isometric Miniature Diorama Scenes - Elo: 1208 - Record: 11W / 7L / 2T (20 battles) - Rank: #10 of 21 ### Adorable Baby Animals in Sunny Meadow - Elo: 1200 - Record: 10W / 7L / 0T (17 battles) - Rank: #6 of 25 ### Fantasy Warrior - Elo: 1177 - Record: 12W / 5L / 1T (18 battles) - Rank: #12 of 21 ### Heroic Super Hero Portrait - Elo: 1173 - Record: 7W / 5L / 2T (14 battles) - Rank: #12 of 21 ### Apollo 11: Journey to Tranquility - Elo: 1170 - Record: 8W / 8L / 3T (19 battles) - Rank: #9 of 19 ### Candid Street Photography - Elo: 1127 - Record: 4W / 7L / 1T (12 battles) - Rank: #21 of 24 ### 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 23 - Elo: 1314 - Record: 8W / 8L / 3T (19 battles) - Win Rate: 42.1% ### Portrait (Text-to-Image) - Rank: #4 of 21 - Elo: 1225 - Record: 12W / 5L / 1T (18 battles) - Win Rate: 66.7% ### Photorealism (Text-to-Image) - Rank: #20 of 23 - Elo: 1133 - Record: 4W / 7L / 1T (12 battles) - Win Rate: 33.3% ## Image Gallery 13 images available for this model. Browse all at https://lumenfall.ai/models/fal/flux.2-dev-flash/gallery ### Curated Examples - [A wide, cinematic shot of a high-end, contemporary boutique storefront at twilight. The shop's fa...](https://assets.lumenfall.ai/lBLzKUOk5GcQ_JAHG1s9wTDXK2CIEIE2S-_uESAhff4/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/giv0du3pikezb9ntwe0f4hd27kwv@jpeg) - [Cinematic wide shot of a weathered vintage wooden workbench in an artist's sunlit studio. A heavy...](https://assets.lumenfall.ai/sHkySxO94J6USNBI1X43w7lxRIaijjy7Piy6a5Qc65w/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/6v7laodxwhj5st76n2yd65g2z46s@jpeg) - [A hyper-realistic close-up of an elderly craftsman's weathered hands meticulously carving an intr...](https://assets.lumenfall.ai/f5FUcIQlGfUXtCHvqEZVFqlf4pU8rrIg5y-0fCnfGmk/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/bmvlzpnsyx30d44xrzovofm6mcgw@jpeg) - [A cozy street corner bakery with a large chalkboard sign that says "FRESH SOURDOUGH TODAY" in ele...](https://assets.lumenfall.ai/i5PICLUo1ExqU39-eaR4pZfPmf9oLhQVvjXCSngalnQ/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/dlphcc5s0dsdk7lw673rz4077hce@jpeg) ### Arena Competition Results - [Intricate Floral Mandala](https://assets.lumenfall.ai/77I16MzzltomaV4afcHGudKVueBQ5tOYNAFItZhZ6jw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/5fl05u5doq1woooe29eu0ts51va9@jpeg): #4 of 15 (Elo 1239) - [Geometric Composition](https://assets.lumenfall.ai/GzE_S1-5hggisER1SyCXp3XjSZALb2lKmnfAh5EYAvo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/8atgkxmq0kshq795zheba77dg8ca@jpeg): #4 of 22 (Elo 1217) - [Isometric Miniature Diorama Scenes](https://assets.lumenfall.ai/sJ7cMWhmWRe3fiSlsOjpVU1MJ4EhwWjJAYy6JnuWAfo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/4lvzqdy28pida1auh7fenq9uu4dt@jpeg): #10 of 21 (Elo 1208) - [Adorable Baby Animals in Sunny Meadow](https://assets.lumenfall.ai/Dv5fORvNatO3-eGIMN3P9raez04NvR0qSAOA5hGUXoQ/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/di1vge6azjr7n1tulwipjqgofql3@jpeg): #6 of 25 (Elo 1200) - [Fantasy Warrior](https://assets.lumenfall.ai/eTh_9T3-aZvVyixt7uJu_lcBJp90ZE8H_mI_NyyMvTo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/eyjmx8irtxjyo1hvm8v845h69hfk@jpeg): #12 of 21 (Elo 1177) - [Heroic Super Hero Portrait](https://assets.lumenfall.ai/KdGLfJhqpxTIQodoNkoAYGhjJd_ulw7Rh1odN4II6Hw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/8efqq4mhskhpo04s58e33nwldzwz@jpeg): #12 of 21 (Elo 1173) - [Apollo 11: Journey to Tranquility](https://assets.lumenfall.ai/9Zn15J1bt5ciRbeG_QMeHSN5yOhEU4iu2ndNQq64F-M/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/g4p358nqagnaz95lmmwwmky1s3vy@jpeg): #9 of 19 (Elo 1170) - [Candid Street Photography](https://assets.lumenfall.ai/ho9hGyMB6ttRlFnzF3eIY1YqKUIXGN2VsyKpN82X01o/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/wtfl023sopmij083fkcw23iznw6o@jpeg): #21 of 24 (Elo 1127) - [Fantasy Warrior](https://assets.lumenfall.ai/9fGMHmm19t1sjz6WexdGc1m_yZuwobvCpJtot_GVUgQ/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/ijfmam5es0e70q38kov7ibsc1xbb@jpeg): #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 (/v1/images/generations) #### 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": "", "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: '', 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="", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ### Image Edit (/v1/images/edits) #### 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