How to Use FLUX 1.1 Pro in Codex
FLUX 1.1 Pro turns written descriptions into photographs, illustrations, and visual concepts with strong prompt following. Unlike FLUX 1.1 Pro Ultra, it targets standard-resolution work rather than 4-megapixel output.
Prompts to try with FLUX 1.1 Pro in Codex
Copy an example into Codex, or ask in your own words.
Read the homepage copy and use FLUX 1.1 Pro to create a 1280 × 720 hero image that expresses its main idea. Describe one clear subject in an editorial photography style, place it on the right, and leave the left half visually quiet for the headline.
Read the gardening article in this project and use FLUX 1.1 Pro to generate a 1024 × 1024 illustration: a gardener's hands holding a small terracotta pot with a young tomato plant, rendered as a detailed watercolor against a pale blue background.
Use FLUX 1.1 Pro to create a 1024 × 1024 empty-state illustration for the reading list screen: a closed red book beside an empty wooden chair, painted in gouache with broad shapes and a plain white background. Match the tone of the screen's copy.
Read the game's setting notes and use FLUX 1.1 Pro to generate a 1280 × 720 environment concept. Show the main settlement from street level, specify its building materials and weather, and use a painted concept-art style.
Use FLUX 1.1 Pro to create a 1024 × 1024 image for the coffee shop demo: an overhead photograph of an espresso cup on a dark wooden table, a folded linen napkin at the lower right, soft window light, and crisp ceramic texture. Leave prompt enhancement off.
How to set up FLUX 1.1 Pro in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- 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
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run FLUX 1.1 Pro
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-pro/v1.1", "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 on Spiral, shows the price and runs it.
FLUX 1.1 Pro providers and prices
Spiral runs FLUX 1.1 Pro through fal. Open a card for today's price, with every fee included.
$0.052 per megapixel. image_size presets count as 1 MP; custom sizes round up to whole megapixels. Billed on num_images, default 1.
Settings you can ask for
FLUX 1.1 Pro works from your prompt. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | The same seed and the same prompt given to the same version of the model will output the same image every time. | |
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Safety tolerance | 1 to 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. |
| Enhance prompt | on or off | off | Whether to enhance the prompt for better results. |
Every API field of FLUX1.1 [pro] · Text to Image is on its tool page: open its card above.
What can you do with FLUX 1.1 Pro in Codex?
Create artwork that fits the project you are building, from website headers to illustrated empty states. Have the agent turn project copy into a concrete visual brief, then use FLUX 1.1 Pro to generate the image.
Website hero artwork
Create a landscape image from a written brief, placing the main subject to one side and reserving an uncluttered area for the headline.
Article illustrations
Turn an article's central idea into a photographic scene or painted visual metaphor, such as a greenhouse for a story about patient growth.
Social post artwork
Generate square images around one clear subject, with the campaign caption added separately during layout.
Product concept scenes
Explore an imagined product's materials, setting, and photographic treatment from a written description before planning a shoot.
Presentation visuals
Create landscape illustrations for slide topics, using simple compositions with space for titles and annotations.
Art direction studies
Render the same written concept as a studio photograph, oil painting, or surreal scene to compare creative directions.
Game environment concepts
Describe a fictional location, its architecture, and its mood to create a scene for early visual development.
More on FLUX 1.1 Pro and Codex
Overview
FLUX 1.1 Pro in other agents
Questions about FLUX 1.1 Pro in Codex
Can Codex use FLUX 1.1 Pro?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run FLUX 1.1 Pro like any built-in tool.
How much does FLUX 1.1 Pro cost in Codex?
$0.052 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 1.1 Pro in Codex?
No. Spiral runs FLUX 1.1 Pro 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 in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while FLUX 1.1 Pro runs?
FLUX 1.1 Pro 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 good at?
FLUX 1.1 Pro is useful for turning a written art direction into photographic or illustrated images. Use it to explore subjects, visual styles, and compositions for digital content.
How large are FLUX 1.1 Pro images?
Black Forest Labs documents standard FLUX.1 output at up to 1,048,576 pixels, roughly one megapixel. A 1024 × 1024 square fits that limit.
How should I write a FLUX 1.1 Pro prompt?
Describe a clear subject and name the visual style you want. For example, specify a ceramic cup photographed beside a window rather than asking for a beautiful product image.
Does FLUX 1.1 Pro support negative prompts?
No. Describe the result positively: use an empty beach or a plain backdrop instead of listing things to exclude.
When should I leave prompt enhancement off?
Leave it off when you want to test your exact wording or have already written a detailed brief. Prompt expansion adds detail before generation, so try it when a short description needs development.
Start using FLUX 1.1 Pro in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


