How to Use GPT Image 1.5 in Codex
Use GPT Image 1.5 to create illustrations, poster concepts, and product scenes from a written brief. Unlike GPT Image 1.5 Edit, it starts without a reference image.
Prompts to try with GPT Image 1.5 in Codex
Copy an example into Codex, or ask in your own words.
Read the homepage copy and use GPT Image 1.5 to create a 1536×1024 editorial illustration for the article about repairing appliances. Show a technician examining an open toaster, use a two-color woodcut treatment, and leave the left third clear for the page headline.
Read the onboarding instructions and use GPT Image 1.5 to create a 1536×1024 three-panel illustration of the first three steps. Use the step names exactly as written, keep labels large, and save the result in the project's image assets.
Use GPT Image 1.5 to create a 1024×1024 PNG illustration for the empty reading list screen. Show an open book beside a sleeping orange cat, use a transparent background, and include no lettering.
Generate a product photo with GPT Image 1.5: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
Make four logo concepts for a coffee brand called "Northline" with GPT Image 1.5.
How to set up GPT Image 1.5 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 GPT Image 1.5
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/gpt-image-1.5", "input": { "prompt": "create a realistic image taken with iphone at these coordinates 41°43′32″N 49°56′49″W 15 April 1912" } }'
Then paste one of the prompts above: Codex finds GPT Image 1.5 on Spiral, shows the price and runs it.
GPT Image 1.5 providers and prices
Spiral runs GPT Image 1.5 through fal. Open a card for today's price, with every fee included.
Up to $0.26 per run at the default inputs. quality: low $0.0169, medium $0.0663, high (default) $0.26. Per unit of num_images: low $0.0169, medium $0.0663, high (default) $0.26.
Settings you can ask for
GPT Image 1.5 works from your prompt. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Image size | 1024x1024, 1536x1024, or 1024x1536 | 1024x1024 | Aspect ratio for the generated image |
| Background | auto, transparent, or opaque | auto | Background for the generated image |
| Quality | low, medium, or high | high | Quality for the generated image |
| Number of images | 1 to 4 | 1 | Number of images to generate |
| Output format | jpeg, png, or webp | png | Output format for the images |
Every API field of GPT-Image 1.5 · Text to Image is on its tool page: open its card above.
What can you do with GPT Image 1.5 in Codex?
Create illustrations, labeled graphics, and product scene concepts for the project you are building. Have the agent turn the project's content and visual requirements into a concrete image brief.
Event poster concepts
Create a poster from a written brief with GPT Image 1.5, or revise an existing poster with GPT Image 1.5 Edit. Specify the exact headline, its position, and the main illustration.
Explainer infographics
Illustrate a short process with labeled panels. Use GPT Image 1.5 for the initial concept or GPT Image 1.5 Edit to revise a supplied diagram.
Editorial illustrations
Develop an illustration for an article or newsletter with GPT Image 1.5. Use GPT Image 1.5 Edit when the illustration already exists and needs a different treatment.
Product scene concepts
Explore materials, lighting, and staging before a photo shoot. Use GPT Image 1.5 for an imagined product scene or GPT Image 1.5 Edit to work from an approved product photo.
Original character concepts
Use GPT Image 1.5 to explore an original character from a written description. Specify its silhouette, clothing, materials, and illustration medium.
More on GPT Image 1.5 and Codex
Overview
GPT Image 1.5 in other agents
Questions about GPT Image 1.5 in Codex
Can Codex use GPT Image 1.5?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run GPT Image 1.5 like any built-in tool.
How much does GPT Image 1.5 cost in Codex?
Up to $0.26 per run at the default inputs. `quality`: low $0.0169, medium $0.0663, high (default) $0.26. $0.26 per unit of `num_images`. 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 GPT Image 1.5 in Codex?
No. Spiral runs GPT Image 1.5 on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up GPT Image 1.5 in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while GPT Image 1.5 runs?
GPT Image 1.5 runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.
What is GPT Image 1.5 useful for?
Use it for illustrations, product scene concepts, infographics, and posters with text inside the image. Describe the intended use and the visual details that matter, such as materials, lighting, and panel arrangement.
What image sizes does GPT Image 1.5 produce?
It produces 1024×1024 square images, 1536×1024 landscape images, and 1024×1536 portrait images. Choose the composition for its destination before generating the image.
How should I request text inside an image?
Put the exact wording in quotation marks and describe where it belongs. For example: Place "Saturday plant swap" at the top in large black lettering.
Can GPT Image 1.5 produce a transparent background?
Yes. Explicitly request a transparent background and choose PNG or WebP so the output can retain transparency.
How should I brief a photorealistic image?
Describe the subject, materials, and lighting in concrete terms. A request for a brushed steel kettle beside a window gives a clearer target than a request for a beautiful product image.
Start using GPT Image 1.5 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


