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

opencode · Image

How to Use GPT Image 2.6 Sunburst Text to Image in opencode

GPT Image 2.6 Sunburst Text to Image creates detailed compositions from a written brief. Unlike GPT Image 2.6 Sunburst Edit, it starts without a reference image, making it useful for original illustrations, poster concepts, and product scenes.

Prompts to try with GPT Image 2.6 Sunburst Text to Image in opencode

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

Read the homepage brief and design tokens in this project. Use GPT Image 2.6 Sunburst Text to Image to create a 1536 × 1024 editorial illustration for the hero, with the main subject on the right and open space on the left for HTML text.

GPT Image 2.6 Sunburst Text to Imageopencode
Try asking
  • Read the onboarding requirements in this repository. Use GPT Image 2.6 Sunburst Text to Image to create a 1536 × 1024 screen concept with the specified labels and hierarchy. Compare the rendered labels with the requirements and flag errors.

  • Read the workflow description in the project documentation. Use GPT Image 2.6 Sunburst Text to Image to make a 1536 × 1024 process illustration using only its verified steps and labels. Check the arrows and text against the documentation.

  • Generate a product photo with GPT Image 2.6 Sunburst 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.6 Sunburst Text to Image.

How to set up GPT Image 2.6 Sunburst 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.6 Sunburst 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.6/sunburst/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.6 Sunburst Text to Image on Spiral, shows the price and runs it.

GPT Image 2.6 Sunburst Text to Image providers and prices

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

falImage
GPT Image 2.6 Sunburst · Text to Image
openai/gpt-image-2.6/sunburst/text-to-image

Settings you can ask for

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

What can you do with GPT Image 2.6 Sunburst Text to Image in opencode?

Turn project briefs into image assets and visual concepts with GPT Image 2.6 Sunburst. Use the project's design requirements to specify composition and lettering, then inspect the output before adding it to the interface.

Product campaign images

Build a product scene from a written concept, or revise an existing product photo while preserving its shape and label. Specify the lighting, backdrop, and space needed for campaign copy.

Event posters

Create a poster from an event brief or update an existing design. Supply the exact headline, date, and location, then check every word in the result.

Process diagrams

Illustrate a short process from supplied steps, or revise a diagram that needs clearer visual hierarchy. Provide the labels and connections explicitly, then verify their placement.

App interface concepts

Explore a screen design from a written specification or refine an existing screen image. Define the navigation, content hierarchy, and exact labels before generating the visual.

Editorial illustrations

Commission an original illustration from an article summary. Specify the central visual metaphor, medium, palette, and space for a headline.

Storyboard frames

Create still frames for a proposed scene before production. Describe the camera position, characters, environment, and action for each frame.

Questions about GPT Image 2.6 Sunburst Text to Image in opencode

Can opencode use GPT Image 2.6 Sunburst Text to Image?

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

How much does GPT Image 2.6 Sunburst Text to Image cost in opencode?

$0.0473 per 4:3 image at high quality ($0.0224 low, $0.0391 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.6 Sunburst Text to Image in opencode?

No. Spiral runs GPT Image 2.6 Sunburst 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.6 Sunburst Text to Image in opencode?

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

Does opencode wait while GPT Image 2.6 Sunburst Text to Image runs?

GPT Image 2.6 Sunburst 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.6 Sunburst good at?

Detailed compositions and image editing are its main strengths. Consider it for visuals where product details, illustration detail, or careful revisions affect whether the image is usable.

How large can GPT Image 2.6 Sunburst images be?

The longest edge can reach 3,840 pixels, with an aspect ratio no wider or taller than 3:1. The total image must contain between 655,360 and 8,294,400 pixels, so the edge limit does not permit a 3,840 × 3,840 square.

Can GPT Image 2.6 Sunburst make transparent images?

Yes. Request a transparent background and choose PNG or WebP so the result can retain transparency.

Can I trust text inside a generated image?

Review it before publishing. Precise text placement and clarity can still fail, especially when the wording must fit a particular part of the design.

How should I prompt GPT Image 2.6 Sunburst?

Put required wording in quotation marks and specify where it belongs and how it should look. When requesting a revision, state the change separately from the details that must stay unchanged.

Get started

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