[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [GPT Image 2.6 Sunburst Edit](https://spiral.ai/integrations/claude-code/gpt-image-2-6-sunburst-edit)

# How to Use GPT Image 2.6 Sunburst Edit in Claude Code

GPT Image 2.6 Sunburst Edit refines existing images while preserving the subject and composition through revisions. Unlike GPT Image 2.6 Sunburst Text to Image, it starts with reference images for changes such as replacing a backdrop or restyling a scene.

|  |  |
| --- | --- |
| Model | GPT Image 2.6 Sunburst Edit |
| Available through | fal |
| Category | Image |
| Price | $0.0475 per 4:3 image at high quality ($0.0225 low, $0.0393 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT Image 2.6 Sunburst Edit in Claude Code

- Use GPT Image 2.6 Sunburst Edit on the product photo in this project's assets. Replace only the backdrop with a neutral studio setting; preserve the product geometry, label, camera angle, and lighting. Return a 1024 × 1024 image.
- Use GPT Image 2.6 Sunburst Edit to isolate the product in the project's source photo on a transparent background. Preserve its silhouette and label, return a 1024 × 1536 PNG, and inspect the edges before saving it.
- Remove the background from the photo I attach with GPT Image 2.6 Sunburst Edit and give me a transparent PNG. Save the result in ./assets.
- Use GPT Image 2.6 Sunburst Edit to clean up these product shots so they sit on pure white.
- Edit this image with GPT Image 2.6 Sunburst Edit: keep the subject, swap the background for a sunlit studio.

## How to set up GPT Image 2.6 Sunburst Edit in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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.

```bash
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 Edit**: One request; the result comes back by polling or a webhook.

```bash
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/edit",
    "input": {
      "prompt": "Same workers, same beam, same lunch boxes - but they'\''re all on their phones now. One is taking a selfie. One is on a call looking annoyed. Same danger, new…",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds GPT Image 2.6 Sunburst Edit on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## GPT Image 2.6 Sunburst Edit tools and prices

- [GPT Image 2.6 Sunburst · Edit](https://spiral.ai/tools/fal/openai/gpt-image-2.6/sunburst/edit) (fal): $0.0475 per 4:3 image at high quality ($0.0225 low, $0.0393 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024.
- [GPT Image 2.6 Sunburst · Edit](https://spiral.ai/tools/openai/gpt-image-2.6-sunburst/edit) (OpenAI): $0.0686 per 1024×1024 image at high quality ($0.0322 low, $0.0566 medium, $0.122 xhigh, $0.274 max), plus each input image. 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. Input images: $0.0106 each at 1024×1024.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mask_url |  | — | Mask image URL. Standard processing treats white as edit and black as keep. With image_passthrough or provider_options, supply an OpenAI-native PNG alpha mask: transparent regions are edited, and dimensions must match the first reference. |
| image_size |  | auto | The size of the generated image. 'auto' infers it from the input images. Explicit sizes need both sides as multiples of 16, a longest edge of at most 3840 px, an aspect ratio of at most 3:1, and 655,360 to 8,294,400 pixels. |
| background | auto, transparent, opaque | auto | Background for the generated image |
| quality | auto, low, medium, high, xhigh, max | high | Quality for the generated image. Higher settings increase detail, latency, and token usage. Use 'auto' to let the model choose. |
| num_images | 1 to 10 | 1 | Number of images to generate |
| output_format | jpeg, png, webp | png | Output format for the images |

## What can you do with GPT Image 2.6 Sunburst Edit in Claude Code?

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.

### Product cutouts

Isolate a product from a supplied photo for use in a layout. Request a transparent PNG and inspect the silhouette, label, and fine edges before placing it.

### Illustrated campaign revisions

Restyle a supplied campaign image while retaining the subject, pose, and framing. State which visual treatment should change and which recognizable details must survive.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## GPT Image 2.6 Sunburst Edit in other agents

- [Amp](https://spiral.ai/integrations/amp/gpt-image-2-6-sunburst-edit)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gpt-image-2-6-sunburst-edit)
- [Claude](https://spiral.ai/integrations/claude-desktop/gpt-image-2-6-sunburst-edit)
- [Cline](https://spiral.ai/integrations/cline/gpt-image-2-6-sunburst-edit)
- [Codex](https://spiral.ai/integrations/codex/gpt-image-2-6-sunburst-edit)
- [Cursor](https://spiral.ai/integrations/cursor/gpt-image-2-6-sunburst-edit)
- [Devin](https://spiral.ai/integrations/devin/gpt-image-2-6-sunburst-edit)
- [dots](https://spiral.ai/integrations/dots/gpt-image-2-6-sunburst-edit)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gpt-image-2-6-sunburst-edit)
- [Gemini](https://spiral.ai/integrations/gemini/gpt-image-2-6-sunburst-edit)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/gpt-image-2-6-sunburst-edit)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gpt-image-2-6-sunburst-edit)
- [goose](https://spiral.ai/integrations/goose/gpt-image-2-6-sunburst-edit)
- [Grok](https://spiral.ai/integrations/grok/gpt-image-2-6-sunburst-edit)
- [Grok Build](https://spiral.ai/integrations/grok-build/gpt-image-2-6-sunburst-edit)
- [Hermes](https://spiral.ai/integrations/hermes/gpt-image-2-6-sunburst-edit)
- [Instinct](https://spiral.ai/integrations/instinct/gpt-image-2-6-sunburst-edit)
- [Manus](https://spiral.ai/integrations/manus/gpt-image-2-6-sunburst-edit)
- [Muse](https://spiral.ai/integrations/muse/gpt-image-2-6-sunburst-edit)
- [Muse Code](https://spiral.ai/integrations/muse-code/gpt-image-2-6-sunburst-edit)
- [n8n](https://spiral.ai/integrations/n8n/gpt-image-2-6-sunburst-edit)
- [Notion](https://spiral.ai/integrations/notion/gpt-image-2-6-sunburst-edit)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gpt-image-2-6-sunburst-edit)
- [opencode](https://spiral.ai/integrations/opencode/gpt-image-2-6-sunburst-edit)
- [Perplexity](https://spiral.ai/integrations/perplexity/gpt-image-2-6-sunburst-edit)
- [Raycast](https://spiral.ai/integrations/raycast/gpt-image-2-6-sunburst-edit)
- [VS Code](https://spiral.ai/integrations/vscode/gpt-image-2-6-sunburst-edit)
- [Windsurf](https://spiral.ai/integrations/windsurf/gpt-image-2-6-sunburst-edit)
- [Zapier](https://spiral.ai/integrations/zapier/gpt-image-2-6-sunburst-edit)

## More Claude Code guides

- [GPT Image 2.6 Sunburst](https://spiral.ai/integrations/claude-code/gpt-image-2-6-sunburst)
- [GPT Image 2.6 Sunburst Text to Image](https://spiral.ai/integrations/claude-code/gpt-image-2-6-sunburst-text-to-image)
- [GPT Image 2.6 Flare Text to Image](https://spiral.ai/integrations/claude-code/gpt-image-2-6-flare-text-to-image)
- [Gemini 2.5 Flash Image](https://spiral.ai/integrations/claude-code/gemini-2-5-flash-image)
- [GPT Image 2.6 Flare Edit](https://spiral.ai/integrations/claude-code/gpt-image-2-6-flare-edit)
- [Gemini 2.5 Flash Image Edit](https://spiral.ai/integrations/claude-code/gemini-2-5-flash-image-edit)

## Questions about GPT Image 2.6 Sunburst Edit in Claude Code

**Can Claude Code use GPT Image 2.6 Sunburst Edit?**

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

**How much does GPT Image 2.6 Sunburst Edit cost in Claude Code?**

$0.0475 per 4:3 image at high quality ($0.0225 low, $0.0393 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need a fal account to use GPT Image 2.6 Sunburst Edit in Claude Code?**

No. Spiral runs GPT Image 2.6 Sunburst Edit 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 Edit in Claude Code?**

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

**Does Claude Code wait while GPT Image 2.6 Sunburst Edit runs?**

GPT Image 2.6 Sunburst Edit runs in the background. Claude Code 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.

