---
title: "GPT Image API — All variants, pricing, code samples | RunAPI"
url: "https://runapi.ai/models/gpt-image.md"
canonical: "https://runapi.ai/models/gpt-image.md"
locale: "en"
model: "GPT Image"
provider: "OpenAI"
modality: "image"
variant_count: 2
price_from_cents: 4
---

# GPT Image

Text-to-image and image editing powered by OpenAI&#39;s image generation models.

**Provider:** OpenAI
**Modality:** Image
**Catalog:** 2 variants

GPT Image is OpenAI&#39;s image generation model supporting both text-to-image and image-to-image creation with strong compositional control. It produces high-quality visuals across photorealistic and stylized outputs.

## Variants

| Version | Variant | Pricing | Billing | URL |
|---|---|---|---|---|
| gpt-image-1.5-image-to-image | `1.5-image-to-image` | $0.040 | call | https://runapi.ai/models/gpt-image/1.5-image-to-image.md |
| gpt-image-1.5-text-to-image | `1.5-text-to-image` | $0.040 | call | https://runapi.ai/models/gpt-image/1.5-text-to-image.md |


## Install

```sh
npm install @runapi.ai/gpt-image
# or
gem install runapi-gpt_image
```

## Quickstart

```sh
curl -X POST https://runapi.ai/api/v1/gpt_image/edit_image \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "gpt-image-1.5-image-to-image", "prompt": "..." }'
```

## Context

GPT Image is OpenAI&#39;s image generation model, supporting text-to-image and image editing. Through RunAPI, all GPT Image endpoints share one key and per-call pricing.

## FAQ

### Which variant should I start with?

Pick the cheapest variant that meets your quality bar. Most teams start on the fast variant and graduate to pro for production.

### Is there a free tier?

New accounts get free first calls on every model. After that, pay per call.

### Do you stream results?

Where streaming is available, RunAPI streams end-to-end.

### How are failures billed?

Failed generations are not charged.

### Are outputs cached?

Generated outputs are stored and retrievable by task ID. Inputs are not cached.

### Can I use commercially?

Yes — commercial use is included for every variant unless a model license explicitly restricts it, which is called out on the variant page.

### What about rate limits?

Per-key rate limits scale with usage tier. See pricing page for current limits.

### Where can I report issues?

Open an issue on the public GitHub repo or email support.

