openai/gpt-image-2
GPT Image 2 is OpenAI’s next-generation image generation model, currently available in alpha. It offers flexible resolution support of up to 4K, along with multiple model variants designed for different image-generation needs.

Try the model with a sample request using the same API shape shown in the reference page.
Text prompt describing the image
Quality for the generated image.
Background for the generated image.
number of images to generate (Default: 1, 1 ≤ num_images ≤ 4)
Output format for the images.
Adjust settings and run the demo to see the model output generated here in real-time.