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

Providers · Video

How to Use xAI Grok Imagine in Any AI Agent

To use xAI Grok Imagine in Grok, connect Spiral to Grok once, then ask for what you want in plain words. Grok can then reach all 3 xAI Grok Imagine tools on Spiral, priced per run from one balance.

xAI tools on Spiral

Today's price is in each card, with every fee included.

xAIVideo
xAIImage

Use xAI in your AI agent

Pick your agent for its setup steps and prompts. Each takes about two minutes.

What can you do with xAI in an AI agent?

Ads and social clips

Short vertical or square clips from a written brief.

B-roll

Fill gaps in an edit with generated shots that match the scene.

Storyboards that move

Turn a script's scenes into rough cuts to review.

Product teasers

Short launch clips without a shoot.

Explainer scenes

Visualize a concept in a few seconds of video.

Concept testing

Try several directions before paying for production.

Questions about xAI in AI agents

Which AI agents can use xAI Grok Imagine?

Any agent Spiral connects to: Claude, ChatGPT, Gemini, Grok and Perplexity, coding agents such as Cursor, Claude Code and Codex, and workflow tools such as Zapier and n8n. Each agent's guide below shows its setup.

How much does xAI Grok Imagine cost through Spiral?

Each xAI Grok Imagine tool is priced per run, shown before it starts, and paid from one Spiral balance. Each run is charged for its measured usage.

Do I need a xAI Grok Imagine account to use it in an AI agent?

No. Spiral runs xAI Grok Imagine on its own account and charges your Spiral balance, so your agent needs no xAI Grok Imagine key.

How do I set up xAI Grok Imagine in my agent?

Connect Spiral to your agent once (a skill, an MCP server, the CLI or the API), then ask for a xAI Grok Imagine tool by name. Each agent's guide on this page has its exact steps.

Can my agent compare xAI Grok Imagine tools?

Yes. Ask it to run the same request on two xAI Grok Imagine tools and show both results with what each cost.

What happens if a run fails in your agent?

It is not charged. Spiral holds a run's estimated price when it starts and returns it to your balance if the run fails on Spiral's side or the provider's, and your agent gets the error to retry or try another tool.

Is there a subscription or plan?

No. Spiral is pay as you go from one prepaid balance, with no plans or minimums, and credits never expire. Auto top-up and balance alerts keep runs from stopping when the balance runs low.

How is a run priced?

When a run starts, its estimate is held from your balance; when it finishes, you are charged for the measured usage and the rest of the hold is released. Each tool shows its price before a run.

Get started

Start using xAI in your agent

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

Paste this into your agent:

Set up your agent

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