[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [FLUX 1.1 Pro Ultra](https://spiral.ai/integrations/codex/flux-1-1-pro-ultra)

# How to Use FLUX 1.1 Pro Ultra in Codex

FLUX 1.1 Pro Ultra makes detailed product images, editorial illustrations, and photographs at up to 4 megapixels. Compared with FLUX 1.1 Pro, it offers four times the resolution, plus Raw mode for a more natural photographic look.

|  |  |
| --- | --- |
| Model | FLUX 1.1 Pro Ultra |
| Available through | fal |
| Category | Image |
| Price | $0.078 per image. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX 1.1 Pro Ultra in Codex

- Read the homepage copy and use FLUX 1.1 Pro Ultra to create a 16:9 header photograph that expresses its main idea. Place the subject on the right and leave open space on the left for the existing headline.
- Read the article draft in this project and use FLUX 1.1 Pro Ultra to create a 3:2 editorial illustration of its central argument. Pick one clear visual metaphor and explain how it relates to the article.
- Use FLUX 1.1 Pro Ultra to create a 1:1 product photography concept based on the product brief in this repository. Show a matte surface, soft light from the upper left, and a plain backdrop.
- Inspect the reference image in the project's assets and use FLUX 1.1 Pro Ultra to create a new 16:9 image guided by it. Keep its influence moderate and compare the result with the reference before adding it to the page.
- Use FLUX 1.1 Pro Ultra with Raw mode enabled to create a 9:16 nature photograph for the project's mobile welcome screen. Read the screen copy first, then choose a scene with space above the subject for the title.

## How to set up FLUX 1.1 Pro Ultra in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
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.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run FLUX 1.1 Pro Ultra**: One request; the result comes back by polling or a webhook.

```bash
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-pro/v1.1-ultra",
    "input": {
      "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture…"
    }
  }'
```

Then paste one of the prompts above: Codex finds FLUX 1.1 Pro Ultra on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## FLUX 1.1 Pro Ultra tools and prices

- [FLUX1.1 \[pro\] ultra · Text to Image](https://spiral.ai/tools/fal/fal-ai/flux-pro/v1.1-ultra) (fal): $0.078 per image. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| num_images | 1 to 4 | 1 | The number of images to generate. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. |
| enhance_prompt |  | false | Whether to enhance the prompt for better results. |
| image_url |  | — | The image URL to generate an image from. |

## What can you do with FLUX 1.1 Pro Ultra in Codex?

Create photographic assets and editorial artwork around your project's actual content. Use the page copy and layout to write a concrete brief with the subject, framing, and lighting.

### Website header photography

Create a wide photograph with the subject on one side and open space for a headline added during page design.

### Product photography concepts

Explore studio lighting, surface materials, and camera angles for a proposed product shoot. Review generated details before treating them as a product representation.

### Editorial illustrations

Turn an article's central idea into a scene with a specific subject, setting, and visual treatment.

### Nature imagery

Use Raw mode to explore photographs of forests, coastlines, plants, and mountain scenes with a natural photographic look.

### Portrait art direction

Explore candid portrait concepts by specifying the person's activity, surroundings, framing, and light.

### Reference-led image concepts

Start with an image as visual context, then explore a new composition or treatment. Adjust its influence and inspect which details carry through.

### Campaign image exploration

Develop separate image concepts around one campaign brief, such as a studio product scene, a candid lifestyle scene, and an editorial illustration.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## FLUX 1.1 Pro Ultra in other agents

- [Amp](https://spiral.ai/integrations/amp/flux-1-1-pro-ultra)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/flux-1-1-pro-ultra)
- [Claude](https://spiral.ai/integrations/claude-desktop/flux-1-1-pro-ultra)
- [Claude Code](https://spiral.ai/integrations/claude-code/flux-1-1-pro-ultra)
- [Cline](https://spiral.ai/integrations/cline/flux-1-1-pro-ultra)
- [Cursor](https://spiral.ai/integrations/cursor/flux-1-1-pro-ultra)
- [Devin](https://spiral.ai/integrations/devin/flux-1-1-pro-ultra)
- [dots](https://spiral.ai/integrations/dots/flux-1-1-pro-ultra)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/flux-1-1-pro-ultra)
- [Gemini](https://spiral.ai/integrations/gemini/flux-1-1-pro-ultra)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/flux-1-1-pro-ultra)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/flux-1-1-pro-ultra)
- [goose](https://spiral.ai/integrations/goose/flux-1-1-pro-ultra)
- [Grok](https://spiral.ai/integrations/grok/flux-1-1-pro-ultra)
- [Grok Build](https://spiral.ai/integrations/grok-build/flux-1-1-pro-ultra)
- [Hermes](https://spiral.ai/integrations/hermes/flux-1-1-pro-ultra)
- [Instinct](https://spiral.ai/integrations/instinct/flux-1-1-pro-ultra)
- [Manus](https://spiral.ai/integrations/manus/flux-1-1-pro-ultra)
- [Muse](https://spiral.ai/integrations/muse/flux-1-1-pro-ultra)
- [Muse Code](https://spiral.ai/integrations/muse-code/flux-1-1-pro-ultra)
- [n8n](https://spiral.ai/integrations/n8n/flux-1-1-pro-ultra)
- [Notion](https://spiral.ai/integrations/notion/flux-1-1-pro-ultra)
- [OpenClaw](https://spiral.ai/integrations/openclaw/flux-1-1-pro-ultra)
- [opencode](https://spiral.ai/integrations/opencode/flux-1-1-pro-ultra)
- [Perplexity](https://spiral.ai/integrations/perplexity/flux-1-1-pro-ultra)
- [Raycast](https://spiral.ai/integrations/raycast/flux-1-1-pro-ultra)
- [VS Code](https://spiral.ai/integrations/vscode/flux-1-1-pro-ultra)
- [Windsurf](https://spiral.ai/integrations/windsurf/flux-1-1-pro-ultra)
- [Zapier](https://spiral.ai/integrations/zapier/flux-1-1-pro-ultra)

## More Codex guides

- [FLUX 1.1 Pro](https://spiral.ai/integrations/codex/flux-1-1-pro)
- [FLUX 3 Image](https://spiral.ai/integrations/codex/flux-3-image)
- [FIBO Edit Restyle](https://spiral.ai/integrations/codex/fibo-edit-restyle)
- [FLUX 3 Image Edit](https://spiral.ai/integrations/codex/flux-3-image-edit)
- [FIBO Edit 1.5](https://spiral.ai/integrations/codex/fibo-edit-1-5)
- [FLUX 3 Klein Image Edit](https://spiral.ai/integrations/codex/flux-3-klein-image-edit)

## Questions about FLUX 1.1 Pro Ultra in Codex

**Can Codex use FLUX 1.1 Pro Ultra?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FLUX 1.1 Pro Ultra like any built-in tool.

**How much does FLUX 1.1 Pro Ultra cost in Codex?**

$0.078 per image. 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 1.1 Pro Ultra in Codex?**

No. Spiral runs FLUX 1.1 Pro Ultra 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 1.1 Pro Ultra in Codex?**

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

**Does Codex wait while FLUX 1.1 Pro Ultra runs?**

FLUX 1.1 Pro Ultra runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.

**What is FLUX 1.1 Pro Ultra good for?**

Use it for product image concepts, editorial illustrations, and marketing images that need fine detail. Raw mode is a useful choice for photographic work.

**How large are FLUX 1.1 Pro Ultra images?**

Output reaches up to 4 megapixels. That describes the total pixel count, so avoid treating it as a promise of 4K dimensions.

**When should I use Raw mode?**

Try Raw mode for candid portraits and nature scenes. Black Forest Labs describes improvements in human diversity and nature photography realism.

**Can a reference image guarantee an exact copy?**

Treat a reference as visual guidance. Black Forest Labs describes it as context with adjustable influence, so review the result before using it where exact appearance matters.

**How should I write a photographic prompt?**

Describe the subject and where it sits, then specify the light source, direction, and softness. For example: a ceramic bowl in the right foreground, lit by soft window light from the left.

