Notice: MAGI 2 launch limited-time 20% off, covering text-to-video, image-to-video, and reference-to-video across the board. Try it now
Notice: Seed Audio 1.5 launch limited-time 20% off, covering text-to-audio, video dubbing, audio track separation, and video translation across the board. Try it now
Notice: HeyGen Avatar 6 Turbo is 20% off for a limited time, and all three video pipelines are eligible.Try it now
Notice: Midjourney Niji 8 is now available, 20% off · Create now
Notice: Gemini 3.8 Flash TTS launch limited-time 20% off, with both conversational speech synthesis lines included · Try it now
Notice: FLUX 3.1 is live at 20% off · Create now
Notice: Hunyuan Image 3.0 launch limited-time 20% off, for both text-to-image and instruction-based editing · Try it now
Notice: Seed Audio 1.0 launch limited-time 20% off, text-to-speech billed per minute · Try it now
Notice: Limited-time 20% off on the new Eleven v4 and v4 Turbo, text-to-speech included · Try it now
Announcement 1 of 9
21:9 high-key wide composition: on the right, floating translucent glass cards layer with prismatic light bands; the largest glass panel has the glowing three-dimensional inset text flux-3.1, while the left side is a large area of soft-light negative space; a cream base with ice blue, coral pink, and lavender, used for the top hero of the flux-3.1 details page.

Black Forest Labs

FLUX 3.1

flux-3.1/edit-image

Black Forest Labs' FLUX 3.1 image models, available in Quality and Fast tiers, with separate pipelines for text-to-image and editing. Supports 1K, 2K, and native 4K, and editing accepts up to 10 reference images.

Try flux-3.1/edit-image

Input

Output

Fill in the parameters and run — results show up here.

Pricing

FLUX 3.1 launch: 20% off 20% OFF · Ends 2026-12-12 View deal

flux-3.1/edit-image per image

Specifications Unit Price
1K $0.0429 $0.03432
2K $0.0858 $0.06864
4K $0.400 $0.320

Positioning Overview

Designed for creators and developers who need to modify existing images while preserving the original image structure: provide an editing instruction along with 1 to 10 HTTPS reference images, and the model executes the instruction on the image to produce a static image. You can choose one of three output resolutions—1k, 2k, or 4k—with 1k as the default; choose between auto and a variety of fixed aspect ratios; and select jpeg or png as the output format. The content moderation tolerance is set with an integer from 0 to 6, and automatic prompt expansion can be enabled as needed. It is well suited for iterative fine-tuning work in which reference images anchor the editing scope.

Key Highlights

  • Reference-image-driven editing — Submit 1 to 10 HTTPS image addresses per request as references, and the model modifies the image based on them rather than generating from scratch from text alone.
  • Output specifications set per request — Each request selects one of 1k, 2k, or 4k, one of auto and a variety of fixed aspect ratios, and output in jpeg or png.
  • Optional automatic prompt expansion — When enabled, brief editing instructions are expanded into more complete descriptions, reducing the need to add details manually; it is disabled by default, and can remain off when instructions are already specific.

Capability Description

  • Multi-reference instruction editing: Submit 1 to 10 HTTPS image addresses plus an editing instruction, and the model adjusts the image according to the instruction; suited to modifying content while preserving the subject or composition, and it is recommended to state the areas to change and the areas to preserve in the instruction.
  • Resolution and aspect ratio selection: Each request selects one of three output resolutions—1k, 2k, or 4k—and specifies an aspect ratio, with 1k and auto as defaults; auto is decided by the model, and ratios such as 2:1, 16:9, 1:1, and 9:16 can also be selected.
  • Output format and moderation adjustment: Output can be jpeg or png; the content moderation tolerance is set with an integer from 0 to 6, where higher values are more permissive, with a default of 2, making it easy to control generation boundaries per scenario.
  • Automatic prompt expansion: When prompt expansion is enabled, the system supplements brief editing instructions into more complete descriptions before executing the edit, which is suitable when instructions are relatively brief; it is disabled by default, and keeping it off when instructions are already specific enough makes results easier to control.

Use Cases

  • Changing backgrounds in real product photos — E-commerce operators use a real product photo as the primary reference image and instruct the replacement or adjustment of the background; the primary image carries the product subject, while the other reference images can provide the target background or color scheme cues. After output, check whether the outer contour and original cast shadows remain stable, then select the aspect ratio and resolution according to platform requirements.
  • Adjusting color schemes of material samples — Designers use a material sample as the primary reference image and modify the color scheme with instructions, while the other reference images indicate the source of the target tones. After output, check the texture direction and seam positions, confirm that preserved areas show no unexpected changes, and then choose jpeg or png for layout.
  • Changing the light direction of existing illustrations — Illustrators use an existing illustration as the primary reference image and describe changes in light direction with instructions, while the other reference images can indicate the light direction. After output, check whether the light-to-dark transitions and shadow directions match the instructions and whether the contours of preserved areas are maintained, then use it for layout or review.

Limitations and Selection Advice

Each request must provide at least 1 reference image, and image addresses must be HTTPS links, with a maximum of 10; the editing instruction is required and can be up to 4000 characters. The output resolution must be one of 1k, 2k, or 4k, and the aspect ratio and output format are likewise chosen singly per request, so multiple specifications cannot be obtained in a single request. The content moderation tolerance is an integer from 0 to 6, with a default of 2. The output is a static image, with no video or audio output. The model does not guarantee masks, pixel-level locking, transparent cutouts, or automatic color preservation; for edits involving preserved areas, it is recommended to state the preservation scope in the instruction and check the outer contour and original cast shadows.

  • New model New model release: flux-3.1/text-to-image

Frequently asked questions

View all FAQs →
  • Can Quality text-to-image directly take a reference image and edit it?

    No. This route only accepts text descriptions and does not accept any image input; to edit an image based on a reference image, use Quality Edit or Fast Edit instead, which require 1–10 HTTPS images. If you only have text-based creation needs, just use this route directly; aspect ratio, resolution, and output format are all set separately in the request.

  • How can I write Quality text-to-image prompts for more stable results?

    Write in the order of "subject — action and scene — composition and viewpoint — lighting and atmosphere — style and image quality," covering these five categories of elements in a single paragraph; this is more reliable than piling up keywords. The prompt limit is 4000 characters, but you don't need to fill it up; put the elements you want to lock in first and secondary modifiers later, so it's easier for you to delete, edit, and pinpoint problems.

  • How many reference images can a single Quality edit take?

    You can provide anywhere from 1 to 10, and they must all be HTTPS URLs. When using multiple images, clearly state in the edit instruction what role each image plays, for example which one is the main image and which one provides material or color reference; otherwise the model can only guess. The instruction is likewise subject to the 4000-character limit.

  • How do I configure Quality editing to output a large 4K image?

    Just set resolution to 4k; the available values are 1k, 2k, and 4k, with 1k as the default. Specify the aspect ratio with aspect_ratio; auto lets the model decide on its own. For the output format, choose between jpeg and png with output_format; the default is jpeg. If you want lossless detail preservation, choose png.

Related Models

View all models →

Same Type