Prompting Guide - FLUX.2

Master FLUX.2 prompting for photorealism, typography, precise colors, and advanced techniques

FLUX.2 delivers exceptional prompt following and supports both simple natural language prompting and advanced techniques like precise hex color control, structured JSON prompting, and multi-reference image editing. This guide starts with approachable techniques and progresses to advanced workflows.

No negative prompts:

FLUX.2 does not support negative prompts. Focus on describing what you want, not what you don't want.

Photorealistic Styles

FLUX.2 excels at photorealistic generation using simple, natural language prompts. Reference specific eras, cameras, and techniques for distinctive looks.

StyleKey Descriptors
Modern Digital"shot on Sony A7IV, clean sharp, high dynamic range"
2000s Digicam"early digital camera, slight noise, flash photography, candid, 2000s digicam style"
80s Vintage"film grain, warm color cast, soft focus, 80s vintage photo"
Analog Film"shot on Kodak Portra 400, natural grain, organic colors"
Tiger cub under banana leaf in rainy jungle

Modern Photorealism

"Soaking wet tiger cub taking shelter under a banana leaf in the rainy jungle, close up photo"

Sloth in Bangkok nightlife, digicam style

2000s Digicam

"Sloth out drinking in Bangkok at night in a street full of party folks, 2000s digicam style, people in the background fading"

Baby penguins in trampoline park, 80s vintage

80s Vintage

"A group of baby penguins in a trampoline park, having the time of their lives, 80s vintage photo"

Camera and Lens Simulation

Be specific about camera settings for authentic results:

Shot on Hasselblad X2D, 80mm lens, f/2.8, natural lighting
Canon 5D Mark IV, 24-70mm at 35mm, golden hour, shallow depth of field

For photorealism, specify camera models, lenses, and film stocks. "Shot on Fujifilm X-T5, 35mm f/1.4" produces more authentic results than just "professional photo."

Typography and Design

FLUX.2 excels at generating clean typography, product marketing materials, and magazine layouts.

Samsung phone advertisement

Product advertisement with clean typography

"Samsung Galaxy S25 Ultra product advertisement, 'Ultra-strong titanium' headline, 'Shielded in a strong titanium frame, your Galaxy S25 Ultra always stays protected' subtext, close-up of phone edge showing titanium frame, dark gradient background, clean minimalist tech aesthetic, professional product photography"

Women's Health magazine cover

Magazine cover layout

"Women's Health magazine cover, April 2025 issue, 'Spring forward' headline, woman in green outfit sitting on orange blocks, white sneakers, 'Covid: five years on' feature text, '15 skincare habits' callout, professional editorial photography, magazine layout with multiple text elements"

For typography, be explicit about headlines, body text, and layout elements. Describe the visual hierarchy and text placement to get clean, professional results.

HEX Color Code Prompting

FLUX.2 supports precise color matching using hex codes. This is essential for brand consistency and design work.

Basic Syntax

Signal hex colors with keywords like "color" or "hex" followed by the code:

The vase has color #02eb3c
The background is hex #1a1a2e

Gradient Colors

Apply gradients by specifying start and end colors:

Prompt: "A vase on a table in living room, the color of the vase is a gradient, starting with color #02eb3c and finishing with color #edfa3c. The flowers inside the vase have the color #ff0088"

Vase with gradient colors

Hex colors applied to vase and flowers

Brand color example

Brand color matching for product design

Color in JSON Prompts

Combine hex colors with structured prompts for maximum control:

{
  "scene": "Makeup flat lay on marble surface",
  "subjects": [
    {
      "description": "eyeshadow palette",
      "colors": ["#E91E63", "#9C27B0", "#673AB7", "#3F51B5"]
    }
  ],
  "style": "beauty product photography",
  "lighting": "soft diffused overhead lighting"
}

Hex codes work best when clearly associated with specific objects. Vague references like "use #FF0000 somewhere" may produce inconsistent results.

Infographics and Data Visualization

FLUX.2 can generate infographics with clean typography and structured layouts.

Infographic Template

{
  "type": "infographic",
  "title": "Your Main Title",
  "subtitle": "Supporting context",
  "sections": [
    {
      "heading": "Section 1",
      "content": "Key information",
      "visual": "icon or chart type"
    }
  ],
  "color_scheme": ["#primary", "#secondary", "#accent"],
  "style": "modern, clean, corporate"
}

Example Prompt:

