Spiral gives your agent every tool with one account. Browse the tools →

Gemini · ImageReleased 2026-08-07

How to Use Grok Imagine Image 2.0 in Gemini

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.

Prompts to try with Grok Imagine Image 2.0 in Gemini

Copy an example into Gemini, or ask in your own words.

Use Grok Imagine Image 2.0 to make a portrait poster reading 'Neighborhood seed swap' with 'Saturday, April 18' beneath it. Show three seed packets on an oak table, illustrated in watercolor. Use medium quality and 2K resolution.

Grok Imagine Image 2.0Gemini
Try asking
  • Use Grok Imagine Image 2.0 to create a wide editorial photograph of one red bicycle leaning against a cream brick wall. Show the entire bicycle from the side, with hard morning sunlight from the left. Use a 3:2 shape and 2K resolution.

  • Use Grok Imagine Image 2.0 to create a square fantasy prop illustration of one antler crown resting on a snow-covered stone pedestal. Show shallow rune carvings and cold blue morning light. Use medium quality and 2K resolution.

  • 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 Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.

    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: Gemini finds Grok Imagine Image 2.0 on Spiral, shows the price and runs it.

Grok Imagine Image 2.0 providers and prices

Spiral runs Grok Imagine Image 2.0 through xAI. Open a card for today's price, with every fee included.

xAIImage

Settings you can ask for

Grok Imagine Image 2.0 works from your prompt. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
N1 to 101

Number of images to be generated

Qualitylow, medium, or auto

Quality of the generated image (grok-imagine-image-2.0). auto uses low.

Resolution1k, 2k, or 1.5k

Resolution of the generated image. Defaults to 1k.

Only supported by grok-imagine models.

Aspect ratio1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, 9:19.5 and 8 more

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.

Every API field of Grok Imagine Image 2.0 · Text to Image is on its tool page: open its card above.

What can you do with Grok Imagine Image 2.0 in Gemini?

Make visual drafts for a presentation, campaign, or creative project with Grok Imagine Image 2.0. Describe the intended subject and layout in conversation, then review the result against that brief.

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.

Questions about Grok Imagine Image 2.0 in Gemini

Can Gemini use Grok Imagine Image 2.0?

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

How much does Grok Imagine Image 2.0 cost in Gemini?

$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 Gemini plan is separate.

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

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 Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Grok Imagine Image 2.0 runs?

Grok Imagine Image 2.0 runs in the background. Gemini 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.

Get started

Start using Grok Imagine Image 2.0 in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options