- Creation methods
- Text-to-image generation; reference image editing; multipart masked local editing
- Reference image input
- Editing supports a single URL, an array of up to 16 URLs, or local file uploads
- Output quantity
- 1–10 images per request; only 1 image is supported when response_format=b64_json
- Canvas control
- size=auto or WIDTHxHEIGHT; width and height must be multiples of 16, with the long side not exceeding 3840 pixels
- Pixel range
- Total pixels 655,360–8,294,400; aspect ratio must not exceed 3:1
- Quality and files
- Common quality options are auto, low, medium, high; outputs PNG, JPEG, WebP
- Local editing mask
- Alpha PNG, no more than 4MB, the same dimensions as the first original image; transparent areas can be modified
GPT Image 2 provides image creation and editing capabilities. The quantities, dimensions, formats, and upload rules above correspond to how this model is invoked on this platform.