[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Grok Imagine Image 2.0 Text to Image](https://spiral.ai/integrations/n8n/grok-imagine-image-2-0-text-to-image)

# How to Use Grok Imagine Image 2.0 Text to Image in n8n

Grok Imagine Image 2.0 Text to Image turns written briefs into posters, product concepts, and illustrations with planned typography. Unlike Grok Imagine Image 2.0 Edit, it creates the starting image from text.

|  |  |
| --- | --- |
| Model | Grok Imagine Image 2.0 Text to Image |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image at 1K, low quality ($0.065 at 1.5K, $0.078 at 2K); other qualities $0.078 at 1K ($0.091 at 1.5K, $0.104 at 2K). |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Grok Imagine Image 2.0 Text to Image in n8n

- Every Monday, use Grok Imagine Image 2.0 Text to Image to create one square gardening illustration. Feature a single seasonal vegetable in pencil, centered on white paper, at 2K; include the subject and prompt with the draft.
- Each Friday, use Grok Imagine Image 2.0 Text to Image to draft a portrait poster reading 'Weekend workshop'. Show one handmade ceramic object below the title, use 2K and medium quality, and hold the result for review.
- On the first of each month, use Grok Imagine Image 2.0 Text to Image to draft a wide newsletter image of a wooden desk with one open notebook. Keep the upper third clear for copy and use 2K.
- Every Monday at 9am: generate a product photo with Grok Imagine Image 2.0 Text to Image: 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 Text to Image.

## How to set up Grok Imagine Image 2.0 Text to Image in n8n

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

### Use the Spiral skill

1. **Send n8n 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. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Grok Imagine Image 2.0 Text to Image in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Grok Imagine Image 2.0 Text to Image, prices it and runs it each time the step fires.

### 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 Text to Image**: 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": "fal",
    "model": "xai/grok-imagine-image/v2.0/text-to-image",
    "input": {
      "prompt": "Abstract human silhouette, golden particles ready to burst outward representing joy, data visualization style, emotional expression through particles, artistic…"
    }
  }'
```

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

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

## Grok Imagine Image 2.0 Text to Image tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| num_images | 1 to 10 | 1 | Number of images to generate. |
| aspect_ratio | 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2, auto, 21:9, 5:2 | 1:1 | Aspect ratio of the generated image. Use auto to let the provider choose. |
| resolution | 1k, 1.5k, 2k | 1k | Resolution of the generated image: 1k, 1.5k, or 2k. |
| output_format | jpeg, png, webp | jpeg | The format of the generated image. |
| image_passthrough |  | false | Send edit references and return provider images without resizing or re-encoding, preserving transparency and metadata. The returned native format may differ from output_format. |
| quality | low, medium, auto | medium | Quality level of the generated image. `auto` lets xAI choose; it currently uses `low` for generation. |

## What can you do with Grok Imagine Image 2.0 Text to Image in n8n?

Prepare recurring artwork drafts from repeatable briefs with Grok Imagine Image 2.0. Keep the visual instructions consistent across runs and collect the results for review.

### Event poster concepts

Create a poster from a written brief or revise supplied artwork. Specify the event title, date, and text hierarchy, then proofread the lettering.

### Packaging design exploration

Visualize a carton or label from text, or revise an existing packaging image. Describe the printing surface and provide the exact label copy.

### Website header artwork

Generate a scene from a brief or rework supplied artwork for a website header. State where the subject sits and reserve a clear area for page copy.

### Game art concepts

Develop a character, prop, or location from text, or restyle an existing concept. Specify one visual treatment and review each image for consistent details.

### Editorial illustration drafts

Turn an article idea into a pencil drawing, painted scene, or photographic concept. Define one subject and the detail that connects it to the story.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Grok Imagine Image 2.0 Text to Image in other agents

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

## More n8n guides

- [Grok Imagine Image 2.0 Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-2-0-edit)
- [Grok Imagine Image Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-edit)
- [Grok Imagine Image 2.0](https://spiral.ai/integrations/n8n/grok-imagine-image-2-0)
- [Grok Imagine Image Quality Edit](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-edit)
- [Grok Imagine Image](https://spiral.ai/integrations/n8n/grok-imagine-image)
- [Grok Imagine Image Quality Text to Image](https://spiral.ai/integrations/n8n/grok-imagine-image-quality-text-to-image)

## Questions about Grok Imagine Image 2.0 Text to Image in n8n

**Can n8n use Grok Imagine Image 2.0 Text to Image?**

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

**How much does Grok Imagine Image 2.0 Text to Image cost in n8n?**

$0.052 per image at 1K, low quality ($0.065 at 1.5K, $0.078 at 2K); other qualities $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 n8n plan is separate.

**Do I need a fal account to use Grok Imagine Image 2.0 Text to Image in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Grok Imagine Image 2.0 Text to Image on its own fal account.

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

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Grok Imagine Image 2.0 Text to Image runs?**

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

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

It is useful for visual work that combines pictures and lettering, such as posters and packaging concepts. The maker highlights typography, layout, and small text as strengths.

**Can Grok Imagine Image 2.0 put words inside an image?**

Yes. Supply the exact wording, then describe where it belongs and which line should be largest; proofread the result before using it.

**How should I request fine detail?**

Use medium quality and 2K output when small details need to be recognizable. Describe the details themselves, such as stitching or a brushed metal surface.

**Is Grok Imagine Image 2.0 limited to realistic pictures?**

No. It also supports illustrated treatments, including anime, oil painting, and pencil drawing.

**What prompting habit should I avoid?**

Avoid long lists of unwanted objects and effects. Describe the objects, materials, and composition you want to see instead.

