> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Imagine Image 2.0 image generation model (xai/grok-imagine-image-2.0): where to run it and pricing

> Grok Imagine Image 2.0 is a image generation model from xAI (Grok). Run it with Comfy Router and Comfy Cloud; templates, files, nodes, and pricing.

Model ID: xai/grok-imagine-image-2.0
Provider: xai
Product: router, cloud, workflows, nodes
Input: image, text
Output: image
License: closed

Grok Imagine Image 2.0 is a image generation model from xAI (Grok). It takes image and text as input and produces image. It has no open weights. It runs on xAI (Grok)'s servers, so you use it through Comfy Router and Partner Nodes in ComfyUI and Comfy Cloud.

## Where you can run it

| Where | Page | Use it when |
| - | - | - |
| Comfy Router (API) | [Grok Imagine Image 2.0 with Comfy Router](https://docs.comfy.org/development/comfy-router/models/xai/grok-imagine-image-2-0/code.md) | You call `xai/grok-imagine-image-2.0` from your own code with `COMFY_API_KEY` |
| Partner Nodes (ComfyUI and Comfy Cloud) | [Grok Imagine Image 2.0 in ComfyUI: AI Image Generation and Editing](https://docs.comfy.org/tutorials/partner-nodes/grok/grok-image-2-0.md) | You build a workflow with the hosted model |
| Comfy Cloud | [Open `api_grok_imagine_image_2_image_edit` on Comfy Cloud](https://cloud.comfy.org/?template=api_grok_imagine_image_2_image_edit) | You want to run a ready-made workflow without installing anything |

## Call it with Comfy Router

* `POST https://api.comfy.org/v2/models/xai/grok-imagine-image-2.0`. Live request schema: `GET /v2/models/xai/grok-imagine-image-2.0/openapi.json`.

## Workflow templates

| Template | Title | Added |
| - | - | - |
| `api_grok_imagine_image_2_image_edit` | Grok Imagine Image 2.0: Image Edit | 2026-08-13 |
| `api_grok_imagine_image_2_t2i` | Grok Imagine Image 2.0: Text to Image | 2026-08-13 |

## Nodes

* [GrokImageEditNodeV2](https://docs.comfy.org/built-in-nodes/GrokImageEditNodeV2.md)
* [GrokImageNode](https://docs.comfy.org/built-in-nodes/GrokImageNode.md)

## Pricing

Comfy Router charges the model maker's list price, billed from your workspace credits (211 credits = \$1 USD). Current per-model prices are on [router.comfy.org](https://router.comfy.org).

* Price a call before you run it: `POST https://api.comfy.org/v2/models/xai/grok-imagine-image-2.0/estimate`.
* Billing facts, such as whether a refused request is charged: the `billing` field from `GET https://api.comfy.org/v2/models/xai/grok-imagine-image-2.0`.

See [Comfy Router pricing](https://docs.comfy.org/development/comfy-router/pricing.md) and [Billing](https://docs.comfy.org/development/comfy-router/billing.md#model-billing-facts).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.