[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [GPT Image 2](https://spiral.ai/integrations/gemini/gpt-image-2)

# How to Use GPT Image 2 in Gemini

Use GPT Image 2 to create posters, diagrams, and realistic images from a written brief. Choose it when you are starting from text; choose GPT Image 2 Edit when an existing image is the starting point.

|  |  |
| --- | --- |
| Model | GPT Image 2 |
| Available through | fal, OpenAI |
| Category | Image |
| Price | $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. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT Image 2 in Gemini

- Use GPT Image 2 to create a 1024×1536 community garden poster. Show hands planting seedlings in morning light. Include exactly once: "Saturday in the garden". Make the lettering large and readable, and use high quality.
- Use GPT Image 2 to draw a 1536×1024 infographic showing this sequence: "Collect rainwater", "Filter", "Store", "Water plants". Place the four labeled stages in reading order with connecting arrows. Use high quality and check every label.
- Use GPT Image 2 to create a realistic 1536×1024 photograph of a ceramic mug beside a rain-streaked window. Show visible clay texture, soft daylight, and a close camera view. Use medium quality and no lettering.
- 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.

## How to set up GPT Image 2 in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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": "fal",
    "model": "openai/gpt-image-2",
    "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: Gemini finds GPT Image 2 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini

## GPT Image 2 tools and prices

- [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.
- [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.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | landscape_4_3 | The size of the generated image. Supports preset names, explicit {width, height}, or 'auto' to let the model pick the best size. Concrete sizes must have both dimensions as multiples of 16, max edge 3840px, aspect ratio <= 3:1, total pixels between 655,360 and 8,294,400. |
| background | auto, transparent, opaque | auto | Background for the generated image |
| quality | auto, low, medium, high | high | Quality for the generated image. Use 'auto' to let the model pick the best quality for the prompt. |
| num_images | 1 to 10 | 1 | Number of images to generate |
| output_format | jpeg, png, webp | png | Output format for the images |
| output_compression | 0 to 100 | — | Compression level from 0 to 100. Only supported when output_format is 'jpeg' or 'webp'. |

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

Turn a written idea into a poster, diagram, or realistic scene you can review in conversation. With reference images, you can request a focused revision and refine one detail at a time.

### Article illustrations

Turn an article brief into a realistic scene or explanatory illustration, with space reserved for a headline.

### Labeled diagrams

Create an infographic from supplied relationships and exact labels, then review the text and arrangement.

### Product scene revisions

Edit a product photograph into a different setting while specifying which shape, label, and lighting details to preserve.

### Visual sequences

Describe each panel of a short visual story and review the result for subject continuity.

### Campaign concepts

Explore poster compositions at low quality, then refine a chosen direction with exact copy at higher quality.

### Reference composites

Combine a subject from one image with a scene from another, naming each reference's role.

## Overview

- [OpenAI](https://spiral.ai/providers/openai)
- [All Gemini guides](https://spiral.ai/integrations/gemini)

## 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](https://spiral.ai/integrations/claude-desktop/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 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 Gemini guides

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

## Questions about GPT Image 2 in Gemini

**Can Gemini use GPT Image 2?**

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

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

$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. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

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

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

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Which provider runs GPT Image 2?**

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

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

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

**What is GPT Image 2 good at?**

It is useful for realistic imagery, posters with embedded text, infographics, diagrams, and visual sequences. Give it a concrete brief with the subject, composition, required copy, and intended use.

**How does GPT Image 2 Edit differ from GPT Image 2?**

Both use the same underlying model. Choose the generation entry to start from a written brief and the editing entry to revise existing imagery or combine references.

**Can GPT Image 2 generate 4K images?**

Yes. Supported examples include 3840×2160 landscape and 2160×3840 portrait; custom sizes must meet the dimension, aspect ratio, and total pixel limits.

**How do I get readable text inside an image?**

Quote the exact copy, specify its position and typography, and say how many times it should appear. Check the result for spelling and placement before using it.

**Which quality setting should I use?**

Start with low quality to compare draft concepts. Use medium or high for final assets, especially when small lettering or dense labels matter.

