Guide
FLUX 3.1 Cover Generation in Practice: Defining Whitespace, Light Direction, and Aspect Ratio with a Single Prompt
Composition checks and 1K price comparison for the Quality and Fast text-to-image lines
On this page
Why covers are hard: they must be "layout-ready"
A cover image is judged by different criteria than an illustration. A good-looking image with the subject dead center, busy background texture, and no clean areas in the corners can only be salvaged during layout with cropping, masks, or darkening—and that rescue process often takes more time than regenerating. What makes covers genuinely hard is being "layout-ready": the image must reserve space for the title, subtitle, date, and logo, and those spaces should be determined at generation time.
Broken down, there are really only three controllable variables: where the whitespace is, which direction the light comes from, and what aspect ratio the image is. Whitespace determines which safe zone the text sits in; light direction determines whether the text area is lit or darkened, directly affecting text contrast; aspect ratio determines cropping headroom—a vertical cover usually has its title area in the top third, a square image needs margins on all four sides, and a horizontal image needs to account for left/right columns. All three variables can be written into the prompt, and all three can be checked by eye after generation.
The FLUX 3.1 text-to-image line accepts plain text descriptions, with a prompt limit of 4000 characters. That budget is enough to write layout constraints quite specifically, without cramming everything into a few dozen characters and hoping for luck. The next question is: text-to-image or the edit line, and in what order to organize the prompt.
Choosing a line: text-to-image or edit
FLUX 3.1 offers four lines: Quality text-to-image, Quality edit, Fast text-to-image, and Fast edit. The division of labor is already clear from the input form:
- Text-to-image accepts text only. It suits covers drafted from scratch—where you have only a layout intent and no existing assets.
- Edit requires 1–10 HTTPS reference images plus an edit instruction. It suits scenarios where you already have a base image and want to change the composition, swap the light direction, or extend whitespace.
The criterion is simple: do you have a reference image that must be carried over? If the cover must extend the brand key visual, or reuse a product shot or portrait, use the edit line, pass the reference image as input, and describe in the instruction what should be kept and what adjusted. If you just want a new image that meets layout constraints, use text-to-image—don't force in reference images "to seem more controllable"; a reference image brings its own composition and light direction, which will fight the whitespace placement you want.
This article focuses on the text-to-image line, since drafting a cover from scratch is the most common starting point. If you need to understand the interface form first, see /models/flux-3.1-text-to-image; if you want a faster generation rhythm for layout experimentation, Fast text-to-image is at /models/flux-3.1-fast-text-to-image.
Hard-coding whitespace, light direction, and aspect ratio into the prompt
When organizing the prompt, it is recommended to write in the order "layout → subject → light → texture → exclusions." The model usually responds more reliably to constraints placed early; putting the non-negotiable whitespace at the beginning is more reliable than at the end.
Describe whitespace with position plus proportion. Don't write "leave some blank space"; write "the right third of the image is a clean dark gradient background containing no objects or texture, reserved for title text." Give the position word (top/bottom/left/right/corners), the proportion word (one third, one quarter), and the cleanliness word (solid color, no texture, low contrast) together, and the whitespace will hold. A vertical cover often says "the top 30% is a smooth sky gradient, no clouds, no detail."
Describe light direction as direction plus quality. "Backlight from the left," "soft light from the upper right," and "flat frontal light" all change the subject's shadow direction and the background's brightness. If the text area will hold light-colored text, let the light fall on the subject and keep the whitespace area dark; vice versa otherwise. Adding whether the light is soft or hard (soft light/hard light) further stabilizes edge transitions.
Choose the aspect ratio in the parameters and echo it in the prompt. The interface provides selectable aspect ratios; the chosen ratio must match the layout description in the prompt—choosing vertical while writing "wide horizontal composition" leaves the model torn. The aspect ratio parameter determines output dimensions; the prompt determines the zones within the image; both must point in the same direction.
List exclusions separately. Constraints like "no text, no watermark, no border, no close-up of faces" go together at the end, so they aren't diluted by the layout description earlier.
The 4000-character budget lets you write the above four sections very concretely. But writing more isn't writing better: every sentence should be a checkable constraint, not a pile of adjectives.
Check composition first, then fine detail
After generation, don't judge "pass or fail" in one go. Split the check into two rounds, and don't reverse the order.
The first round looks only at composition, using a low bar for fast elimination. Check:
- Is the whitespace area where you specified, and is its area large enough for the title and subtitle;
- Is the whitespace area really clean—any unexpected intruding objects, texture, or highlight spots;
- Does the relationship between subject and whitespace hold—does the subject press against the edge of the text area;
- Is the light direction consistent, and does the brightness of the text area support the text color you plan to use.
This round ignores detail. An image with the wrong composition is useless no matter how high its fine detail; regenerate directly rather than struggling with minor prompt tweaks—fix the layout description first, then the wording.
Only the second round looks at fine detail: whether subject edges are clean, whether gradients band, the noise level in the whitespace area, and whether large solid-color areas are even. Covers get scaled after layout, so edge flaws and banding become more obvious at small sizes. Problems in this round are usually solved by switching tiers, not by changing the prompt.
The benefit of separating the two rounds is a clear standard: the first round determines quality, the second determines tier.
Choosing between Quality and Fast: compare ratios only at the 1K tier
Quality and Fast are two tier lines for the same use case, differing in fine-detail orientation and generation rhythm. Billing is by output tier and line; for actual prices, refer to the site's pricing panel—here we only discuss the comparison method.
One reference ratio: at the 1K tier, Fast costs about half of Quality at the same tier for the same use case. This makes 1K-tier comparison intuitive—if you are only doing layout experiments to confirm whitespace placement and light direction, Fast's output is enough for composition checks at roughly half the cost.
But this ratio cannot be extrapolated to 2K and 4K. At 2K and 4K, the price ratio between the two lines differs from 1K; check the pricing panel separately for each, and don't do mental math with the 1K multiple. A practical workflow could be:
- Use Fast at the 1K tier to batch out composition candidates, and filter down to the few with correct whitespace and light direction;
- For the selected compositions, decide the tier based on final delivery size, then decide whether to produce the final image with Quality or Fast;
- Every time you cross tiers, re-check the ratio rather than carrying over the previous tier's conclusion.
We make no speed-multiple claims, and don't recommend treating "fast" as the only reason—Fast's value is making composition trial and error cheap, not replacing final-image judgment.
Practical details for output format and aspect ratio
A few parameters that are easily overlooked but directly affect layout handoff:
Size tier. The interface provides three tiers, 1K/2K/4K, with API values 1k, 2k, 4k, default 1k. For covers, 1K suits layout validation and small-size delivery; go to 2K/4K for print or large-screen display. Note that raising the tier changes the price ratio, as covered in the previous section.
Output format. JPEG and PNG are available, default JPEG. JPEG is smaller and suits going straight into a web page; PNG has fewer compression artifacts in large solid-color areas, so if the cover's whitespace is one solid block and you'll overlay text layers later, PNG is more stable. Neither provides an alpha channel—don't expect the output format to give you a pre-cut subject.
Aspect ratio setting. Set the aspect ratio at request time, not by cropping afterward. Post-hoc cropping breaks the whitespace proportions you already planned—crop off one edge and the text safe zone shifts. Once the aspect ratio is chosen, the zone description in the prompt must match it, as emphasized in section three.
Prompt length. The 4000-character limit is a hard constraint. Detailed layout constraints can easily exceed it, and truncation tends to hit the exclusions at the end, causing key constraints like "no text" to fail. Scan the length after writing.
A reusable cover prompt checklist
Go through each item before publishing:
- Did you choose the right line? If there is a reference image that must be carried over, use the edit line with 1–10 HTTPS reference images; for pure text drafting, use text-to-image.
- Did you write the whitespace? Are position, proportion, and cleanliness all given concrete descriptions, rather than "leave some space"?
- Did you write the light direction? Are direction and soft/hard quality explicit, and does the text area's brightness support the planned text color?
- Is the aspect ratio set? Do the parameter's aspect ratio and the prompt's zone description point in the same direction?
- Are the exclusions at the end? Are no text, no watermark, and no border all written, and not truncated by length?
- Is the prompt within 4000 characters?
- Has composition been checked? Do whitespace position, area, cleanliness, and subject relationship all pass before moving on to fine-detail checks?
- Are the tier and format right? Do
1k/2k/4kmatch the final delivery size, and is JPEG/PNG chosen based on whether you need lossless solid-color areas? - When comparing prices across tiers, did you re-check that tier's price ratio rather than carrying over the 1K conclusion?
Fix these nine items into a process, and cover generation goes from "getting lucky with images" to "converging on constraints." If you want to start trying directly, begin with a 1K composition draft from /models/flux-3.1-text-to-image, then batch-test layouts with /models/flux-3.1-fast-text-to-image.
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