[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Vizard](https://spiral.ai/integrations/gemini-cli/vizard)

# How to Use Vizard in Gemini CLI

To use Vizard in Gemini CLI, connect Spiral to Gemini CLI once, then ask for what you want in plain words. Gemini CLI can then reach Vizard on Spiral, priced per run from one balance.

|  |  |
| --- | --- |
| Tools | 1 |
| Categories | Video |
| Served by | Vizard |
| Pricing | Pay per run, no subscription |
| Setup | About 2 minutes, no API key |

## Prompts to try with Vizard in Gemini CLI

- Use Vizard on the video I attach and give me the result as an MP4. Save the result in ./assets.
- Process these three clips with Vizard and tell me the total cost before you start.
- Run Vizard on this screen recording so it is ready to post.
- Run Vizard on every MP4 in this folder and give me a list of the results with their cost.
- Check what Vizard costs for a 3-minute clip, then run it on the video I attach.

## How to set up Vizard in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

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

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

### Call the Spiral API

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

2. **Run Vizard**: 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": "vizard",
    "model": "clip_v1",
    "input": {
      "lang": "<lang>",
      "videoUrl": "<videoUrl>",
      "videoType": 1,
      "preferLength": [
        1
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Vizard on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Vizard tools and prices

- [Vizard · Long Video to Short Clips](https://spiral.ai/tools/vizard/clip_v1) (Vizard): $0.0325 per minute of source video, whole minutes, at least 1 minute ($0.0407 per minute with the v2 clip model).

## What can you do with Vizard in Gemini CLI?

Gemini CLI can edit and transform video with Vizard right in your repository and save the results where you need them: as files in your project, in a script or in your build. One sign-in covers every tool, so your code stays free of provider SDKs and keys.

### Batch processing

Run the same edit over many files and get a list of results.

### Clean-up

Upscale, remove watermarks or backgrounds before publishing.

### Repurposing

Turn long recordings into posts for each channel.

### Short clips from long video

Cut highlights for social channels.

### Format conversion

Resize and re-encode for each platform.

### Quality fixes

Stabilize, upscale or clean up footage.

## Overview

- [Vizard](https://spiral.ai/providers/vizard)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Vizard in other agents

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

## More Gemini CLI guides

- [OpenAI](https://spiral.ai/integrations/gemini-cli/openai)
- [xAI](https://spiral.ai/integrations/gemini-cli/xai)
- [Mistral](https://spiral.ai/integrations/gemini-cli/mistral)
- [ACE-Step Audio Inpaint](https://spiral.ai/integrations/gemini-cli/ace-step-audio-inpaint)
- [Hedra](https://spiral.ai/integrations/gemini-cli/hedra)
- [ACE-Step Audio Outpaint](https://spiral.ai/integrations/gemini-cli/ace-step-audio-outpaint)

## Questions about Vizard in Gemini CLI

**Can Gemini CLI use Vizard?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Vizard like any built-in tool.

**How much does Vizard cost in Gemini CLI?**

Each tool has its own price, for example Vizard Long Video to Short Clips: $0.0325 per minute of source video, whole minutes, at least 1 minute ($0.0407 per minute with the v2 clip model). You pay per run from one Spiral balance, and failed runs are free.

**Do I need a Vizard account to use Vizard in Gemini CLI?**

No. Spiral runs Vizard on its own Vizard account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Vizard in Gemini CLI?**

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

**Does Gemini CLI wait while Vizard runs?**

Vizard runs in the background. Gemini CLI starts the run, checks on it and gives you the video, json when it's ready.

**Which Vizard tools can Gemini CLI use?**

Gemini CLI can reach Vizard on Spiral, covering video. Popular ones include Vizard · Long Video to Short Clips. Ask for one by name, or describe the task and Gemini CLI picks a fitting tool.

**Can Gemini CLI compare Vizard tools?**

Yes. Ask Gemini CLI to run the same request on two Vizard tools and show both results with what each cost. Each run is priced and billed on its own.

**What happens if a Vizard run fails in Gemini CLI?**

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

**Is there a Vizard 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 keeps Gemini CLI from stopping when the balance runs low.

