xAI has updated the image API for grok-imagine-image-2.0. If callers omit the quality setting, the API now uses “auto”: low quality for image generation and medium for editing; images are billed at the quality served.
Image edits can now use up to five reference images per request, up from three. Generation and editing also support 21:9 cinematic widescreen and 5:2 banner formats.
Why it matters
Developers building image-editing tools can provide up to two more reference images per request, though the default generation quality is now low unless they specify otherwise.