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

opencode · ImageReleased 2026-09-08

How to Use GPT Image 2.5 Sunburst in opencode

GPT Image 2.5 Sunburst creates campaign artwork, product concepts, and illustrations from written briefs. Unlike GPT Image 2.5 Sunburst Edit, it starts from text without a reference image.

Prompts to try with GPT Image 2.5 Sunburst in opencode

Copy an example into opencode, or ask in your own words.

Use GPT Image 2.5 Sunburst to create a 1536x1024 editorial illustration for the article in this project about urban gardening. Show a rooftop vegetable garden in a woodcut style, with no text and open space on the left for the page heading.

GPT Image 2.5 Sunburstopencode
Try asking
  • Use GPT Image 2.5 Sunburst to create a 1024x1024 product concept based on the reusable bottle described in the project's product brief. Show brushed steel, a cork base, and soft window lighting. Include no lettering.

  • Use GPT Image 2.5 Sunburst to create a 1536x864 presentation illustration from the project's onboarding brief. Show a paper airplane moving between three islands, with a restrained ink illustration style and no embedded text.

  • Generate a product photo with GPT Image 2.5 Sunburst: 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 Sunburst.

How to set up GPT Image 2.5 Sunburst 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 Sunburst

    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-sunburst",
        "input": {
          "prompt": "A cute baby sea otter"
        }
      }'

Then paste one of the prompts above: opencode finds GPT Image 2.5 Sunburst on Spiral, shows the price and runs it.

GPT Image 2.5 Sunburst providers and prices

Spiral runs GPT Image 2.5 Sunburst through OpenAI. Open a card for today's price, with every fee included.

OpenAIImage

Settings you can ask for

GPT Image 2.5 Sunburst 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 Sunburst · Text to Image is on its tool page: open its card above.

What can you do with GPT Image 2.5 Sunburst in opencode?

Turn project briefs into campaign artwork, product concepts, and illustrations that fit the app's visual direction. A coding agent can use project copy and layout dimensions to make the image brief specific.

Campaign artwork

Create campaign artwork from a written brief or revise an existing campaign image. Specify the focal subject, lighting, headline space, and exact copy.

Product scene concepts

Explore a product scene from a description or place a supplied product in a new setting. Describe materials, camera angle, and lighting; check product details before use.

Presentation visuals

Create or revise a presentation illustration with a clear focal point and room for a slide title. Keep essential presentation text outside the image when exact typography matters.

Editorial illustrations

Turn an article brief into an illustration or adapt existing artwork for a new story. Define the visual metaphor, medium, palette, and intended crop.

Questions about GPT Image 2.5 Sunburst in opencode

Can opencode use GPT Image 2.5 Sunburst?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GPT Image 2.5 Sunburst like any built-in tool.

How much does GPT Image 2.5 Sunburst 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 Sunburst in opencode?

No. Spiral runs GPT Image 2.5 Sunburst 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 Sunburst in opencode?

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

Does opencode wait while GPT Image 2.5 Sunburst runs?

GPT Image 2.5 Sunburst 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 Sunburst good at?

OpenAI recommends Sunburst for campaign creative and product imagery, especially work that needs careful visual control. Give it a concrete brief describing the subject, composition, lighting, and intended use.

What image sizes can GPT Image 2.5 Sunburst produce?

Custom dimensions must be multiples of 16, stay within a 1:3 to 3:1 aspect ratio, and contain 655,360 to 8,294,400 pixels, with neither edge above 3,840 pixels. Output above 2560x1440 is experimental.

Can GPT Image 2.5 Sunburst make transparent images?

Yes. Request a transparent background and choose PNG or WebP for assets you want to place over other designs.

Can GPT Image 2.5 Sunburst put readable text in an image?

Yes, but precise placement and clarity can still fail. Quote the exact wording, specify where it belongs, and check every word before using the result.

How should I describe the image I want?

Name the deliverable, then describe its subject, composition, visual style, and constraints. For visible text, provide the exact wording in quotes and describe its position.

Get started

Start using GPT Image 2.5 Sunburst 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