← All models
OpenAI · Image model
GPT Image 1
openai/gpt-image-1- Image
OpenAI's GPT Image 1 generates and edits images via the dedicated Images API. Features accurate text rendering, transparent backgrounds, and up to 16 reference images for edits.
Specifications
- Input
- text, image
- Output
- image
- Editing
- yes, up to 16 reference images
- Images per call
- 1 to 4
- Served by
- OpenAI
Request options
Validated against these values; anything else returns 400 with the allowed list.
- aspect_ratio
- 1:1, 3:2, 2:3, auto
- quality
- auto, low, medium, high
- background
- auto, transparent, opaque
- output_compression
- 0 to 100
Use it
POST /api/v1/images · /images/edits · MCP generate_image · edit_image · full reference
curl https://omnirail.org/api/v1/images \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"openai/gpt-image-1","prompt":"a lighthouse at dawn, 35mm film","aspect_ratio":"1:1"}'