blackforestlabs/flux-2/flex/text-to-image

Generate accurate, photorealistic images from text with precise color, layout, and typography control, delivering professional consistency and creative flexibility for brand and design workflows.

The size of the generated image. For custom image sizes, you can pass an object with width and height.
The format of the generated image.
The guidance scale to use for the generation.
The number of inference steps to perform.
Whether to expand the prompt using the model's own knowledge.

Discover Flux 2 Flex Image Creation

Developed by Black Forest Labs, Flux 2 Flex is the next evolution in the FLUX.2 text-to-image family, designed to deliver professional-grade precision and creative control. Built by former Stability AI researchers, it brings together flexibility and fidelity for creators who demand accuracy in visual outputs. With enhanced photorealism, precise typography, and multi-reference consistency, Flux 2 Flex redefines how professionals can turn structured prompts into detailed assets. It supports JSON-based controls, hex color accuracy, and 4-megapixel exports for an optimized balance of visual depth and brand integrity. Flux 2 Flex text-to-image generation tool empowers you to create or edit visuals with exact color, layout, and identity consistency. Aimed at designers, marketers, and visual content teams, it lets you transform text prompts into precise, production-quality images. Whether you are making infographics or brand visuals, this text-to-image tool ensures speed, consistency, and creative freedom.

Visual Examples Created With Flux 2 Flex

Flux 2 Flex on X: Creator Highlights and Insights

What makes Flux 2 Flex stand out

Flux 2 Flex is a text-to-image model engineered for production reliability, preserving layout, color accuracy, and typographic legibility while delivering photorealism. It balances prompt adherence with adaptive sampling to keep geometry, materials, and perspective coherent across sizes and aspect ratios. With deterministic seeds, calibrated safety, and predictable guidance behavior, it scales from quick ideation to brand-grade assets without sacrificing consistency or speed. Key capabilities:

  • Flux 2 Flex preserves spatial structure, keeping subject pose, camera lines, and scene layout stable.
  • Flux 2 Flex delivers realistic materials, lighting continuity, and believable shadows suited to product and lifestyle.
  • Flux 2 Flex renders typography reliably, with crisp glyphs and perspective-aware placement for signage and UI.
  • Flux 2 Flex offers tunable guidance_scale and num_inference_steps to balance prompt fidelity, detail, and latency.
  • Flux 2 Flex supports consistent outcomes via seed control, aiding A-B tests and large batch generation.
  • Flexible aspect presets and output_format options enable workflow-ready assets without post-crop or format churn.

Prompting guide for Flux 2 Flex

Start by stating subject, environment, camera intent, lighting, palette, and any text to render. In Flux 2 Flex, choose an image_size preset or pass custom width-height, set guidance_scale to control how strictly the prompt is followed, and use num_inference_steps to trade speed for detail. Enable Magic Prompt for exploration; disable it for strict briefs. Lock a seed for reproducibility, pick jpeg or png per pipeline, and adjust safety_tolerance to match policy. Examples:

  • Flux 2 Flex, square_hd: studio product shot of a matte black wireless earbud on white acrylic, soft top light.
  • landscape_16_9 label design: craft beer can on rustic wood, add "North Coast IPA" in bold sans-serif, centered.
  • Flux 2 Flex localized change: same scene, keep composition, replace text with "Citrus Lager", leave colors unchanged.
  • portrait_4_3 fashion: full-body model, preserve pose, background only to pastel gradient, golden hour rim light.
  • Flux 2 Flex precision layout: bookstore interior, aisle centered, add poster "Summer Sale" upper-right, perspective-matched. Pro tips:
  • Specify what to preserve versus change; in Flux 2 Flex, constraints reduce unintended re-synthesis.
  • Use spatial terms like left, right, foreground, and upper-right quadrant to localize edits.
  • Keep descriptors concise; 3-5 strong adjectives outperform long, competing lists.
  • Iterate by adjusting guidance_scale 0.5 steps and num_inference_steps in small increments.
  • For typography, provide exact text, font family or style, and color; Flux 2 Flex responds best to precise briefs.

Related Playgrounds

Frequently Asked Questions

What is Flux 2 Flex and how does its text-to-image feature work?

Flux 2 Flex is an advanced text-to-image model developed by Black Forest Labs. It allows users to generate professional-quality images from descriptive text prompts, supporting flexible control over style, lighting, and layout.

How is Flux 2 Flex different from earlier Flux versions in text-to-image generation?

Flux 2 Flex improves upon earlier variants by enhancing photorealism, prompt adherence, and typography accuracy in text-to-image outputs, plus it allows up to ten reference images for style or identity consistency.

Is Flux 2 Flex free to use for text-to-image projects?

Flux 2 Flex offers free credits to new users for exploring text-to-image generation, after which use is based on a pay-as-you-go or subscription credit system through the Runcomfy AI playground.

Who are the main users of Flux 2 Flex text-to-image capabilities?

Flux 2 Flex text-to-image tools are best suited for creative professionals, designers, and marketing teams who need brand-accurate visuals, typography work, or consistent imagery across campaigns.

What are the supported inputs and outputs in Flux 2 Flex text-to-image generation?

Flux 2 Flex supports PNG or JPEG input files, outputs lossless PNG images up to 4 megapixels, and processes structured JSON text prompts for text-to-image control and reproducibility.

Does Flux 2 Flex text-to-image support the use of reference images?

Yes, Flux 2 Flex allows up to ten reference images to guide its text-to-image generation, allowing users to maintain character consistency, style transfer, or brand visual fidelity.

What makes Flux 2 Flex stand out among other text-to-image models?

Flux 2 Flex is recognized for its clean typography rendering, precise color matching with hex codes, controllable inference speed, and strong realism in text-to-image synthesis compared to competitors.

How do you access Flux 2 Flex text-to-image capabilities?

Flux 2 Flex can be accessed through the Runcomfy AI playground website, where users can log in, spend credits, and use a browser-based interface to create text-to-image outputs.

Are there any limitations to using Flux 2 Flex for text-to-image generation?

Flux 2 Flex can be slower than other variants due to its fidelity-oriented processing, and it’s optimized for images up to around 4 megapixels in text-to-image mode, which may limit ultra-high-resolution projects.

What kind of quality can be expected from Flux 2 Flex text-to-image results?

Flux 2 Flex delivers sharp, photorealistic images with strong color and detail accuracy, producing some of the most polished text-to-image renders available for professional use.