---
title: "Grok Imagine Image Text-to-Image API & Playground - Comfy"
description: "Grok Imagine Image Text-to-Image by xAI: Generates an image quickly with selectable 1K/2K resolution. Typical cost: 4.2 credits per run."
canonical: https://comfy.org/hub/models/grok-imagine-image-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

xAI

[Generate images](https://comfy.org/hub/models/?useCase=generate-images)

# Grok Imagine Image Text-to-Image

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

4.2 credits /Run

- [fast](https://comfy.org/hub/models/?q=fast)
- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)

[Read docs](https://docs.comfy.org/development/comfy-router/models#xai)

Input

Prompt

Aspect ratio

Resolution

Output

![Grok Imagine Image Text-to-Image: Cyber-ronin at the waterline](https://media.comfy.org/website/workshop/xai/grok-imagine-image/cyber-ronin-at-the-waterline.png)

Example

## Try an example

- Anime-style extreme close-up of a white-haired cyber-ronin, face half submerged in still black water, the waterline drawing a perfect horizontal mirror reflection. One eye glows cold cyan with a cracked circuit-pattern iris, the other lost in shadow; fine droplets bead on pale cel-shaded skin under a hard warm spotlight from the upper left. A cracked porcelain fox mask is pushed up over the hairline, a red cord trailing into the water. Clean ink linework, flat cel shading with hard-edged highlights, charcoal water below holding a crisp inverted duplicate, ink-black background, high contrast, serene and menacing.
- Photograph of an old arched stone bridge crossing a slow river in early-morning mist, moss on the stones, golden and rust-coloured beech trees on both banks, a single grey heron standing in the shallows, soft diffused light with faint sun rays through the fog, still water mirroring the arch. Wide 35 mm composition, bridge slightly left of centre, deep natural colour, fine texture on stone and leaves, photorealistic, tranquil, no people, no text.
- Close, low-angle photograph of a rocky tidal pool at golden hour: crystal-clear water over orange starfish, green anemones and small striped shells, wet black rock rimmed with barnacles, the setting sun flaring warm across the water's surface, distant waves softly out of focus behind. Macro-like detail in the foreground, gentle reflections, natural saturated colour, 35 mm lens at f/4, photorealistic, calm coastal mood, no people, no text.

## More models

[Browse all Browse all models](https://comfy.org/hub/models/)

- [xAI

  ### Grok Imagine Image 2.0

  Text to Image

  grok xai image text-to-image grok-imagine-image-2.0](https://comfy.org/hub/models/grok-imagine-image-2-0-text-to-image/)
- [xAI

  ### Grok Imagine Video

  Image to Video

  grok xai video text-to-video image-to-video](https://comfy.org/hub/models/grok-imagine-video-image-to-video/)
- [xAI

  ### Grok Imagine Video 1.5

  Image to Video

  grok xai video 1.5 text-to-video image-to-video](https://comfy.org/hub/models/grok-imagine-video-1-5-image-to-video/)
- [Ideogram

  ### Ideogram V3

  Text to Image

  text-rendering photorealistic fast ideogram image text-to-image](https://comfy.org/hub/models/ideogram-v3-text-to-image/)
