Skip to content
Dashboard

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. Your use is subject to OpenAI's Terms & Privacy Policies.

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

Frequently Asked Questions

  • What can GPT Image 1 generate?

    It creates images from text descriptions, supporting a wide range of subjects, styles, and compositions including photorealistic scenes, illustrations, diagrams, and artistic styles.

  • Can GPT Image 1 edit existing images?

    Yes. It supports image editing operations where you provide an existing image and describe the changes you want.

  • How is GPT Image 1 priced?

    Pricing is per image generated, with costs varying by resolution and quality settings. Check the pricing section of this page for current rates.

  • Can I control the output resolution?

    Yes. The API accepts resolution and quality parameters that control the output characteristics.

  • How does AI Gateway handle authentication for GPT Image 1?

    AI Gateway accepts a single API key or OIDC token for all requests. You don't embed OpenAI credentials in your application; AI Gateway routes and authenticates on your behalf.

  • What are typical generation times?

    This page shows live performance metrics measured across real AI Gateway traffic.