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

opencode · ImageReleased 2026-09-08

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.

GPT Image 2.5 Flareopencode
Try asking
  • 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

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 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.

OpenAIImage

Settings you can ask for

GPT Image 2.5 Flare works from your prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
N1 to 101

The number of images to generate. Must be between 1 and 10.

Qualitylow, medium, high, xhigh, max, or autoauto

The quality of the image that will be generated.

  • auto (default value) will automatically select the best quality for the given

model.

  • high, medium and low are supported for the GPT image models.
  • gpt-image-2.5-sunburst and gpt-image-2.5-flare, including their 2026-09-08

snapshots, also support xhigh and max.

Backgroundtransparent, opaque, or autoauto

Set the background of the generated image(s). This parameter is only supported for

the GPT image models. Must be one of transparent, opaque, or auto (default

value). When auto is used, the model will automatically determine the best

background for the image.

gpt-image-2.5-sunburst and gpt-image-2.5-flare, including their 2026-09-08

snapshots, support opaque and transparent backgrounds. Transparent backgrounds

are available for supported GPT Image models. For gpt-image-2 and

gpt-image-2-2026-04-21, this support is in preview. When using transparent,

set the output format to png or webp.

Output formatpng, jpeg, or webppng

The format in which the generated images are returned. This parameter is only supported for the GPT image models. Must be one of png, jpeg, or webp.

Output compressiona whole number100

The compression level (0-100%) for the generated images. This parameter is only supported for the GPT image models with the webp or jpeg output formats, and defaults to 100.

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.

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.

Get started

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 opencode

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