# 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: Text prompt for image generation. Modes: Text to Image, Image Edit - `seed` (integer): Random seed for reproducibility. Modes: Text to Image, Image Edit ### Size & Layout - `size` (string): Image dimensions as WxH pixels (e.g. "1024x1024") or aspect ratio (e.g. "16:9"). Modes: Text to Image, Image Edit - `aspect_ratio` (string): Aspect ratio of the output image (e.g. "16:9", "1:1"). Modes: Text to Image, Image Edit - `resolution` (string): Output resolution tier (e.g. "1K", "4K"). Modes: Text to Image, Image Edit ### 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: Text to Image, Image Edit - `output_format` (string): Output image format. Values: png, jpeg, gif, webp, avif. Modes: Text to Image, Image Edit - `output_compression` (integer): Compression level for lossy formats (JPEG, WebP, AVIF). Modes: Text to Image, Image Edit - `n` (integer): Number of images to generate. Default: 1. Modes: Text to Image, Image Edit ### Additional Parameters - `cfg_scale` (number): Classifier-free guidance scale — higher values stick more closely to the prompt. Modes: Text to Image, Image Edit - `prompt_enhancement` (string): Whether an LLM rewrites/expands the prompt before generation (off, on). Values: off, on. Modes: Text to Image, Image Edit - `enable_safety_checker` (boolean): If set to true, the safety checker will be enabled.. Modes: Text to Image, Image Edit. 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: Text to Image, Image Edit. 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 - Provider Model ID: fal-ai/flux-2/flash - Pricing: $0.0050/megapixel - Source: https://fal.ai/models/fal-ai/flux-2/flash ### 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 ## Arena Benchmarks ### Geometric Composition - Elo: 1277 - Record: 28W / 7L / 3T (38 battles) - Rank: #2 of 70 ### Intricate Floral Mandala - Elo: 1239 - Record: 15W / 5L / 3T (23 battles) - Rank: #5 of 15 ### Candid Street Photography - Elo: 1232 - Record: 9W / 7L / 1T (17 battles) - Rank: #5 of 68 ### Isometric Miniature Diorama Scenes - Elo: 1223 - Record: 13W / 9L / 2T (24 battles) - Rank: #12 of 72 ### Apollo 11: Journey to Tranquility - Elo: 1216 - Record: 15W / 12L / 4T (31 battles) - Rank: #8 of 70 ### Adorable Baby Animals in Sunny Meadow - Elo: 1213 - Record: 13W / 9L / 0T (22 battles) - Rank: #12 of 72 ### Heroic Super Hero Portrait - Elo: 1204 - Record: 8W / 5L / 2T (15 battles) - Rank: #8 of 21 ### Fantasy Warrior - Elo: 1197 - Record: 16W / 6L / 1T (23 battles) - Rank: #15 of 71 ### Chalkboard Menu - Elo: 1165 - Record: 4W / 0L / 0T (4 battles) - Rank: #10 of 69 ### The Capybara Taxi Driver - Elo: 1137 - Record: 3W / 2L / 0T (5 battles) - Rank: #15 of 69 ### Fantasy Warrior - Elo: 1079 - Record: 2W / 1L / 3T (6 battles) - Rank: #6 of 14 ## Use Cases & Category Performance ### Product, Branding & Commercial (Text-to-Image) - Rank: #1 of 61 - Elo: 1308 - Record: 22W / 13L / 4T (39 battles) - Win Rate: 56.4% ### Photorealism (Text-to-Image) - Rank: #3 of 62 - Elo: 1236 - Record: 76W / 34L / 6T (116 battles) - Win Rate: 65.5% ### Creativity (Text-to-Image) - Rank: #5 of 62 - Elo: 1255 - Record: 47W / 31L / 8T (86 battles) - Win Rate: 54.7% ### Aesthetics (Text-to-Image) - Rank: #6 of 62 - Elo: 1263 - Record: 87W / 44L / 8T (139 battles) - Win Rate: 62.6% ### 3D Imaging & Modeling (Text-to-Image) - Rank: #5 of 45 - Elo: 1252 - Record: 41W / 16L / 5T (62 battles) - Win Rate: 66.1% ### Text Rendering (Text-to-Image) - Rank: #7 of 61 - Elo: 1247 - Record: 35W / 22L / 6T (63 battles) - Win Rate: 55.6% ### Prompt Adherence (Text-to-Image) - Rank: #7 of 61 - Elo: 1261 - Record: 78W / 41L / 9T (128 battles) - Win Rate: 60.9% ### Portraits (Text-to-Image) - Rank: #5 of 29 - Elo: 1232 - Record: 18W / 7L / 2T (27 battles) - Win Rate: 66.7% ### Cartoon, Anime & Fantasy (Text-to-Image) - Rank: #5 of 29 - Elo: 1232 - Record: 18W / 7L / 2T (27 battles) - Win Rate: 66.7% ### Prompt Adherence (Image Editing) - Rank: #19 of 24 - Elo: 1143 - Record: 2W / 2L / 0T (4 battles) - Win Rate: 50.0% ### Preservation (Image Editing) - Rank: #26 of 33 - Elo: 1136 - Record: 3W / 2L / 0T (5 battles) - Win Rate: 60.0% ### Art (Text-to-Image) - Rank: #28 of 31 - Elo: 1073 - Record: 1W / 3L / 0T (4 battles) - Win Rate: 25.0% ## Image Gallery 15 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 - [Geometric Composition](https://assets.lumenfall.ai/GzE_S1-5hggisER1SyCXp3XjSZALb2lKmnfAh5EYAvo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/8atgkxmq0kshq795zheba77dg8ca@jpeg): #2 of 70 (Elo 1277) - [Intricate Floral Mandala](https://assets.lumenfall.ai/77I16MzzltomaV4afcHGudKVueBQ5tOYNAFItZhZ6jw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/5fl05u5doq1woooe29eu0ts51va9@jpeg): #5 of 15 (Elo 1239) - [Candid Street Photography](https://assets.lumenfall.ai/upi47xKDbM85bMMCcUhPE7mU8n9CCeC0vF9A1HZfito/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/9ksk49tugd39os15v3h7grznz99y@jpeg): #5 of 68 (Elo 1232) - [Isometric Miniature Diorama Scenes](https://assets.lumenfall.ai/sJ7cMWhmWRe3fiSlsOjpVU1MJ4EhwWjJAYy6JnuWAfo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/4lvzqdy28pida1auh7fenq9uu4dt@jpeg): #12 of 72 (Elo 1223) - [Apollo 11: Journey to Tranquility](https://assets.lumenfall.ai/3g8ZgqfKqDbNseJP9gWoqNPCA9DzmQMkqjeBxbGZw-Y/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/w52gq6us5go02nn6nhu9vp0zd3rb@jpeg): #8 of 70 (Elo 1216) - [Adorable Baby Animals in Sunny Meadow](https://assets.lumenfall.ai/P1qpTobacl827lyqDBp4GW8s1qm6-_yJsUZWWra2fiI/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/i6bnf019cssky7zbzbomx3ouxs72@jpeg): #12 of 72 (Elo 1213) - [Heroic Super Hero Portrait](https://assets.lumenfall.ai/KdGLfJhqpxTIQodoNkoAYGhjJd_ulw7Rh1odN4II6Hw/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/8efqq4mhskhpo04s58e33nwldzwz@jpeg): #8 of 21 (Elo 1204) - [Fantasy Warrior](https://assets.lumenfall.ai/eTh_9T3-aZvVyixt7uJu_lcBJp90ZE8H_mI_NyyMvTo/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/eyjmx8irtxjyo1hvm8v845h69hfk@jpeg): #15 of 71 (Elo 1197) - [Chalkboard Menu](https://assets.lumenfall.ai/6g3db7aYS4eSbFvftvtwPnO5cHUdRldOzci5KjiDRpQ/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/0qe1wzu7hkjnxznm9qrzue4npzi4@jpeg): #10 of 69 (Elo 1165) - [The Capybara Taxi Driver](https://assets.lumenfall.ai/W8ZNgdjjcugGQlFEYRjhiO-llseZD499DP32oK5hZb0/rs:fit:1500:1500/plain/gs://lumenfall-prod-assets/19p070aggrztpvhp5qcnx46pc7uc@jpeg): #15 of 69 (Elo 1137) - [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/models/fal/flux.2-dev-flash/playground - API Documentation: https://docs.lumenfall.ai