# FLUX.1 [schnell] > Black Forest Labs' 12 billion parameter distilled image generation model optimized for speed, capable of generating high-quality images in just 4 inference steps ## Quick Reference - Model ID: flux.1-schnell - Creator: Black Forest Labs - Status: active - Family: flux.1 - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Max Resolution: 1024x1024 - Input Modalities: text - Output Modalities: image ## Model Identifiers - Primary Slug: flux.1-schnell ## Dates ## Tags image-generation, text-to-image, fast, open-weights ## Available Providers ### Replicate - Config Key: replicate/flux.1-schnell - Provider Model ID: black-forest-labs/flux-schnell - Pricing: - source: official - currency: USD - components: [{"type" => "output", "metric" => "image", "unit_price" => 0.003}] - source_url: https://replicate.com/black-forest-labs/flux-schnell - effective_at: 2025-12-30 ### Runware - Config Key: runware/flux.1-schnell - Provider Model ID: runware:100@1 - Pricing: - notes: ["Pricing copied from fal.ai - verify with Runware official pricing"] - source: estimated - currency: USD - components: [{"type" => "output", "metric" => "image", "unit_price" => 0.003}] - effective_at: 2026-01-02 ### fal.ai - Config Key: fal/flux.1-schnell - Provider Model ID: fal-ai/flux/schnell - Pricing: - source: official - currency: USD - components: [{"type" => "output", "metric" => "image", "unit_price" => 0.003}] - source_url: https://fal.ai/models/fal-ai/flux/schnell - effective_at: 2025-12-28 ## Image Gallery 2 images available for this model. - Curated examples: 2 - "Cinematic 16:9 wide shot of a high-end, contemporary coffee shop interior at golden hour. The sunlight streams throug..." - "A cozy roadside fruit stand with a chalkboard sign that reads "FRESH PEACHES" in elegant cursive. Golden hour lightin..." ## Example Prompt The following prompt was used to generate an example image in our playground: A cozy roadside fruit stand with a chalkboard sign that reads "FRESH PEACHES" in elegant cursive. Golden hour lighting, crates of vibrant fruit, and a calm capybara sitting quietly in the soft shadows behind the counter. High detail, 4k. ## 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.1-schnell", "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.1-schnell', 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.1-schnell", prompt="A serene mountain landscape at sunset", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview FLUX.1 [schnell] is a 12 billion parameter text-to-image model developed by Black Forest Labs, designed specifically for low-latency image generation. As the distilled version of the FLUX.1 family, it produces high-fidelity visuals in significantly fewer steps than traditional diffusion models. It is an open-weights model that balances large-scale parameter density with extreme inference efficiency. ## Strengths * **Inference Speed:** Capable of generating high-resolution images in as few as 1 to 4 inference steps, making it one of the fastest high-parameter models currently available. * **Text Rendering:** High accuracy in rendering legible, correctly spelled text within generated images, a common failure point for many latent diffusion models. * **Anatomical Precision:** Maintains strong structural integrity in complex subjects, such as human hands and limbs, even at low step counts. * **Prompt Adherence:** Follows complex, multi-part descriptive prompts closely, ensuring that specific spatial relationships and attributes defined in the text are reflected in the output. ## Limitations * **Photorealistic Detail:** While the model is fast, it may lack the fine-grained texture and lighting nuances found in the [pro] or [dev] versions of FLUX.1 which use more inference steps. * **Stylistic Range:** The distillation process can sometimes lead to a slightly more uniform "digital" aesthetic compared to non-distilled models that allow for more creative variance. * **Compositional Fixedness:** Due to the low step count, the model has less "time" to refine compositions during sampling, which can occasionally lead to artifacts in highly crowded scenes. ## Technical Background The model is built on a 12-billion parameter architecture that utilizes flow matching, a generative modeling technique that simplifies the path from noise to data. The [schnell] variant (German for "fast") uses latent adversarial diffusion distillation to compress the capabilities of the larger FLUX.1 base into a regime that requires minimal sampling iterations. This architecture allows it to bypass the traditional requirement of 20-50 steps common in standard diffusion pipelines. ## Best For FLUX.1 [schnell] is ideal for real-time applications, rapid prototyping, and high-volume generation tasks where cost and speed are prioritized over maximum artistic refinement. It is particularly effective for generating UI mockups, social media assets, and iterative design brainstorming. You can experiment with FLUX.1 [schnell] using Lumenfall’s unified API and playground to compare its performance against slower, more intensive image models. ## Frequently Asked Questions ### How much does FLUX.1 [schnell] cost? FLUX.1 [schnell] starts at $0.003 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use FLUX.1 [schnell] via API? You can use FLUX.1 [schnell] through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "flux.1-schnell". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer FLUX.1 [schnell]? FLUX.1 [schnell] is available through Replicate, Runware, and fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider. ### What is the maximum resolution for FLUX.1 [schnell]? FLUX.1 [schnell] supports images up to 1024x1024 resolution. ## Links - Model Page: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell - About: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/about - Providers, Pricing & Performance: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/providers - API Reference: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/api - Benchmarks: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/benchmarks - Use Cases: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/use-cases - Gallery: https://lumenfall.ai/models/black-forest-labs/flux.1-schnell/gallery - Playground: https://lumenfall.ai/playground?model=flux.1-schnell - API Documentation: https://docs.lumenfall.ai