Guide
Two Ways to Use FLUX 3.1 Quality: Generating a New Image from Scratch or Editing Existing Material
Two delivery paths under the same physical window-display project
On this page
Two delivery goals under the same project
When working on a physical window display, the design side often receives two types of requests at the same time. One is "we don't have an image yet, help me come up with one": the new product has not been photographed yet, or the existing assets have inconsistent styles, so a usable window key visual must be produced directly from a prompt. The other is "we already have the image, but only one thing needs to change": the main image has been finalized, and the team only wants to change the background color, adjust the display position, or swap a prop for the current season's item while keeping everything else as close to the original as possible.
Both types of requests look like "image generation," but their actual delivery goals are completely different. The former requires building composition, lighting, and subject relationships from scratch, with no existing assets to rely on; the latter accepts a given existing image as the baseline by default, and the more controllable the scope of change, the better. The two ways of using FLUX 3.1 Quality map exactly to these two goals: the text-to-image path is responsible for designing a new image from scratch, and the editing path is responsible for making targeted modifications on an existing main image.
Distinguishing the delivery goal before choosing a path is easier than calling the model directly as soon as you have it. The following sections explain the input and workflow for each of these two paths, then discuss parameter trade-offs and how to combine them.
First determine whether you have a main image
The way to decide is straightforward: do you have an image that "must be retained"? If not, use text-to-image; if you do, and you want changes limited to a specified area or object, use editing. A so-called "reference image" is a required input on the editing path, whereas the text-to-image path accepts only a text prompt, and the API provides no image input.
Design from scratch: input and workflow of the text-to-image path
The text-to-image path of Quality has only one input: a text prompt. It does not accept any reference image, so it is suitable for scenarios with no existing assets that require an entirely new composition, such as concept drafts for a new season's window display, exhibition layout mockups for products that do not exist yet, or multiple alternative images in different directions under the same theme.
When calling it, the prompt is the only thing that needs polishing, with a maximum of 4,000 characters. When writing a window-display prompt, clearly describing the subject, display relationships, materials, light direction, and overall atmosphere is more effective than piling up adjectives. For example, specifying "what the main exhibit inside the glass cabinet is, what is placed beside it, which side the light comes from, and what material the background wall is made of" is more likely to produce a usable result than simply saying "a premium-looking window display."
For basic parameters, specify the resolution with resolution; the values are 1k, 2k, and 4k, with a default of 1k. The aspect ratio is optional; just pick one close to the ratio of the display slot. The output format can be JPEG or PNG, with JPEG as the default. The workflow of the text-to-image path can be summarized as: write the prompt → set the resolution and aspect ratio → send the request → retrieve the image. There is no step for uploading assets in between, which means all the information in the image comes from the text description, and details not written in the prompt are filled in by the model itself.
This also determines the role of text-to-image: it is good at providing "a direction," not "that one specific spot in a particular image." If the requirement is already as specific as "replace the prop on the left with the display rack from last season," that is not a problem this path should handle.
Retain the main image: input and workflow of the editing path
The editing path of Quality has two required inputs: a reference image and an editing instruction. The reference image must be provided via an HTTPS link, with a quantity of 1 to 10; the editing instruction is also text, describing how you want it changed. Without the reference image, this path cannot work, and this is the most fundamental difference between it and text-to-image.
In a window-display project, a typical use of the editing path is: take the finalized key visual as the reference image, and write the instruction "keep the main display and overall composition, only change the background wall to warm wood grain, and add a side light on the right." The reference image provides the baseline for "what to change and what not to touch," while the instruction explains the scope of change. In scenarios with multiple reference images, one image is usually used to define the subject, and another to define material or color reference; the maximum of 10 reference images is enough to cover common combination needs.
In terms of workflow, the editing path has one more asset-preparation step than text-to-image: first place the reference image at a publicly accessible HTTPS address, then submit it together with the editing instruction. The parameters for resolution, aspect ratio, and output format are the same as for text-to-image, and also support the three levels 1k, 2k, and 4k. Note that the output of the editing path is a modified result based on the reference image, not a pixel-by-pixel copy of the original; for content such as text, logos, and precise dimension annotations, check manually before launch, and do not assume the model will preserve them exactly.
Why only editing can upload reference images
The division of API inputs between the text-to-image and editing usages directly determines where reference images belong. The input design of the text-to-image path is purely text: there is no image field, so there is no possibility of "passing a reference image along the way." The editing path, by contrast, lists reference images as a required input, and 1 to 10 HTTPS links are one of the prerequisites for calling it.
The practical conclusion from this division is clear: whenever a requirement contains "based on this image," "retain the main image," or "modify this image," you should choose the editing path rather than trying to describe that image in a text-to-image prompt. Retelling an existing image in words is both laborious and uncontrollable, and the scope of change cannot be constrained. Conversely, if you have no existing assets at all, the editing path cannot help either, because there is no baseline to edit.
So selection does not require trial and error: whether the requirement depends on an existing image is the criterion for choosing between the two.
Trade-offs for resolution, aspect ratio, and output format
Both usages share the same set of output parameters, which makes integration convenient, but you still need to confirm the default values clearly before going live.
There are three resolution levels, 1k, 2k, and 4k; the API values are 1k, 2k, and 4k respectively, with a default of 1k. The choice of level mainly depends on the final display size: the default level is usually enough for detail-page thumbnails and small banners; when you need to fill a large screen or produce a pre-print preview, go up a level. Higher levels bring longer processing time and different billing tiers, so it is recommended to get the workflow running at the default level first, then adjust according to the actual display slot.
The aspect ratio is optional; just choose a ratio close to the placement position, and there is no need to crop afterward. The output format supports JPEG and PNG, with JPEG as the default; JPEG is smaller and suitable for going live directly, while PNG is suitable for scenarios that still need secondary processing or are sensitive to compression artifacts.
These parameters work the same way for the text-to-image and editing paths; the only difference is that the output of the editing path is constrained by the reference image, and a higher resolution improves the clarity of the modified result, not its fidelity. Setting resolution, aspect ratio, and format as project defaults before launch can reduce rework later.
Differences in price structure between Fast and Quality
FLUX 3.1 offers two tiers, Quality and Fast, each with both text-to-image and editing usages. Billing is differentiated by the combination of usage and tier, so you cannot simply assume that "Fast is always some fixed ratio of Quality."
Looking at the price structure, at the 1k level, Fast costs about half of Quality at the same level for the same usage; at the 2k and 4k levels, the ratios differ. In other words, the multiplier relationship changes with the tier, so when choosing, look at the actual price for the combination of "usage + tier" rather than applying one ratio to every scenario. For specific prices, refer to the site's price panel.
In practice, the rough guideline is: for concept exploration, batch sketch generation, and images for internal review, you can use Fast first; for finalizing a direction and delivering key visuals externally, Quality is more reliable. The tier is determined by the display size, and only by crossing the two do you get the final combination of price and quality.
Combining the two usages into one workflow
Text-to-image and editing are not mutually exclusive options; they can certainly be used in sequence within the same window-display project. A common approach is: first use Quality text-to-image to generate several directions for the key visual, and select one as the baseline; subsequent seasonal replacements, local adjustments, and adaptation to multiple sizes all move to the editing path, submitting instructions with that image as the reference. This preserves the freedom of designing from scratch while giving later changes a stable baseline.
There are two reminders when combining them. First, the output of the editing path is a modified result based on the reference image; do not promise pixel-by-pixel fidelity, and manually review content involving brand elements and text information before delivery. Second, tier switching affects processing behavior and billing; when moving from Fast exploration to Quality finalization, it is best to reconfirm the parameters rather than reusing the settings from the exploration stage.
To view the API details of the two usages, refer to the model pages for FLUX 3.1 Quality text-to-image and FLUX 3.1 Quality editing respectively. Once you are clear about whether the delivery goal is "from scratch" or "retain the main image," the remaining parameter choices will be much clearer.
Related articles
View all articles →-
Guide
flux-3.1/fast/edit-image Getting Started Guide: Capability Boundaries, API Integration, and Pricing Practices
A developer-oriented path for integrating an image editing model and evaluating costs
-
Guide
flux-3.1/fast/text-to-image Getting Started Guide: Capability Boundaries, Billing, and Calling Practices
A hands-on route for developers to quickly integrate a text-to-image model, from capability boundaries to cost estimation
-
Guide
flux-3.1/edit-image Getting Started Guide: Capability Boundaries, API Parameters, and Pricing Practices