"Create a vertical infographic about coffee consumption worldwide. Title: 'Global Coffee Culture'. Include 3 sections with statistics, use icons for each country, color scheme #4A2C2A (brown) and #F5E6D3 (cream). Modern minimalist style with clean typography."

Infographic example

Data visualization with clean typography

Multi-Language Prompting

FLUX.2 has excellent multi-language understanding. You can prompt in your native language for more culturally authentic results.

French prompt: Normandy countryside food market at sunrise

French

Un marché alimentaire dans la campagne normande

"Un marché alimentaire dans la campagne normande, des marchands vendent divers légumes, fruits. Lever de soleil, temps un peu brumeux"

Thai prompt: Morning food market in rural Bangkok area

Thai

ตลาดอาหารเช้าในชนบทใกล้กรุงเทพฯ

"ตลาดอาหารเช้าในชนบทใกล้กรุงเทพฯ พ่อค้าแม่ค้ากำลังขายผักและผลไม้นานาชนิด บรรยากาศยามพระอาทิตย์ขึ้น มีหมอกจาง ๆ ปกคลุม สงบและอบอุ่น"

Korean prompt: Seoul rooftop garden at sunset

Korean

서울 도심의 옥상 정원

"서울 도심의 옥상 정원, 저녁 노을이 지는 하늘 아래에서 사람들이 작은 등불을 켜고 있다. 화려한 네온사인이 멀리 반짝이고, 정원에는 다양한 꽃들이 피어 있다. 분위기는 따뜻하고 낭만적이다"

Prompting in the native language of the content you're creating often produces more culturally authentic results - local markets, architecture, and atmosphere are rendered with greater accuracy.

Comic Strips and Sequential Art

Create consistent comic panels with character continuity. The key is to define your character in detail and maintain that description across panels.

The Diffusion Man Story

Generate each panel separately while keeping character descriptions consistent:

Worried scientist in server room

Panel 1: The Crisis

Diffusion Man transformation

Panel 2: The Transformation

Diffusion Man fighting corrupted code

Panel 3: The Battle

Diffusion Man victorious

Panel 4: Victory

Character Consistency:

Notice how Diffusion Man's description stays detailed and consistent across panels—brown skin tone, short natural fade haircut, gradient bodysuit from purple to blue to pink, neural network emblem, purple half-mask. Repeat these details in every panel prompt.

JSON Structured Prompting

For complex scenes and production workflows, FLUX.2 excels at interpreting structured JSON prompts, giving you precise control over every aspect of your image.

The Base Schema

{
  "scene": "overall scene description",
  "subjects": [
    {
      "description": "detailed subject description",
      "position": "where in frame",
      "action": "what they're doing"
    }
  ],
  "style": "artistic style",
  "color_palette": ["#hex1", "#hex2", "#hex3"],
  "lighting": "lighting description",
  "mood": "emotional tone",
  "background": "background details",
  "composition": "framing and layout",
  "camera": {
    "angle": "camera angle",
    "lens": "lens type",
    "depth_of_field": "focus behavior"
  }
}

Building a Prompt Step by Step

Let's build a product shot incrementally to see how each element contributes.

Step 1: Generating a coffee mug

{
  "scene": "Professional studio product photography setup with polished concrete surface",
  "subjects": [
    {
      "description": "Minimalist ceramic coffee mug with steam rising from hot coffee inside",
      "pose": "Stationary on surface",
      "position": "Center foreground on polished concrete surface",
      "color_palette": ["matte black ceramic"]
    }
  ],
  "style": "Ultra-realistic product photography with commercial quality",
  "color_palette": ["matte black", "concrete gray", "soft white highlights"],
  "lighting": "Three-point softbox setup creating soft, diffused highlights with no harsh shadows",
  "mood": "Clean, professional, minimalist",
  "background": "Polished concrete surface with studio backdrop",
  "composition": "rule of thirds",
  "camera": {
    "angle": "high angle",
    "distance": "medium shot",
    "focus": "Sharp focus on steam rising from coffee and mug details",
    "lens-mm": 85,
    "f-number": "f/5.6",
    "ISO": 200
  }
}
Professional product shot of a single black coffee mug with steam

Step 1: Single matte black mug with steam

Step 2: Adding a second mug in a different color

