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
Blog

Comparison

How to Choose Among the Four FLUX 3.1 Routes: A Decision Guide for Text-to-Image and Edit Routes

Choose Quality/Fast and text-to-image/edit based on asset type and resolution tier

Dec 5, 2026
On a deep indigo background, four nested wide arrows advance in sequence, outlined with apricot-colored leading edges, like a signal flow diagram; this is the article cover image.
On this page

Overview of the four routes and the order of selection

HiAPI.ai offers FLUX 3.1 in four routes, each corresponding to a combination of two purposes and two positioning options: Quality text-to-image, Quality edit, Fast text-to-image, and Fast edit. All four routes share the same request shape—one prompt field, one set of resolution tiers, and one set of output-format options—and differ only in "whether a reference image can be attached" and "positioning orientation." This division turns route selection into a two-step decision that can be fixed in advance, rather than one that requires trial and error.

Step one: check whether you already have image assets on hand. If you have a reference image, you must use the edit route; if not, you can only use the text-to-image route. This step is a hard split with no middle ground.

Step two: after settling on the purpose, determine the required resolution tier (1K / 2K / 4K), and then choose between Quality and Fast. The tier determines the base dimensions of the image, and the Quality-versus-Fast cost-effectiveness is not consistent across tiers, so the order must not be reversed: first set the tier, then set the route positioning.

The reason to put "assets" before "tier" is that the purpose check has the lowest cost and the hardest constraint. Once you find that you need to attach a reference image, all subsequent discussion of tier and route takes place only within the edit route, and the search space is immediately halved. Conversely, if you first agonize over 4K versus 2K and only later discover that your assets are unusable, all of the earlier reasoning is wasted.

Remember these two steps; the sections below only explain the basis for each step.

Step one: do you have an existing image?

This is the only non-negotiable fork in the entire route-selection process.

The text-to-image route accepts only text input. Its request has no place to attach a reference image—the prompt is the only creative input. This means that any request to "tweak this image" or "use this image as a base" is not within the capability of the text-to-image route—it is not a matter of degraded results, but of being fundamentally impossible to express.

The edit route, by contrast, must include both reference images and edit instructions; neither can be omitted. The number of reference images is limited to 1 to 10, and they must be HTTPS URLs. In other words, the minimal valid form of an edit request is this: at least one accessible HTTPS image, plus instruction text describing what should be changed. Fewer than one image, or an image with no instruction, makes the request invalid.

From an engineering perspective, this constraint should be validated before the call is made rather than waiting for the API to return an error: maintain an asset list, confirm that every URL uses HTTPS, confirm that the total count is between 1 and 10, and confirm that the instruction text is non-empty. With multiple reference images, the instruction should ideally specify the role of each image (for example, which is the subject and which is the style reference); otherwise, multi-image input only makes the result harder to predict.

To sum up this step in one sentence: Text in, text-to-image; image in, edit. There is no third path.

Step two: determine the 1K, 2K, or 4K tier

Once the purpose is set, the next matter is the resolution tier. FLUX 3.1 offers three tiers, with API values 1k, 2k, and 4k; the default is 1k when not passed.

The three tiers are not simply "the bigger the better." The tier determines the base pixel scale of the output and also directly affects your choice between Quality and Fast—because the relative relationship between the two routes is not consistent across tiers. According to the publicly stated billing, at the 1K tier, Fast costs about half of Quality of the same purpose and tier, which is a clear reference point for the trade-off; but the ratios at the 2K and 4K tiers differ from the 1K tier, so the impression of "half" cannot be directly extrapolated to higher tiers.

In practice, the judgment can be laid out as follows:

  • If the purpose is to quickly validate composition, produce drafts in batches, or produce images that will later be downscaled downstream, the default 1k is usually enough, and Fast offers the clearest trade-off reference at this tier.
  • If the output will go directly into a stage with size requirements (layout, prepress, large-screen display), move up to 2k or 4k, and after choosing the tier, re-evaluate the relative cost of Quality and Fast rather than carrying over the intuition from the 1K tier.
  • If tolerance for detail defects is very low, the tier and route positioning should be raised together rather than only one of them.

Also note the existence of the default value: when resolution is not explicitly passed, the request is executed at 1k. In batch jobs, this can easily become a silent source of downgrade—you think you are producing 2K, but everything is actually 1K. It is advisable to make the tier a required field in your internal wrapper.

The logic for choosing between Quality and Fast

The difference between Quality and Fast is a difference in route positioning, not a speed promise. This must be made clear: this article does not give any speed multiplier, nor does it suggest interpreting "Fast" as "N times faster." It represents a route positioning oriented toward higher-throughput scenarios, while Quality is oriented toward scenarios with higher requirements for image finish. Which is more suitable for your business depends on how many retries you can tolerate and how many rounds of manual review the final output must pass.

Among the four routes, this trade-off must be made twice: once within text-to-image and once within edit. The Fast and Quality variants of the two purposes are independent combinations; there is no linkage such as "use Fast for text-to-image, and edit automatically follows with Fast."

