Grok Imagine Image 2.0 Text-to-Image
Generates an image with Grok Imagine Image 2.0, with 1K/2K resolution and a low or medium quality tier.
Cost depends on your settings.
Playground
Advanced settings
Choose the image quality and price tier.

Try an example
Call this model from your code
Sends your Playground inputs to Comfy Router.
Get an API key
Needs a paid Cloud plan with credits.
Install the SDK
Python 3.10+. Also on npm as @comfyorg/sdk.
pip install comfy-sdk==0.2.0Run it
Calls Comfy Router at this endpoint with your COMFY_API_KEY.
POST /v2/models/xai/grok-imagine-image-2.0
Fill in the Playground inputs to generate a request.
More from xAI
Compare xAI's other models. Price is the default setting; resolution and duration show the full range each model offers.
| Model | Price | Resolution | Duration |
|---|---|---|---|
| Grok Imagine Image Text-to-Image | 4.2 credits/Run | 1K – 2K | — |
| Grok Imagine Video 1.5 Text-to-Video | — | 480p – 1080p | 1 – 15s |
| Grok Imagine Video Image-to-Video | 63.7 credits/Run | 480p – 720p | 1 – 15s |
| Grok Imagine Video Reference-to-Video | 63.7 credits/Run | 480p – 720p | 1 – 15s |
| Grok Imagine Video Text-to-Video | 63.3 credits/Run | 480p – 720p | 1 – 15s |
| Grok Imagine Video 1.5 Reference-to-Video | 147.8 credits/Run | 480p – 1080p | 1 – 15s |
| Grok Imagine Video 1.5 Image-to-Video | 147.8 credits/Run | 480p – 1080p | 1 – 15s |