{
  "scene": "Professional studio product photography setup with polished concrete surface",
  "subjects": [
    {
      "description": "Minimalist ceramic coffee mug with steam rising from hot coffee inside",
      "pose": "Stationary on surface",
      "position": "Center foreground on polished concrete surface",
      "color_palette": ["matte black ceramic"]
    },
    {
      "description": "Minimalist ceramic coffee mug, matching design to the black mug",
      "pose": "Stationary on surface",
      "position": "Right side of the black mug on polished concrete surface",
      "color_palette": ["matte yellow ceramic"]
    }
  ],
  "style": "Ultra-realistic product photography with commercial quality",
  "color_palette": ["matte black", "matte yellow", "concrete gray", "soft white highlights"],
  "lighting": "Three-point softbox setup creating soft, diffused highlights with no harsh shadows",
  "mood": "Clean, professional, minimalist",
  "background": "Polished concrete surface with studio backdrop",
  "composition": "rule of thirds",
  "camera": {
    "angle": "high angle",
    "distance": "medium shot",
    "focus": "Sharp focus on steam rising from coffee and both mugs in frame",
    "lens-mm": 85,
    "f-number": "f/5.6",
    "ISO": 200
  }
}
Product shot with black and yellow coffee mugs

Step 2: Added a yellow mug to the composition

Step 3: Change the color of the steam

{
  "scene": "Professional studio product photography setup with polished concrete surface",
  "subjects": [
    {
      "description": "Minimalist ceramic coffee mug with bright red steam rising from hot coffee inside",
      "pose": "Stationary on surface",
      "position": "Center foreground on polished concrete surface",
      "color_palette": ["matte black ceramic", "bright red steam"]
    },
    {
      "description": "Minimalist ceramic coffee mug, matching design to the black mug",
      "pose": "Stationary on surface",
      "position": "Right side of the black mug on polished concrete surface",
      "color_palette": ["matte yellow ceramic"]
    }
  ],
  "style": "Ultra-realistic product photography with commercial quality",
  "color_palette": ["matte black", "matte yellow", "bright red", "concrete gray", "soft white highlights"],
  "lighting": "Three-point softbox setup creating soft, diffused highlights with no harsh shadows",
  "mood": "Clean, professional, minimalist",
  "background": "Polished concrete surface with studio backdrop",
  "composition": "rule of thirds",
  "camera": {
    "angle": "high angle",
    "distance": "medium shot",
    "focus": "Sharp focus on steam rising from coffee and both mugs in frame",
    "lens-mm": 85,
    "f-number": "f/5.6",
    "ISO": 200
  }
}
Product shot with black and yellow mugs, red steam rising from the black mug

Step 3: Changed the steam color to bright red

You can include the JSON directly in your prompt, or flatten it into natural language. FLUX.2 understands both formats.

Multi-Reference Image Editing

[pro] API has a 9MP total limit for input+output. At 1MP output you can use up to 8 reference images, at 2MP output up to 7, and so on.

Multi-reference is powerful for:

  • Fashion shoots: Combine clothing items into styled outfits
  • Interior design: Place furniture and decor in rooms
  • Product composites: Combine multiple products in scenes
  • Character consistency: Maintain identity across variations

Fashion Editorial Example (8 references)

Prompt: "A spiritual architectural photograph captured on expired Kodak Ektachrome 64 slide film cross-processed from 1987 with a 35mm spherical lens at f/5.6, featuring model standing before small forest chapel in clearing. The model wears the outfit, positioned on stone steps leading to wooden chapel, red creating stark contrast against weathered brown timber. Background shows traditional Schwarzwald chapel - dark wood construction with small bell tower, carved wooden door, religious paintings under eaves, surrounding clearing with wild flowers, tall firs creating natural cathedral, small cemetery with wooden crosses. Dappled forest light at 1/125. Cross-processed Ektachrome showing extreme color shifts - cyan-magenta split, warm wood tones pushed to orange-brown, oversaturated red, crushed black shadows, blown highlights, heavy grain creating mysterious atmosphere. Composition emphasizes sacred spaces and pilgrimage. Thomas Struth church interiors, Candida Höfer architectural documentation, religious tourism meets fashion editorial, spiritual Schwarzwald mysticism."

Eight input reference images with generated output

8 input references (clothing, accessories, style elements) → combined output

For multi-reference editing, describe how each input should be used. The model combines clothing items, accessories, and style references into a cohesive scene based on your prompt.

Prompt Upsampling

FLUX.2 offers a prompt_upsampling parameter that automatically enhances your prompt for better results. This is useful for:

  • Quick iterations without crafting detailed prompts
  • Exploring creative variations
  • When you have a basic concept but want richer output

Prompt upsampling adds detail and context to your prompt automatically. Your original intent is preserved while the model expands on visual elements.