Image generation integrates OpenAI's GPT Image API as a first-class feature. Three model variants are available — standard (gpt-image-1), premium (gpt-image-1.5 with faster generation and better text rendering), and budget (gpt-image-1-mini). Users select a model, size, and quality preset, write a prompt, and receive a generated image within seconds. Each generation deducts credits based on the selected configuration, with higher resolutions and quality levels costing proportionally more.
Generated images are uploaded to Vercel Blob storage automatically, so they persist beyond the generation session and can be referenced later. The entire flow — prompt submission, API call, storage, and credit deduction — runs as a single server action with proper error handling at each step.