Supported Providers
- OpenAI: Supports
dall-e-2
andgpt-image-1
models - Vertex AI: Supports
imagen-3.0-generate-001
model - AWS Bedrock: Supports
amazon-nova-canvas
model - Azure OpenAI: Supports
gpt-image-1
model
Requirements
Provider | Model | Format | Size Limit | Image Count |
---|---|---|---|---|
OpenAI | gpt-image-1 | PNG, WebP, JPG | < 50MB | Up to 16 images |
OpenAI | dall-e-2 | Square PNG | < 4MB | 1 image only |
Vertex AI | imagen-3.0-generate-001 | PNG, JPG | < 20MB | Up to 4 images |
AWS Bedrock | amazon-nova-canvas | PNG, JPG | < 5MB | Up to 5 images |
Azure OpenAI | gpt-image-1 | PNG, WebP, JPG | < 50MB | Up to 16 images |
Example Usage
Response Format
The API returns anImagesResponse
object containing: