GPT Image 1 Mini

openai/gpt-image-1-mini

A cost-efficient version of GPT Image 1. It is a natively multimodal language model that accepts both text and image inputs, and produces image outputs.

Image Gen
index.ts
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.'
});