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 Text to Image in opencode

GPT Image 2.5 Flare Text to Image creates images from written briefs, including photographs, illustrations, and layouts with text. Unlike GPT Image 2.5 Flare Edit, it starts from your description rather than an existing image.

Prompts to try with GPT Image 2.5 Flare Text to Image in opencode

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

Read the homepage copy and design tokens, then use GPT Image 2.5 Flare Text to Image for a 1536 × 1024 editorial illustration about urban gardening. Match the project palette, leave the left third clear, and include no text.

GPT Image 2.5 Flare Text to Imageopencode
Try asking
  • Read the onboarding requirements and use GPT Image 2.5 Flare Text to Image for a 1024 × 1536 screen preview. Show the actual headings from the specification, clear spacing, and one primary action. Check the generated wording.

  • Use GPT Image 2.5 Flare Text to Image to create a 1024 × 1024 transparent PNG of a small clay watering can for our empty state. Use soft side lighting, no lettering, and generous padding.

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

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

    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": "openai/gpt-image-2.5/flare/text-to-image",
        "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: opencode finds GPT Image 2.5 Flare Text to Image on Spiral, shows the price and runs it.

GPT Image 2.5 Flare Text to Image providers and prices

Spiral runs GPT Image 2.5 Flare Text to Image through fal. Open a card for today's price, with every fee included.

falImage
GPT Image 2.5 Flare · Text to Image
openai/gpt-image-2.5/flare/text-to-image

Settings you can ask for

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

SettingAllowed valuesDefaultDescription
Backgroundauto, transparent, or opaqueauto

Background for the generated image

Qualityauto, low, medium, high, xhigh, or maxhigh

Quality for the generated image. Higher settings increase detail, latency, and token usage. Use 'auto' to let the model choose.

Number of images1 to 101

Number of images to generate

Output formatjpeg, png, or webppng

Output format for the images

Output compression0 to 100

Compression level from 0 to 100. Only supported when output_format is 'jpeg' or 'webp'.

Image passthroughon or offoff

Send reference images and masks without resizing or re-encoding, and return the provider's original image bytes and format. Requests use the direct OpenAI API. Masks must be PNGs with an alpha channel: transparent regions are edited, and dimensions must match the first reference.

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 Text to Image in opencode?

Turn project requirements into image assets and screen previews with GPT Image 2.5 Flare. A coding agent can use the project's design guidance to write briefs and check the resulting assets against their intended placement.

Social campaign visuals

Create a campaign scene from a written brief, or adapt an existing campaign image while preserving its main subject.

Editorial illustrations

Illustrate an article concept from text, or restyle an existing illustration with a specified palette and medium.

Interface previews

Explore screen layouts from a description, or revise an existing screen image. Review text and alignment before implementing the design.

Product scene concepts

Visualize a proposed product from a written description, or place an existing product image in a different setting.

GPT Image 2.5 Flare Text to Image success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
98.4%
Fastest median run time
24.2s
Runs, last 24 hours
970
ToolSuccessMedian timeRuns
GPT Image 2.5 Flare · Text to Image98.4%24.2s970

Questions about GPT Image 2.5 Flare Text to Image in opencode

Can opencode use GPT Image 2.5 Flare Text to Image?

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

How much does GPT Image 2.5 Flare Text to Image cost in opencode?

$0.0473 per 4:3 image at high quality ($0.00559 low, $0.0121 medium, $0.0839 xhigh, $0.188 max). At high: $0.0603 square, $0.0689 square HD, $0.0341 16:9. 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 a fal account to use GPT Image 2.5 Flare Text to Image in opencode?

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

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

Does opencode wait while GPT Image 2.5 Flare Text to Image runs?

GPT Image 2.5 Flare Text to Image 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?

Flare suits visual drafts for social content, product experiences, and image prototyping. Its strengths include natural lighting, textures, and following a defined visual style.

How large can GPT Image 2.5 Flare images be?

The longest edge can reach 3840 pixels, including 3840 × 2160 output. Dimensions must be multiples of 16, stay within a 3:1 aspect ratio, and total 655360 to 8294400 pixels; output above 2560 × 1440 is experimental.

Can GPT Image 2.5 Flare render readable text?

Yes, but exact placement and clarity can still fail. Put required wording in quotes, specify where it belongs, request no additional text, and check the result.

Can GPT Image 2.5 Flare create transparent images?

Yes. Request a transparent background with PNG or WebP output, then inspect edges and transparent areas before using the asset.

Does higher quality always improve GPT Image 2.5 Flare results?

No. Start with low quality for drafts, then compare higher settings against the specific detail or text problem you need to fix.

Get started

Start using GPT Image 2.5 Flare Text to Image 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