AI Image Playground

Generate images via any OpenAI-compatible endpoint using the Vercel AI SDK.

Sizes above 2560x1440 are experimental for gpt-image-2. Both edges must be a multiple of 16; max edge < 3840.
Provide one or more references to keep style consistent. When set, the request is sent to /v1/images/edits (gpt-image series only).
Size and prompt are saved to your browser's localStorage Base URL, API key and model live in the server's .env — they are never sent from the browser.