Skip to content

GPT Image 1

GPT Image 1 is OpenAI's image generation model available through the API, capable of creating, editing, and generating variations of images from text descriptions with high fidelity and detail.

Image Gen
index.ts
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'openai/gpt-image-1',
prompt: 'A red balloon on a wooden table.'
});

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
OpenAI
Legal:Terms
Privacy
$5.00/M+1 more
$40.00/M
Read:$1.25/M
Write:
03/25/2025