GPT Image 1 Mini
GPT Image 1 Mini is a compact, faster variant of OpenAI's image generation model, optimized for lower-cost image generation while maintaining good output quality for the majority of visual content needs.
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({ model: 'openai/gpt-image-1-mini', prompt: 'A red balloon on a wooden table.'});Frequently Asked Questions
How does GPT Image 1 Mini compare to gpt-image-1?
It generates images faster and more affordably, with some quality tradeoff. For many applications the difference is acceptable, especially at high volume.
What can GPT Image 1 Mini generate?
The same range of subjects and styles as gpt-image-1, including photorealistic scenes, illustrations, and various artistic styles.
Is GPT Image 1 Mini suitable for production use?
Yes. Its speed and pricing make it practical for production applications that generate images at volume.
How does AI Gateway handle authentication for GPT Image 1 Mini?
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.
Can I edit existing images with GPT Image 1 Mini?
Check the API documentation for the specific editing capabilities available with the mini variant.
What are typical generation times?
This page shows live performance metrics measured across real AI Gateway traffic.