GPT-4o-image Image Generation
Image Series
GPT-4o-image Image Generation
Asynchronous image generation (gpt-4o-image). Supports text-to-image, image-to-image and editing.
POST
GPT-4o-image Image Generation
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Image generation model name
Text description for image generation
Aspect ratio (e.g., 1:1, 16:9)
Output resolution (1K/2K/4K)
Number of images to generate
Required range:
1 <= x <= 15Reference image URLs (for image-to-image / editing)
Mask image URL (PNG) for editing
Whether to add a watermark
Controls sequential generation (auto/disabled)
Response
Task submitted