FLUX 3.1 Image

FLUX 3.1 Image is Black Forest Labs' image generation and editing model, built for speed at every size from 1 MP up to native 4K. It keeps people and objects consistent across multiple references, edits locally through masks and bounding boxes while leaving the rest of the image untouched, and changes or translates text in its original lettering. It suits high-volume work such as product catalogs, virtual try-on, storyboards and key art.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
← All GuidesFast and quality modes
How to choose between the fast and quality modes of FLUX 3.1 Image: what quality adds to long copy and intricate detail, and when fast is enough.
Introduction
settings.mode runs FLUX 3.1 Image in two modes. quality is the default, and fast costs less per image and is built for high volume. Every input and every setting works in both, so switching is one field and the rest of the request stays as it is.
Quality does two things better: long runs of small copy, and intricate detail. Away from those, the two modes land close enough that fast is the sensible choice for drafts and for large runs of plain product and lifestyle shots.

A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.

A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.
A sleeping puppy on a sofa needs neither, so this is the case where quality adds the least. Send settings.mode to pick the mode:
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
const [result] = await client.run({
model: 'bfl:flux@3.1-image',
positivePrompt: 'A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.',
width: 1248,
height: 832,
settings: {
mode: 'fast'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "bfl:flux@3.1-image",
"positivePrompt": "A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.",
"width": 1248,
"height": 832,
"settings": {
"mode": "fast"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "4d8b1f6a-e295-4c07-8a3d-6f2e9b0c5a17",
"model": "bfl:flux@3.1-image",
"positivePrompt": "A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.",
"width": 1248,
"height": 832,
"settings": {
"mode": "fast"
}
}
]'runware run bfl:flux@3.1-image \
positivePrompt="A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette." \
width=1248 \
height=832 \
settings.mode=fast{
"taskType": "imageInference",
"taskUUID": "4d8b1f6a-e295-4c07-8a3d-6f2e9b0c5a17",
"model": "bfl:flux@3.1-image",
"positivePrompt": "A golden retriever curled up asleep on a cream linen sofa, its chin resting on a rolled-up knitted throw, one ear flopped over. A sunlit living room with a pale oak side table and a potted fiddle-leaf fig out of focus behind. Soft afternoon light from a window on the left. Eye-level shot at sofa height, 50mm lens, the dog filling the center of the frame. Photoreal pet lifestyle photography, warm neutral palette.",
"width": 1248,
"height": 832,
"settings": {
"mode": "fast"
}
}Response
{
"data": [
{
"taskType": "imageInference",
"taskUUID": "4d8b1f6a-e295-4c07-8a3d-6f2e9b0c5a17",
"imageUUID": "1a9c4e7f-6b02-4d85-b3f1-8e5a2c7d0b94",
"imageURL": "https://im.runware.ai/image/os/a14d18/ws/2/ii/1a9c4e7f-6b02-4d85-b3f1-8e5a2c7d0b94.jpg"
}
]
}This guide sends the same request in both modes for each of the two, then sets out how to split a workload between them.
Long copy
Text is where the modes part ways, and the gap shows on long runs of small copy rather than on headlines. An ingredient list is a hard case on purpose: fifteen names in a row, most of them chemical, set as one justified block.

The back of a matte white cosmetic bottle filling the frame, its label printed in small black sans-serif. At the top "OLVENA" in thin capitals and "Night Repair Serum · 30 ml" beneath it. Then a block of fine print: "INGREDIENTS: Aqua, Glycerin, Niacinamide, Squalane, Propanediol, Sodium Hyaluronate, Panthenol, Tocopherol, Allantoin, Ceramide NP, Bisabolol, Xanthan Gum, Citric Acid, Phenoxyethanol, Ethylhexylglycerin." Below it "Apply 2–3 drops to clean skin every evening." and at the bottom "Made in France · Batch 24117 · Best before 11/2028". Soft studio light, 100mm macro lens, straight-on. Photoreal product photography.

The back of a matte white cosmetic bottle filling the frame, its label printed in small black sans-serif. At the top "OLVENA" in thin capitals and "Night Repair Serum · 30 ml" beneath it. Then a block of fine print: "INGREDIENTS: Aqua, Glycerin, Niacinamide, Squalane, Propanediol, Sodium Hyaluronate, Panthenol, Tocopherol, Allantoin, Ceramide NP, Bisabolol, Xanthan Gum, Citric Acid, Phenoxyethanol, Ethylhexylglycerin." Below it "Apply 2–3 drops to clean skin every evening." and at the bottom "Made in France · Batch 24117 · Best before 11/2028". Soft studio light, 100mm macro lens, straight-on. Photoreal product photography.
The loupe sits on the same line in both. Across six runs of this prompt in each mode, fast got the list wrong three times and quality once. Fast repeated a name, as here, invented one and smeared a line. Quality's one slip was a repeated name, so proofread every string before it ships in either mode.
Quality is the mode for long copy that ships: ingredient lists, legal fine print, specifications and any long block a customer reads at full size. Headlines, labels and short lists hold in both modes, and fast suits a layout comp whose words are placeholders for copy set later. The text rendering guide covers how to write the strings themselves.
Intricate detail
The second difference is completeness in a fine pattern: every motif the prompt lists, drawn at the scale of a thread. Lace makes a good test: a repeating pattern of flowers and leaves held together by a net of single threads.

Macro photograph of a piece of handmade white bobbin lace laid flat on dark navy velvet: a dense repeating pattern of small flowers, leaves and an open net ground, every thread distinct. Raking light from the left. 100mm macro lens, deep focus, the lace filling the frame. Photoreal textile photography.

Macro photograph of a piece of handmade white bobbin lace laid flat on dark navy velvet: a dense repeating pattern of small flowers, leaves and an open net ground, every thread distinct. Raking light from the left. 100mm macro lens, deep focus, the lace filling the frame. Photoreal textile photography.
The prompt asks for flowers, leaves and a net ground, and fast drops the leaves: it draws the flowers, and its net wanders between them. Quality draws all three, and its net keeps a regular mesh with a knot at each crossing. Both frames are 2496 × 1664, and the loupe magnifies the same patch in each. The gap repeats across runs of this prompt, and it is the one a textile, jewelry or engraving close-up gets judged on.
Splitting the work
A pipeline can use both modes, split by what each image has to carry:
| Work | Mode |
|---|---|
| Prompt drafts and layout comps | Fast |
| Large runs of plain packshots and lifestyle frames | Fast |
| Long blocks of copy, such as ingredient lists and fine print | Quality |
| Intricate patterns seen up close, such as lace, engraving and embroidery | Quality |
A fast draft settles the wording of the prompt. There is no seed, so rerunning a draft prompt in quality returns a new composition rather than a sharper copy of the draft. Iterate in fast until the drafts land the way you want, then switch the mode and generate the finals as a batch.
Mode and size are two separate levers. Every size works in both modes, and the size still decides how much detail a frame can hold and how long it takes to render. A fast render at 4K and a quality render at 1K are both valid requests for different jobs.
A request without settings.mode runs in quality. A pipeline meant to run fast has to send the setting on every request.
Tips for best results
-
Draft in fast. Wording changes are cheap to test there, and the drafts show whether the prompt is working.
-
Finish long copy in quality. A long block of small text is where fast slips, and it is the part a customer reads.
-
Proofread every string. Quality slips less often than fast, not never.
-
Use quality for intricate patterns. Every motif the prompt lists comes through, down to the threads that join them.
-
Expect a new picture when you switch. No seed carries a draft from one mode into the other, so generate the finals as a fresh batch.
-
Send the mode on every request. The default is quality, so a fast pipeline that leaves the field out runs in quality.