The 1K tier is the only tier with a clear quantitative reference: Fast costs about half of Quality of the same purpose and tier. This makes the 1K decision relatively clear-cut—if there are many retries in the draft stage, the cumulative cost advantage of Fast will be obvious. But at 2K and 4K, the ratio relationship changes, and the basis for judgment should return to the question of "whether the output at this tier is the final version," rather than continuing to apply the multiplier intuition.

A sound approach is to layer it: use Fast for drafts and composition exploration, and Quality for finalization and delivery, with both layers using the same prompt and the same tier, so that the only variable between the two results is route positioning, which makes comparison easy.

For the specific parameters and invocation methods of the four routes, refer to the model pages for Quality text-to-image, Quality edit, Fast text-to-image, and Fast edit.

Companion settings for aspect ratio and output format

After choosing the route and tier, there are several companion items to settle as well; their impact on results is often underestimated.

Aspect ratio: the request supports an optional aspect ratio. Aspect ratio and tier are two independent dimensions—the tier determines the overall pixel scale, and the aspect ratio determines the width-to-height relationship. If downstream has a fixed layout (for example, a fixed-ratio card slot or cover slot), the aspect ratio should be fixed before launch, to avoid producing batches with uneven sizes that require additional cropping.

Output format: JPEG and PNG are available, with JPEG as the default. The default is sufficient for the vast majority of display-oriented scenarios and is friendlier in file size. If subsequent steps require lossless re-editing, or if the output will go through multiple rounds of processing, explicitly specifying PNG is more reliable. The same issue of "defaults taking effect silently" exists here; it is advisable, as with the tier, to write it into the wrapper as an explicit parameter.

Prompt length limit: the prompt limit is 4,000 characters. This allowance is more generous than generally expected, but precisely because of that, it is easy to write in a scattered way. The edit route especially requires attention: within 4,000 characters you must fit both the edit instructions and an explanation of the role of each of the multiple reference images. If you pile up a large number of style adjectives at the front, the truly critical parts—"what to change, what to change it into, and what not to touch"—are diluted. It is advisable to organize the prompt in sections as "subject description → change requirements → items to preserve," and to put the most important constraints near the front.

Making these companion items, together with the route and tier, into a request template can significantly reduce hard-to-attribute problems such as "I also chose Quality edit, but the two results differ a lot."

Route-selection cases for typical asset scenarios

Applying the two-step decision to concrete situations makes it easier to build muscle memory.

Case one: purely textual creativity, with no assets at all. Starting from a single description to produce concept art, illustrations, or mood pieces. Step one lands directly on text-to-image; step two sets the tier according to purpose—use 1k with Fast during exploration, and switch to Quality at the same tier to rerun before finalization. No reference images are involved at any point, and the edit route is not a candidate.

Case two: you already have a reference image, and you want to revise it. For example, you have an existing layout image and need to change the style, elements, or color scheme. Step one immediately locks in the edit route: prepare 1 to 10 HTTPS reference images and write clearly in the instruction what to change and what to preserve. Step two then involves choosing the tier and Quality/Fast within the edit route. The most common mistake here is trying to "describe" the reference image to the text-to-image route—no amount of textual detail can substitute for image input.

Case three: you need higher resolution. The composition was validated at 1k in the earlier stage, and now you need a larger final version. This is not a change of route but a change of tier: keep the purpose unchanged, raise resolution to 2k or 4k, and then re-evaluate the relative cost of Quality and Fast, because the ratio relationship at higher tiers differs from that at the 1K tier.

Case four: multi-image combined reference. The subject comes from one image and the style from another. This still belongs to the edit route; it is enough that the number of reference images is within the limit, but the instruction must clearly explain the division of roles; otherwise, multi-image input will make the result less controllable.

The common point of the four cases is this: first answer "is there an image," then answer "how large and how refined." If the order is reversed, you will be optimizing within the wrong candidate set.

Common misuses and expected boundaries

Finally, here is a concentrated list of several high-frequency misuses and their corresponding correct practices.

Misuse one: throwing a reference image at the text-to-image route. Text-to-image accepts only text, and there is no place for a reference image. The correct approach is to switch to the edit route and submit the image as an HTTPS reference image.

Misuse two: an edit request missing reference images or instructions. The edit route requires both 1 to 10 HTTPS reference images and edit instructions. Images without instructions, instructions without images, or an image count outside the range all make the request invalid. Parameter validation should be performed before the call.

Misuse three: treating Quality as the control group for a speed promise. Quality and Fast are a difference in positioning; this article provides no speed multiplier. The basis for selection should be the number of retries and delivery requirements, not an assumed speedup ratio.

Misuse four: expecting pixel-level restoration, transparent cutouts, or mask capabilities. None of these are within the capability scope, and no promise of pixel-by-pixel restoration is made. If your business pipeline depends on transparent backgrounds or precise masks, you need to set up a separate step outside FLUX 3.1, or design a fallback plan around "this capability is not available"—for example, generate the image first and then complete the cutout in an independent post-processing step.

Misuse five: relying on defaults. If resolution is not passed, it is executed as 1k; if the format is not passed, JPEG is output. In batch scenarios this causes silent downgrades; it is advisable to write both the tier and the format into the request template.

Writing the boundaries before route selection is much less troublesome than going back to investigate after the results fail to meet expectations.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs