Models

Grok Imagine Image Text-to-Image

Generates an image quickly with selectable 1K/2K resolution.

4.2 credits/Run

Playground

Input

Output
Grok Imagine Image Text-to-Image: Cyber-ronin at the waterline
Example

Try an example

Call this model from your code

Sends your Playground inputs to Comfy Router.

API docs (opens in a new tab)
  1. Get an API key

    Needs a paid Cloud plan with credits.

  2. Install the SDK

    Python 3.10+. Also on npm as @comfyorg/sdk.

    pip install comfy-sdk==0.2.0
  3. Run it

    Calls Comfy Router at this endpoint with your COMFY_API_KEY.

    POST /v2/models/xai/grok-imagine-image

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.

ModelPriceResolutionDuration
Grok Imagine Image 2.0 Text-to-Image—1K – 2K—
Grok Imagine Video 1.5 Text-to-Video—480p – 1080p1 – 15s
Grok Imagine Video Image-to-Video63.7 credits/Run480p – 720p1 – 15s
Grok Imagine Video Reference-to-Video63.7 credits/Run480p – 720p1 – 15s
Grok Imagine Video Text-to-Video63.3 credits/Run480p – 720p1 – 15s
Grok Imagine Video 1.5 Reference-to-Video147.8 credits/Run480p – 1080p1 – 15s
Grok Imagine Video 1.5 Image-to-Video147.8 credits/Run480p – 1080p1 – 15s