How to Use GPT Image 2.5 Flare in opencode
GPT Image 2.5 Flare turns text briefs into social graphics, product concepts, and illustrations. Unlike GPT Image 2.5 Flare Edit, it starts from text alone.
Prompts to try with GPT Image 2.5 Flare in opencode
Copy an example into opencode, or ask in your own words.
Read the homepage copy and theme colors, then use GPT Image 2.5 Flare to create a 1536 × 1024 editorial illustration of a bicycle repair bench. Put the tools on the right and leave the left third open for the heading; include no text.
Use GPT Image 2.5 Flare to create a 1024 × 1024 transparent PNG illustration for the project's empty search state: a small telescope beside a closed notebook. Match the existing illustration colors and keep the silhouette simple.
Read the event details in the project, then use GPT Image 2.5 Flare to draft a 1024 × 1536 poster with the title 'Repair Saturday' exactly once. Use medium quality and check the lettering against the brief.
Generate a product photo with GPT Image 2.5 Flare: 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 2.5 Flare.
How to set up GPT Image 2.5 Flare in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 2.5 Flare
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": "openai", "model": "gpt-image-2.5-flare", "input": { "prompt": "A cute baby sea otter" } }'
Then paste one of the prompts above: opencode finds GPT Image 2.5 Flare on Spiral, shows the price and runs it.
GPT Image 2.5 Flare providers and prices
Spiral runs GPT Image 2.5 Flare through OpenAI. Open a card for today's price, with every fee included.
$0.0686 per 1024×1024 image at high quality ($0.00775 low, $0.0172 medium, $0.122 xhigh, $0.274 max). At high: $0.0536 at 1536×1024 or 1024×1536, $0.0486 at 1792×1024 or 1024×1792, $0.0509 at 512×512, $0.0465 at 256×256. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens.
Settings you can ask for
GPT Image 2.5 Flare works from your prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| N | 1 to 10 | 1 | The number of images to generate. Must be between 1 and 10. |
| Quality | low, medium, high, xhigh, max, or auto | auto | The quality of the image that will be generated.
model.
snapshots, also support |
| Background | transparent, opaque, or auto | auto | Set the background of the generated image(s). This parameter is only supported for the GPT image models. Must be one of value). When background for the image.
snapshots, support are available for supported GPT Image models. For
set the output format to |
| Output format | png, jpeg, or webp | png | The format in which the generated images are returned. This parameter is only supported for the GPT image models. Must be one of |
| Output compression | a whole number | 100 | The compression level (0-100%) for the generated images. This parameter is only supported for the GPT image models with the |
Every API field of GPT Image 2.5 Flare · Text to Image is on its tool page: open its card above.
What can you do with GPT Image 2.5 Flare in opencode?
Create visual assets that match the project’s page content and design direction. Turn the relevant files into a concrete image brief, then review the result in its intended layout.
Social campaign graphics
Create a graphic from a written campaign brief, or revise an existing campaign image while keeping its visual direction.
Product scene concepts
Explore lighting, materials, and settings for a proposed product. Use a source product photo when the design already exists.
Website illustrations
Develop an illustration from a page brief or adapt existing artwork to a new composition. Specify space for the page heading.
Event poster drafts
Explore a poster concept or revise supplied poster artwork. Review lettering and placement before using the result.
Presentation visuals
Create a visual for a slide or rework an existing image to fit the presentation's composition and style.
Transparent graphic assets
Generate an isolated illustration or isolate a subject from supplied artwork. Request PNG or WebP with a transparent background.
More on GPT Image 2.5 Flare and opencode
Overview
GPT Image 2.5 Flare in other agents
Questions about GPT Image 2.5 Flare in opencode
Can opencode use GPT Image 2.5 Flare?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GPT Image 2.5 Flare like any built-in tool.
How much does GPT Image 2.5 Flare cost in opencode?
$0.0686 per 1024×1024 image at high quality ($0.00775 low, $0.0172 medium, $0.122 xhigh, $0.274 max). At high: $0.0536 at 1536×1024 or 1024×1536, $0.0486 at 1792×1024 or 1024×1792, $0.0509 at 512×512, $0.0465 at 256×256. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an OpenAI account to use GPT Image 2.5 Flare in opencode?
No. Spiral runs GPT Image 2.5 Flare on its own OpenAI account. You sign in to Spiral once and never paste a key.
How long does it take to set up GPT Image 2.5 Flare in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while GPT Image 2.5 Flare runs?
GPT Image 2.5 Flare runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
What is GPT Image 2.5 Flare good at?
It is a practical choice for social graphics, product concepts, and rapid visual prototyping. OpenAI positions Flare for everyday image work where generation speed matters.
How large can GPT Image 2.5 Flare images be?
Output can reach 3840 × 2160, but resolutions above 2560 × 1440 are experimental. Custom widths and heights must be divisible by 16, with an aspect ratio between 1:3 and 3:1.
Can I rely on exact text and consistent branding?
Check every result: precise lettering, placement, and recurring brand elements can still drift. Review generated graphics before publishing them.
What should I include in a prompt?
Describe the subject, composition, visual style, and constraints. Give concrete directions such as where the subject belongs and which details must remain unchanged.
Should I always use the highest quality?
Test a higher setting when a specific requirement is unmet. Once the result works, compare lower settings; the highest setting does not guarantee a better image.
Start using GPT Image 2.5 Flare in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


