[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [Grok Imagine Image 2.0](https://spiral.ai/integrations/openclaw/grok-imagine-image-2-0)

# How to Use Grok Imagine Image 2.0 in OpenClaw

Grok Imagine Image 2.0 creates posters, illustrations, and product concepts from text, with particular attention to typography and layout. Unlike Grok Imagine Image 2.0 Edit, it starts without a source image.

|  |  |
| --- | --- |
| Model | Grok Imagine Image 2.0 |
| Available through | xAI |
| Category | Image |
| Price | $0.052 per image at 1K ($0.065 at 1.5K, $0.078 at 2K); medium quality $0.078 at 1K ($0.091 at 1.5K, $0.104 at 2K). |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Grok Imagine Image 2.0 in OpenClaw

- Every Monday, use Grok Imagine Image 2.0 to draft one square illustration for that week's approved gardening topic. Depict one main tool or plant, with an ink drawing on cream paper. Use 2K resolution and send the draft for review.
- Each Friday, use Grok Imagine Image 2.0 to draft a landscape illustration for the approved newsletter theme. Use a cut-paper style with rust, cream, and charcoal colors, one clear subject, and space for a headline. Use a 16:9 shape and 2K resolution.
- For each approved event brief, use Grok Imagine Image 2.0 to draft a portrait poster using its exact title and date. Give the title the strongest visual emphasis and include one relevant illustration. Use medium quality and 2K resolution; flag lettering for review.
- Every Monday at 9am: generate a product photo with Grok Imagine Image 2.0: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
- Make four logo concepts for a coffee brand called "Northline" with Grok Imagine Image 2.0.

## How to set up Grok Imagine Image 2.0 in OpenClaw

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send OpenClaw this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Grok Imagine Image 2.0**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "xai",
    "model": "grok-imagine-image-2.0",
    "input": {
      "prompt": "<prompt>"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds Grok Imagine Image 2.0 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## Grok Imagine Image 2.0 tools and prices

- [Grok Imagine Image 2.0 · Text to Image](https://spiral.ai/tools/xai/grok-imagine-image-2.0) (xAI): $0.052 per image at 1K ($0.065 at 1.5K, $0.078 at 2K); medium quality $0.078 at 1K ($0.091 at 1.5K, $0.104 at 2K).

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| n | 1 to 10 | 1 | Number of images to be generated |
| quality | low, medium, auto | — | Quality of the generated image (grok-imagine-image-2.0). `auto` uses `low`. |
| resolution | 1k, 2k, 1.5k | — | Resolution of the generated image. Defaults to `1k`. Only supported by grok-imagine models. |
| aspect_ratio | 1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, 9:19.5, 19.5:9, 9:20, 20:9, 1:2, 2:1, 21:9, 5:2, auto | — | Aspect ratio of the generated image. Can be `1:1`, `3:4`, `4:3`, `9:16`, `16:9`, `2:3`, `3:2`, `9:19.5`, `19.5:9`, `9:20`, `20:9`, `1:2`, `2:1`, `21:9`, `5:2`, or `auto`. Defaults to `auto` for automatically selecting the best ratio for the prompt. Only supported by grok-imagine models. |

## What can you do with Grok Imagine Image 2.0 in OpenClaw?

Prepare recurring visual drafts for an editorial calendar or campaign with Grok Imagine Image 2.0. A scheduled agent can reuse a written art direction and flag results that miss the brief for review.

### Event posters

Create a poster from a written brief or revise existing artwork, with a clear headline and supporting event details.

### Editorial illustrations

Develop an article illustration from its central idea, or adapt an existing illustration to a new visual direction.

### Product campaign concepts

Explore a product scene from a description or revise an existing product picture with different materials, lighting, or surroundings.

### Game concept art

Develop characters, locations, and props in a shared visual style, starting with written descriptions or existing artwork.

### Illustrated explainers

Compose a visual explanation from supplied copy or revise an existing graphic's labels and artwork. Check the final text and relationships against the brief.

## Overview

- [xAI](https://spiral.ai/providers/xai)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## Grok Imagine Image 2.0 in other agents

- [Amp](https://spiral.ai/integrations/amp/grok-imagine-image-2-0)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/grok-imagine-image-2-0)
- [Claude](https://spiral.ai/integrations/claude-desktop/grok-imagine-image-2-0)
- [Claude Code](https://spiral.ai/integrations/claude-code/grok-imagine-image-2-0)
- [Cline](https://spiral.ai/integrations/cline/grok-imagine-image-2-0)
- [Codex](https://spiral.ai/integrations/codex/grok-imagine-image-2-0)
- [Cursor](https://spiral.ai/integrations/cursor/grok-imagine-image-2-0)
- [Devin](https://spiral.ai/integrations/devin/grok-imagine-image-2-0)
- [dots](https://spiral.ai/integrations/dots/grok-imagine-image-2-0)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/grok-imagine-image-2-0)
- [Gemini](https://spiral.ai/integrations/gemini/grok-imagine-image-2-0)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/grok-imagine-image-2-0)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/grok-imagine-image-2-0)
- [goose](https://spiral.ai/integrations/goose/grok-imagine-image-2-0)
- [Grok](https://spiral.ai/integrations/grok/grok-imagine-image-2-0)
- [Grok Build](https://spiral.ai/integrations/grok-build/grok-imagine-image-2-0)
- [Hermes](https://spiral.ai/integrations/hermes/grok-imagine-image-2-0)
- [Instinct](https://spiral.ai/integrations/instinct/grok-imagine-image-2-0)
- [Manus](https://spiral.ai/integrations/manus/grok-imagine-image-2-0)
- [Muse](https://spiral.ai/integrations/muse/grok-imagine-image-2-0)
- [Muse Code](https://spiral.ai/integrations/muse-code/grok-imagine-image-2-0)
- [n8n](https://spiral.ai/integrations/n8n/grok-imagine-image-2-0)
- [Notion](https://spiral.ai/integrations/notion/grok-imagine-image-2-0)
- [opencode](https://spiral.ai/integrations/opencode/grok-imagine-image-2-0)
- [Perplexity](https://spiral.ai/integrations/perplexity/grok-imagine-image-2-0)
- [Raycast](https://spiral.ai/integrations/raycast/grok-imagine-image-2-0)
- [VS Code](https://spiral.ai/integrations/vscode/grok-imagine-image-2-0)
- [Windsurf](https://spiral.ai/integrations/windsurf/grok-imagine-image-2-0)
- [Zapier](https://spiral.ai/integrations/zapier/grok-imagine-image-2-0)

## More OpenClaw guides

- [Grok Imagine Image](https://spiral.ai/integrations/openclaw/grok-imagine-image)
- [Grok Imagine Image 2.0 Edit](https://spiral.ai/integrations/openclaw/grok-imagine-image-2-0-edit)
- [Google Virtual Try-On](https://spiral.ai/integrations/openclaw/google-virtual-try-on)
- [Grok Imagine Image 2.0 Text to Image](https://spiral.ai/integrations/openclaw/grok-imagine-image-2-0-text-to-image)
- [Gemini 2.5 Flash Image Edit](https://spiral.ai/integrations/openclaw/gemini-2-5-flash-image-edit)
- [Grok Imagine Image Edit](https://spiral.ai/integrations/openclaw/grok-imagine-image-edit)

## Questions about Grok Imagine Image 2.0 in OpenClaw

**Can OpenClaw use Grok Imagine Image 2.0?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Grok Imagine Image 2.0 like any built-in tool.

**How much does Grok Imagine Image 2.0 cost in OpenClaw?**

$0.052 per image at 1K ($0.065 at 1.5K, $0.078 at 2K); medium quality $0.078 at 1K ($0.091 at 1.5K, $0.104 at 2K). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

**Do I need a xAI account to use Grok Imagine Image 2.0 in OpenClaw?**

No. Spiral runs Grok Imagine Image 2.0 on its own xAI account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Grok Imagine Image 2.0 in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while Grok Imagine Image 2.0 runs?**

Grok Imagine Image 2.0 runs in the background. OpenClaw starts the run, checks on it and gives you the image when it's ready.

**What is Grok Imagine Image 2.0 good at?**

Photography, illustration, and designed compositions such as posters are documented strengths. xAI also demonstrates coordinated character, location, and prop artwork.

**Can Grok Imagine Image 2.0 handle text inside images?**

xAI specifically emphasizes small text and typography within detailed layouts. Posters and illustrated explainers are useful applications; proofread the finished lettering before publishing.

**What should I choose for fine details?**

xAI recommends medium quality and 2K output when fine details need to remain recognizable.

**How should I write a prompt?**

Name the subject first. Follow with visible details, materials, object counts, lighting, and the intended crop.

**What prompting mistakes should I avoid?**

Long avoid lists can be ignored, and a complete scene rewrite during an edit can shift the subject or duplicate props. Describe the desired result concretely and keep corrections focused.

