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

# GPT-4o Image

Native image generation inside GPT-4o — generate and edit images within the conversation.

**Provider:** OpenAI
**Modality:** Image
**Catalog:** 1 endpoints

GPT-4o Image enables native image generation directly within GPT-4o conversations, combining language understanding with visual creation in a single model. It interprets conversational context to produce contextually accurate images.

## Variants

Single-SKU line. The SDK model ID is `gpt-4o-image` and all usage details are documented here.

## Pricing

| Endpoint | Pricing | Billing |
|---|---|---|
| `text_to_image` | $0.060 | call |

## Spec sheet

| Field | Value |
|---|---|
| Model ID | `gpt-4o-image` |
| Provider | OpenAI |
| Modality | image |
| Task type | asynchronous |
| Billing unit | call |
| API endpoint | `/api/v1/gpt_4o_image/text_to_image` |


## Install

```sh
npm install @runapi.ai/gpt-4o-image
# or
gem install runapi-gpt_4o_image
```

## Quickstart

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

## Context

GPT-4o Image integrates visual creation natively into GPT-4o, combining reasoning with generation. Through RunAPI, it shares the same API access and billing as all OpenAI models.

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

