# xai/grok-imagine-image-quality

![xai](<https://img.modellix.ai/modelix-models-image/20260623/xai.png?v=1&w=640&h=640>)[Docs](<https://docs.modellix.ai/xai/grok-imagine-image-quality>)

[Schema](<https://www.modellix.ai/models/xai/grok-imagine-image-quality/api_schema>)

### xAI's higher-fidelity text-to-image model for detailed concept art, marketing visuals, and scenes that need realistic texture, stronger rendered text, and tighter prompt following. It generates images at 1K or 2K across a wide set of aspect ratios.

~~Official price: $0.0500\~$0.0700/img~~$0.0600\~$0.0840/img

text-to-image

## README

## What Grok Imagine Image Quality Does

Grok Imagine Image Quality is xAI’s high-fidelity text-to-image generation model. It produces richly detailed images from text prompts, prioritizing visual quality and detail over raw speed — the recommended choice when output fidelity matters most.

## Key Features

- **High-Fidelity Output:** Generates richer detail and refinement than the standard Grok Imagine Image model.
- **Batch Output:** Generate multiple images per request via the `n` parameter.
- **Wide Aspect-Ratio Support:** Offers many ratios — 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, plus ultrawide options like 19.5:9 and 20:9, and `auto`.
- **Selectable Resolution:** Choose 1K or 2K output.
- **Flexible Response Format:** Return results as a `url` or base64 `b64_json`.
- **Asynchronous Architecture:** Uses a “Create Task → Poll Result” API workflow for reliable integration.

## How to Use Grok Imagine Image Quality

1. Write a detailed text prompt describing the subject, style, and composition you want.
2. Submit a `POST` request to the `/xai/grok-imagine-image-quality` endpoint with your `prompt` and optional `n`, `aspect_ratio`, `resolution`, and `response_format`.
3. Receive a `task_id` and polling URL in the response.
4. Poll the returned URL with a `GET` request to monitor the task.
5. Once complete, retrieve the image as a URL or base64 string.

## Best Use Cases

- **Concept Art:** Produce detailed, polished visuals for creative and pre-production work.
- **Marketing Visuals:** Create high-quality campaign and promotional imagery.
- **Editorial & Illustration:** Generate refined images where detail and finish matter.
- **Hero & Showcase Imagery:** Make standout visuals that benefit from extra fidelity.

## Tips for Better Results

- **Don’t Use It When Latency Is Critical:** Generation is slower than the standard model — for fast iteration, use Grok Imagine Image instead.
- **Lean on the Detail Advantage:** Use this variant by default when users emphasize quality or detail.
- **Choose 2K for Final Renders:** Generate at 2K resolution to preserve the model’s fine detail.
- **Write Rich Prompts:** Specify lighting, materials, mood, and composition to make the most of the higher fidelity.
- **Set the Right Aspect Ratio:** Match the ratio to your final placement rather than relying on `auto`.

## Attributes

- Provider: [xai](<https://www.modellix.ai/providers/xai.md>)
- Category: [Text to Image](<https://www.modellix.ai/category/text-to-image.md>)

### Series

- [Grok Imagine](<https://www.modellix.ai/series/grok-imagine.md>)

### Collections

- [AI Art Generator](<https://www.modellix.ai/collections/ai-art-generator.md>)
- [AI Portrait Generator](<https://www.modellix.ai/collections/ai-portrait-generator.md>)

## Parameters

| Name | Description | Type | Required | Enums |
| --- | --- | --- | --- | --- |
| prompt | Text description of the image to generate | string | Yes | \- |
| aspect\_ratio | Aspect ratio of the generated image | string | No | `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `2:1`, `1:2`, `19.5:9`, `9:19.5`, `20:9`, `9:20`, `auto` |
| n | Number of images to generate (official examples use 4; no fixed upper limit) | integer | No | \- |
| resolution | Output resolution tier | string | No | `1k`, `2k` |
| response\_format | Format of the returned image data | string | No | `url`, `b64_json` |

## Pricing

| Dimension | Pricing ($/img) |
| --- | --- |
| resolution: 1k | 0.0600 |
| resolution: 2k | 0.0840 |

## Related Models

- [xai/grok-imagine-video-1.5-lite-i2v](<https://www.modellix.ai/models/xai/grok-imagine-video-1.5-lite-i2v.md>): xAI’s lower-cost image-to-video model for animating one still into a short clip with native audio and lip-synced speech. The image is the first frame, and the clip follows its shape, at 480p, 720p, or 1080p upscaled from 720p, for 1 to 15 seconds.
- [xai/grok-imagine-video-1.5-lite](<https://www.modellix.ai/models/xai/grok-imagine-video-1.5-lite.md>): xAI’s lower-cost text-to-video model for simple social clips and prompt drafts, with native audio and lip-synced speech. It makes 1 to 15 second clips at 480p, 720p, or 1080p upscaled from 720p, including wide 21:9 and 5:2 frames.
- [xai/grok-imagine-image-2.0-edit](<https://www.modellix.ai/models/xai/grok-imagine-image-2.0-edit.md>): xAI’s image editor for restyles, combined references, and iterative changes that follow the prompt while keeping the source recognizable. It edits one to three source images at 1K or 2K, with a low or medium quality setting.
- [xai/grok-imagine-image-2.0](<https://www.modellix.ai/models/xai/grok-imagine-image-2.0.md>): xAI’s precise text-to-image model for design, photography, and illustration that need close prompt following, planned typography, and sharp small text. It generates up to 10 images at 1K or 2K, including wide 21:9 and 5:2 frames, with a low or medium quality setting.
- [xai/grok-imagine-video-extend](<https://www.modellix.ai/models/xai/grok-imagine-video-extend.md>): xAI’s video extension model for continuing a clip from its last frame with new prompt-guided action. It appends 2 to 10 seconds and keeps the source shape, up to 720p.
- [xai/grok-imagine-video-edit](<https://www.modellix.ai/models/xai/grok-imagine-video-edit.md>): xAI’s video editor for prompt-guided changes such as restyles, wardrobe, and props, while keeping the rest of the clip close to the source. The result keeps the source duration and shape, up to 720p.
- [xai/grok-imagine-video-1.5-i2v](<https://www.modellix.ai/models/xai/grok-imagine-video-1.5-i2v.md>): xAI’s image-to-video model for animating one still with clearer motion, physics, and native audio, including lip-synced speech. It makes 1 to 15 second clips at native 1080p, 720p, or 480p.
- [xai/grok-imagine-video-r2v](<https://www.modellix.ai/models/xai/grok-imagine-video-r2v.md>): xAI’s reference-to-video model for placing specific characters or products into a new scene while keeping them recognizable, with generated audio. It uses up to seven reference images in clips up to 10 seconds at 480p or 720p.
- [xai/grok-imagine-video-i2v](<https://www.modellix.ai/models/xai/grok-imagine-video-i2v.md>): xAI’s image-to-video model for turning one still into a short clip with generated audio. The starting image leads the motion, in 1 to 15 second clips at 480p or 720p.
- [xai/grok-imagine-video](<https://www.modellix.ai/models/xai/grok-imagine-video.md>): xAI’s text-to-video model for short social clips and animated scenes described in a prompt, with generated audio. It makes 1 to 15 second clips at 480p or 720p.
- [xai/grok-imagine-image-edit](<https://www.modellix.ai/models/xai/grok-imagine-image-edit.md>): xAI’s image editor for fast restyles, quick variations, and lightweight prompt-guided changes. It edits one to three source images at 1K or 2K.
- [xai/grok-imagine-image-quality-edit](<https://www.modellix.ai/models/xai/grok-imagine-image-quality-edit.md>): xAI’s higher-fidelity image editor for detailed restyles and prompt-guided changes that keep fine texture. It edits one to three source images at 1K or 2K.
- [xai/grok-imagine-image](<https://www.modellix.ai/models/xai/grok-imagine-image.md>): xAI’s text-to-image model for high-volume prototypes, creative variants, and everyday visuals. It generates images at 1K or 2K across square, portrait, landscape, and ultrawide frames.
- [google/nano-banana-2](<https://www.modellix.ai/models/google/nano-banana-2.md>): Google’s fast text-to-image model for high-volume drafts, stylized graphics, and readable posters. It renders at 512, 1K, 2K, or 4K, including extra-wide and extra-tall frames.
- [google/nano-banana-pro](<https://www.modellix.ai/models/google/nano-banana-pro.md>): Google’s premium text-to-image model for professional assets, brand layouts, and complex instructions. It renders at 1K, 2K, or 4K, with precise text and consistent subjects.
- [kling/kling-v3-t2i](<https://www.modellix.ai/models/kling/kling-v3-t2i.md>): Kling’s text-to-image model for concept art and photorealistic stills. It returns up to 9 images at 1K or 2K, including vertical 9:16 and ultrawide 21:9 frames.
- [openai/gpt-image-2](<https://www.modellix.ai/models/openai/gpt-image-2.md>): OpenAI’s text-to-image model for detailed portraits, product shots, and cinematic frames at high resolution. It renders preset sizes up to 4K, including 3840x2160 and vertical 2160x3840, at low, medium, or high quality.
- [bytedance/seedream-5.0-pro](<https://www.modellix.ai/models/bytedance/seedream-5.0-pro.md>): ByteDance’s flagship text-to-image model for professional design, photorealistic shots, and brand visuals. It returns one finished image at up to 2K, with precise placement, readable text, and consistent quality.
- [alibaba/qwen-image-3.0-pro](<https://www.modellix.ai/models/alibaba/qwen-image-3.0-pro.md>): Alibaba’s text-to-image model for newspapers, storyboards, menus, and other dense layouts. It renders small multilingual text and photographic detail, and can return up to six images at up to 2K.
- [microsoft/mai-image-2.6](<https://www.modellix.ai/models/microsoft/mai-image-2.6.md>): Microsoft’s text-to-image model for marketing visuals, product shots, portraits, and posters that need readable text. It improves text rendering, portraits, and photorealistic commercial images over MAI Image 2.5, with each side from 768 to 1365 pixels.
- [microsoft/mai-image-2.6-flash](<https://www.modellix.ai/models/microsoft/mai-image-2.6-flash.md>): Microsoft’s faster text-to-image model for high-volume drafts, interactive tools, and production pipelines, with lower latency than MAI Image 2.6. It keeps the same text rendering and portrait range, with each side from 768 to 1365 pixels.
- [openai/gpt-image-2.5-flare](<https://www.modellix.ai/models/openai/gpt-image-2.5-flare.md>): OpenAI’s fast text-to-image model for social content, product shots, and high-volume drafts, with higher image quality and lower latency than GPT Image 2. It renders at 1K, 2K, or 4K, including vertical 9:16 and ultrawide 21:9 frames, with transparent backgrounds and quality up to max.
- [openai/gpt-image-2.5-sunburst](<https://www.modellix.ai/models/openai/gpt-image-2.5-sunburst.md>): OpenAI’s most capable text-to-image model for campaign creative, polished product imagery, and detailed illustrations. It renders at 1K, 2K, or 4K, including vertical 9:16 and ultrawide 21:9 frames, with transparent backgrounds and quality up to max.
- [google/nano-banana-2.1](<https://www.modellix.ai/models/google/nano-banana-2.1.md>): Google’s fast text-to-image model for high-volume production, readable posters and diagrams, and rapid iteration. It keeps Flash-level speed at 1K, 2K, and 4K, with stronger visual quality, text rendering, and real-world knowledge than Nano Banana 2.
- [bytedance/seedream-5.5](<https://www.modellix.ai/models/bytedance/seedream-5.5.md>): ByteDance’s text-to-image model for product visuals, posters, stickers, and design assets. It follows detailed composition prompts and generates native transparent or translucent backgrounds for elements that can be reused in larger designs.
- [bytedance/seedream-5.0-lite](<https://www.modellix.ai/models/bytedance/seedream-5.0-lite.md>): ByteDance’s reasoning text-to-image model for infographics, text-heavy designs, and images that draw on current knowledge. It renders at 2K or 3K and can return a set of related images.

## Related Resources

[**Grok Imagine**](<https://www.modellix.ai/series/grok-imagine.md>)

Series

[**AI Art Generator**](<https://www.modellix.ai/collections/ai-art-generator.md>)

Collection

[**AI Portrait Generator**](<https://www.modellix.ai/collections/ai-portrait-generator.md>)

Collection

[**xai/grok-imagine-video-1.5-lite-i2v**](<https://www.modellix.ai/models/xai/grok-imagine-video-1.5-lite-i2v.md>)

image-to-video

[**xai/grok-imagine-video-1.5-lite**](<https://www.modellix.ai/models/xai/grok-imagine-video-1.5-lite.md>)

text-to-video

[**xai/grok-imagine-image-2.0-edit**](<https://www.modellix.ai/models/xai/grok-imagine-image-2.0-edit.md>)

image-to-image

[**xai/grok-imagine-image-2.0**](<https://www.modellix.ai/models/xai/grok-imagine-image-2.0.md>)

text-to-image

[**xai/grok-imagine-video-extend**](<https://www.modellix.ai/models/xai/grok-imagine-video-extend.md>)

video-to-video
