blackforestlabs/flux-2/flex/edit

Create precise, photorealistic visuals from images or text with Flux 2 Flex, offering full control over color, composition, and style for professional design, branding, and marketing workflows.

The prompt to generate an image from.
List of URLs of input images for editing.
The size of the generated image. If auto, the size will be determined by the model. For custom image sizes, width and height can be passed as an object.
The format of the generated image.
The guidance scale to use for the generation.
The number of inference steps to perform.
The seed to use for the generation.
Whether to expand the prompt using the model's own knowledge.

Flux 2 Flex Overview: High-Precision Image Editor

Flux 2 Flex by Black Forest Labs is a high-precision image-to-image generation and editing model built for creators who value full control, accuracy, and quality. As part of the FLUX.2 lineup, it expands capabilities with support for both image-to-image and text-to-image workflows, enabling detailed, consistent, and photorealistic results. You can control inference steps, guidance scale, and color fidelity using hex color codes, while JSON-structured prompts give you creative precision over composition, lighting, and style. Designed for professional visual pipelines, Flux 2 Flex unlocks deeper customization and fidelity across branding, design, and marketing work. Flux 2 Flex image-to-image empowers you to transform or refine visuals with unmatched clarity and color accuracy. Perfect for designers, marketers, and brand creators, it delivers consistently refined output, retaining style and texture integrity—helping you move from concept to polished imagery with precision and ease.

Examples of Image Creation Using Flux 2 Flex

Flux 2 Flex on X: Visual Insights and Updates

What makes Flux 2 Flex stand out

Flux 2 Flex is a high-fidelity image-to-image model built for precise control over color, composition, and style while preserving scene structure. Flux 2 Flex performs targeted, constraint-aware edits that maintain geometry, materials, and lighting, yielding photorealistic outcomes for design, branding, and marketing workflows. Flux 2 Flex adapts to diverse references, aligning palette and mood without drifting from the base frame. Flux 2 Flex minimizes over-synthesis by following spatial intent and respecting subject integrity. Flux 2 Flex also scales from subtle retouching to bold restyling with consistent detail retention. Flux 2 Flex emphasizes predictable behavior across seeds and guidance settings to accelerate iteration. Key capabilities:

  • Structure preservation across pose, layout, depth, and materials.
  • Realistic lighting with coherent shadows, reflections, and perspective.
  • Palette and style transfer from one or multiple references.
  • Localized edits without degrading protected regions.
  • Stable outputs across seeds, guidance, and step counts.

Prompting guide for Flux 2 Flex

Start with a high-quality base image via image_urls and a concise prompt that names the edit and what to keep. Flux 2 Flex responds best to concrete directives, spatial qualifiers, and restrained style descriptors. Flux 2 Flex keeps layout stable when constraints are explicit and references are on-topic. Tune guidance_scale to control adherence, adjust num_inference_steps to trade speed for detail, and set seed for reproducibility. For brand scenarios, Flux 2 Flex can align color and mood to the base reference. Choose image_size and output_format for your pipeline; use enable_prompt_expansion, enable_safety_checker, and safety_tolerance as needed. Examples:

  • Preserve subject and composition; replace background with modern office, soft morning light.
  • Using Flux 2 Flex: remove power lines; keep sky gradients and horizon.
  • Restyle product pack to matte black; retain label typography and reflections.
  • Add a bench to the right of the subject; do not alter skin tones.
  • Transfer warm editorial grade from reference A; keep framing and depth. Pro tips:
  • State what Flux 2 Flex must preserve before changes.
  • Use precise spatial terms: left, background only, upper-right.
  • If Flux 2 Flex drifts, lower guidance or add steps gradually.
  • Iterate with short refinements; avoid conflicting adjectives.
  • Provide clean, cropped references; exclude irrelevant regions.

Related Playgrounds

Frequently Asked Questions

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

Flux 2 Flex is an advanced model by Black Forest Labs designed for both text-to-image and image-to-image generation. The image-to-image function lets users edit or rebuild existing visuals with high precision and creative control, producing detailed, photorealistic, or stylized outputs.

Who should use Flux 2 Flex for image-to-image projects?

Flux 2 Flex is ideal for professional creators, designers, and marketing teams who need consistent brand visuals and detailed image-to-image editing. It’s especially useful for projects requiring precise typography, color accuracy, and style consistency.

How do I access Flux 2 Flex and start doing image-to-image generation?

You can access Flux 2 Flex via Runcomfy’s AI playground after logging in. Once you have an account, you can start using its image-to-image capabilities by uploading reference images or using structured text prompts to create or edit images.

Is Flux 2 Flex free or do I need credits for image-to-image editing?

Flux 2 Flex can be used through Runcomfy’s playground, where new users receive free trial credits. Continued image-to-image generation requires spending credits according to the site’s usage policy outlined in the Generation section.

What makes Flux 2 Flex different from other image-to-image AI models?

Flux 2 Flex stands out with its precise color matching (including hex control), multi-image referencing, structured JSON prompting, and exceptional text rendering. Compared to other image-to-image tools, it provides finer creative control and higher output fidelity.

What input and output formats does Flux 2 Flex support for image-to-image work?

Flux 2 Flex supports common formats like JPEG and PNG as input, and outputs high-resolution PNG files. This ensures compatibility and quality when doing image-to-image creations or edits.

How does Flux 2 Flex ensure quality in image-to-image generation?

Flux 2 Flex allows control over inference steps and guidance scale, which lets users balance speed and quality. Its image-to-image mode excels at photorealism, detailed textures, and maintaining visual consistency across assets.

Are there any limitations of Flux 2 Flex when performing image-to-image tasks?

While Flux 2 Flex delivers outstanding detail and control in image-to-image generation, it may have higher latency than lighter models. It’s optimized for quality over speed and works best when avoiding negative prompts.

Can I use Flux 2 Flex on mobile devices for image-to-image editing?

Yes, the Flux 2 Flex interface available on Runcomfy’s website works well on mobile browsers, allowing you to perform image-to-image editing and generation conveniently from your phone or tablet.