[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [GPT Image 2](https://spiral.ai/integrations/claude-desktop/gpt-image-2)

# How to Use GPT Image 2 in Claude

To use GPT Image 2 in Claude, connect Spiral to Claude (one link, sign in, no API key), then ask for what you want. Claude runs GPT Image 2 through Spiral. You pay per run from one balance, with no fal or OpenAI account.

|  |  |
| --- | --- |
| Model | GPT Image 2 |
| Available through | fal, OpenAI |
| Category | Image |
| Price | $0.274 per 1024×1024 image at high quality ($0.00775 low, $0.0686 medium). At high: $0.214 at 1536×1024 or 1024×1536, $0.198 at 1792×1024 or 1024×1792, $0.203 at 512×512, $0.186 at 256×256. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT Image 2 in Claude

- Generate a product photo with GPT Image 2: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
- Make four logo concepts for a coffee brand called "Northline" with GPT Image 2.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with GPT Image 2.
- Generate a 9:16 poster with GPT Image 2 for a jazz night called "Blue Hour", deep navy and brass tones.
- Generate a flat illustration of a team planning session with GPT Image 2 for our blog header, 16:9.

## How to set up GPT Image 2 in Claude

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

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

```text
https://api.spiral.ai/mcp
```

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude 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**: 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": "openai",
    "model": "gpt-image-2",
    "input": {
      "prompt": "A cute baby sea otter"
    }
  }'
```

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

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

## GPT Image 2 tools and prices

- [GPT Image 2 · Text to Image](https://spiral.ai/tools/openai/gpt-image-2) (OpenAI): $0.274 per 1024×1024 image at high quality ($0.00775 low, $0.0686 medium). At high: $0.214 at 1536×1024 or 1024×1536, $0.198 at 1792×1024 or 1024×1792, $0.203 at 512×512, $0.186 at 256×256. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens.
- [GPT Image 2 · Text to Image](https://spiral.ai/tools/fal/openai/gpt-image-2) (fal): $0.188 per 4:3 image at high quality ($0.00559 low, $0.0473 medium). At high: $0.24 square, $0.274 square HD, $0.135 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| n | 1 to 10 | 1 | The number of images to generate. Must be between 1 and 10. |
| size |  | auto | The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing. |
| quality | low, medium, high, xhigh, max, auto | auto | 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`. |
| background | transparent, opaque, auto | auto | 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_format | png, jpeg, webp | png | 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_compression |  | 100 | 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. |

## What can you do with GPT Image 2 in Claude?

Claude can generate images with GPT Image 2 when you ask in plain words. It picks the tool, shows the price before it runs and returns the result right in the chat.

### Product and ad images

Shots, banners and social posts at the exact size each channel needs.

### Concepts and moodboards

Several directions in one prompt, priced before they run.

### Slides and newsletters

Pictures for a deck, a newsletter or a message, returned right in the chat.

### Blog and social headers

A header image for every post, in your brand's style.

### UI placeholders

Realistic images for mockups and prototypes.

### Localized creatives

The same ad in several languages and sizes.

## Overview

- [OpenAI](https://spiral.ai/providers/openai)
- [All Claude guides](https://spiral.ai/integrations/claude-desktop)

## GPT Image 2 in other agents

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

## More Claude guides

- [GPT Image 1.5 Edit](https://spiral.ai/integrations/claude-desktop/gpt-image-1-5-edit)
- [GPT Image 2 Edit](https://spiral.ai/integrations/claude-desktop/gpt-image-2-edit)
- [GPT Image 1.5](https://spiral.ai/integrations/claude-desktop/gpt-image-1-5)
- [GPT Image 2.5 Flare](https://spiral.ai/integrations/claude-desktop/gpt-image-2-5-flare)
- [GPT Image 1 Mini Edit](https://spiral.ai/integrations/claude-desktop/gpt-image-1-mini-edit)
- [GPT Image 2.5 Flare Edit](https://spiral.ai/integrations/claude-desktop/gpt-image-2-5-flare-edit)

## Questions about GPT Image 2 in Claude

**Can Claude use GPT Image 2?**

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

**How much does GPT Image 2 cost in Claude?**

$0.274 per 1024×1024 image at high quality ($0.00775 low, $0.0686 medium). At high: $0.214 at 1536×1024 or 1024×1536, $0.198 at 1792×1024 or 1024×1792, $0.203 at 512×512, $0.186 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 Claude plan is separate.

**Do I need a fal account to use GPT Image 2 in Claude?**

No. Spiral runs GPT Image 2 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 in Claude?**

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Which provider runs GPT Image 2?**

Spiral offers GPT Image 2 through fal and OpenAI. Name one in your prompt, or let Claude pick.

**Does Claude wait while GPT Image 2 runs?**

GPT Image 2 runs in the background. Claude starts the run, checks on it and gives you the image when it's ready.

