Image Generations
OpenAI-compatible image generation endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
OpenAI-compatible POST /v1/images/generations request body.
provider/model, e.g. 'openai/gpt-image-2'
1 - 320001 <= x <= 10Provider-specific size string. OpenAI accepts '1024x1024', '1536x1024', '1024x1536', 'auto'. Vertex Imagen accepts square or aspect-ratio strings. Validation is delegated to the provider.
End-user identifier for abuse tracking.
Arbitrary metadata attached to the request.
Additional HTTP headers forwarded to the provider API. Credential headers (Authorization, x-api-key, ...) are rejected.
Provider-specific quality string (e.g. 'low', 'medium', 'high', 'standard', 'hd', 'auto'). Accepted values depend on the model.
Legacy DALL-E parameter. Ignored by gpt-image-* and forwarded to the provider for any model that still honors it.