Spiral gives your agent every tool with one account. Browse the tools →

Codex · Image

How to Use FLUX.2 HDR Style in Codex

FLUX.2 HDR Style turns written scenes into surreal images with intense colors and dramatic lighting. Compared with FLUX.2 base, it favors a consistent HDR look over broad stylistic flexibility.

Prompts to try with FLUX.2 HDR Style in Codex

Copy an example into Codex, or ask in your own words.

Read the game's homepage copy and use FLUX.2 HDR Style to create a volcanic island at sunrise, with a small harbor on the right and open sky on the left for the headline.

FLUX.2 HDR StyleCodex
Try asking
  • Inspect the music landing page layout, then use FLUX.2 HDR Style to create a copper observatory above a sea of clouds. Place the observatory away from the page's text area.

  • Use FLUX.2 HDR Style to create a concept image for our fictional speaker page: a black speaker on wet slate, amber side lighting, and sharp reflections. Save it with the project's image assets.

  • Read the article draft about urban heat and use FLUX.2 HDR Style to illustrate a lone tree shading an empty city intersection, with harsh afternoon sunlight beyond the canopy.

  • Use FLUX.2 HDR Style to create two separate interpretations of the game's desert outpost, one with subtle HDR treatment and one with stronger treatment. Keep the written scene description unchanged.

How to set up FLUX.2 HDR Style in Codex

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FLUX.2 HDR Style

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/flux-2-lora-gallery/hdr-style",
        "input": {
          "prompt": "A wonderful tropical landscape"
        }
      }'

Then paste one of the prompts above: Codex finds FLUX.2 HDR Style on Spiral, shows the price and runs it.

FLUX.2 HDR Style providers and prices

Spiral runs FLUX.2 HDR Style through fal. Open a card for today's price, with every fee included.

falImage
FLUX 2 Lora Gallery Hdr Style
fal-ai/flux-2-lora-gallery/hdr-style

Settings you can ask for

FLUX.2 HDR Style works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 202.5

The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Number of inference steps4 to 5040

The number of inference steps to perform.

Accelerationnone or regularregular

Acceleration level for image generation. 'regular' balances speed and quality.

Seeda whole number

Random seed for reproducibility. Same seed with same prompt will produce same result.

Output formatpng, jpeg, or webppng

The format of the output image

Number of images1 to 41

Number of images to generate

LoRA scale0 to 21

The strength of the HDR style effect.

Every API field of FLUX 2 Lora Gallery Hdr Style is on its tool page: open its card above.

What can you do with FLUX.2 HDR Style in Codex?

Create dramatic scene artwork for the interface you are building. A coding agent can turn project copy and layout requirements into specific image briefs, then place the selected results in the page.

Fantasy environment concepts

Explore volcanic islands, floating citadels, or luminous forests with exaggerated color and directional light.

Product campaign concepts

Stage an imagined watch, bottle, or speaker against reflective surfaces to explore dramatic advertising compositions.

Cinematic scene planning

Draft a still of a rain-soaked street or desert outpost to discuss lighting, atmosphere, and camera position.

Editorial illustrations

Translate an article theme into a surreal visual metaphor, such as a tree growing through a city intersection.

Music artwork concepts

Explore richly colored landscapes and dramatic objects for cover artwork, leaving room for typography added afterward.

Website scene artwork

Create an atmospheric landscape for a game or entertainment website, with the composition planned around the page's text.

Questions about FLUX.2 HDR Style in Codex

Can Codex use FLUX.2 HDR Style?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FLUX.2 HDR Style like any built-in tool.

How much does FLUX.2 HDR Style cost in Codex?

$0.0273 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need a fal account to use FLUX.2 HDR Style in Codex?

No. Spiral runs FLUX.2 HDR Style on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up FLUX.2 HDR Style in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while FLUX.2 HDR Style runs?

FLUX.2 HDR Style runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.

What is FLUX.2 HDR Style best for?

Choose it for surreal scenes where intense color and dramatic lighting are part of the brief. Suggested projects include fantasy landscapes, product concepts, and cinematic illustrations.

When is FLUX.2 HDR Style a poor fit?

Its HDR emphasis makes it a less suitable starting point for muted documentary images or neutral product pictures. That recommendation follows from its deliberate specialization in surreal lighting and color.

Do I need to include the HDR trigger?

No. Hyp3rRe4list1c is added automatically, so spend your prompt on the subject, setting, composition, and lighting.

How do I make the HDR treatment less intense?

Lower the HDR effect strength while keeping your scene description unchanged. Compare the results before rewriting the prompt, so you can judge the styling separately from the subject.

How should I write a FLUX.2 HDR Style prompt?

Write a concrete scene in natural language. Name the subject, describe its surroundings, and specify the direction and character of the light instead of stacking generic quality keywords.

Get started

Start using FLUX.2 HDR Style in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options