Skip to main content
For complex scenes and production workflows, FLUX.2 interprets structured JSON prompts, giving you precise control over every aspect of your image. When to use JSON:
  • Production workflows requiring consistent structure
  • Automation and programmatic generation
  • Complex scenes with multiple subjects and relationships
  • When you need to iterate on specific elements independently
When natural language works better:
  • Quick iterations and exploration
  • Simple, single-subject scenes
  • When prompt length isn’t a concern
  • Creative workflows where flexibility matters
FLUX.2 understands both formats equally well—choose based on your workflow needs.

The Base Schema

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

Professional product shot of a single black coffee mug with steam

Step 2: Adding a second mug in a different color

Product shot with black and yellow coffee mugs

Step 3: Change the color of the steam

Product shot with black and yellow mugs, red steam rising from the black mug
You can include the JSON directly in your prompt, or flatten it into natural language. FLUX.2 understands both formats.
For an applied JSON example with precise brand color matching, see HEX Color Prompting → Precise Color Control in JSON.