Model Information
Capabilities and Usage
- quality supports auto, low, medium, high, xhigh, and max.
- Use auto or WIDTHxHEIGHT for size: both edges are multiples of 16, no edge exceeds 3840 px, aspect ratio is within 1:3-3:1, and total pixels are 655360-8294400. Above 3686400 pixels is experimental.
- Transparent backgrounds require PNG or WebP. Generation uses JSON; editing uses multipart image/image[] and optional mask. Do not wrap image parameters in metadata.
Request Example
SetMIXROUTE_API_KEY before making the request.
Request Fields
For editing, use GPT Image Edits.
Complete request format: gpt-image.