> ## 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 image generation model (xai/grok-imagine-image): where to run it and pricing

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

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

Grok Imagine Image 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.

## Where you can run it

| Where | Page | Use it when |
| - | - | - |
| Comfy Router (API) | [Grok Imagine Image with Comfy Router](https://docs.comfy.org/development/comfy-router/models/xai/grok-imagine-image/code.md) | You call `xai/grok-imagine-image` from your own code with `COMFY_API_KEY` |

## Call it with Comfy Router

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

## 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/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`.

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.