Skip to main content
Grok Imagine Image Quality is available through the native image API described below. Uses native aspect_ratio and resolution fields rather than the GPT Image size field. The quality control is available only for Image 2.0. POST https://api.mixroute.ai/v1/images/generations

Examples

Use your MixRoute key in the MIXROUTE_API_KEY environment variable. Requests use Authorization: Bearer .... Replace source-image placeholders with accessible images or local files before editing.

Python