[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Kling Avatar 2.0 Pro](https://spiral.ai/integrations/gemini-cli/kling-avatar-2-0-pro)

# How to Use Kling Avatar 2.0 Pro in Gemini CLI

Kling Avatar 2.0 Pro turns character images and recorded audio into talking or singing videos. Compared with Kling Avatar 2.0 Standard, it offers finer facial detail and smoother lip sync for close-up presenters.

|  |  |
| --- | --- |
| Model | Kling Avatar 2.0 Pro |
| Available through | fal |
| Category | Video |
| Price | Up to $8.97 per run at the default inputs for 60 seconds of input. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Kling Avatar 2.0 Pro in Gemini CLI

- Use Kling Avatar 2.0 Pro with the instructor portrait and 30-second welcome recording in this project's assets. Request a gentle smile and occasional nods, then add the video to the course introduction.
- Use Kling Avatar 2.0 Pro with the presenter image and approved 45-second release announcement in the project. Request confident delivery with occasional explanatory gestures.
- Use Kling Avatar 2.0 Pro to animate the singer artwork to the project's 30-second chorus recording. Request expressive singing and gentle swaying, then save the video beside the audio.
- Estimate, then generate a 5-second 9:16 clip with Kling Avatar 2.0 Pro: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Kling Avatar 2.0 Pro for a smartwatch, slow orbit shot, studio lighting.

## How to set up Kling Avatar 2.0 Pro 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 Kling Avatar 2.0 Pro**: 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": "fal-ai/kling-video/ai-avatar/v2/pro",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/kling_ai_avatar_input.jpg",
      "audio_url": "https://v3.fal.media/files/rabbit/9_0ZG_geiWjZOmn9yscO6_output.mp3"
    }
  }'
```

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

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

## Kling Avatar 2.0 Pro tools and prices

- [Kling AI Avatar v2 Pro](https://spiral.ai/tools/fal/fal-ai/kling-video/ai-avatar/v2/pro) (fal): $0.1495 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  | . | The prompt to use for the video generation. |

## What can you do with Kling Avatar 2.0 Pro in Gemini CLI?

Turn project narration and character artwork into presenter clips for tutorials and product updates. A coding agent can locate the assets, prepare performance directions, and place the resulting videos in the project.

### Course introductions

Animate an instructor portrait to a recorded lesson introduction, using a patient expression and occasional explanatory gestures.

### Product announcement presenters

Turn a presenter image and approved announcement recording into a speaking video with confident delivery.

### Podcast excerpts

Give a recorded solo podcast excerpt an on-screen host by animating a portrait to the speaker's audio.

### Singing character clips

Animate a singer or illustrated performer to a recorded song excerpt, with expressions and movement suited to the performance.

### Multilingual welcome videos

Pair a host image with separate English, Japanese, Korean, or Chinese recordings to create welcome messages for different audiences.

### Illustrated story narrators

Give a drawn narrator a speaking performance using a recorded passage and a warm, expressive delivery prompt.

### Mascot announcements

Animate an animal or cartoon mascot to a short announcement recording for community updates.

### Employee training introductions

Create a presenter-led opening for a training module from an instructor image and approved narration.

## Overview

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

## Kling Avatar 2.0 Pro in other agents

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

## More Gemini CLI guides

- [Kling AI Avatar Standard](https://spiral.ai/integrations/gemini-cli/kling-ai-avatar-standard)
- [Kling Avatar 2.0 Standard](https://spiral.ai/integrations/gemini-cli/kling-avatar-2-0-standard)
- [Kling AI Avatar Pro](https://spiral.ai/integrations/gemini-cli/kling-ai-avatar-pro)
- [Kling LipSync Audio to Video](https://spiral.ai/integrations/gemini-cli/kling-lipsync-audio-to-video)
- [Kling 4.0 Video Edit](https://spiral.ai/integrations/gemini-cli/kling-4-0-video-edit)
- [Kling LipSync Text to Video](https://spiral.ai/integrations/gemini-cli/kling-lipsync-text-to-video)

## Questions about Kling Avatar 2.0 Pro in Gemini CLI

**Can Gemini CLI use Kling Avatar 2.0 Pro?**

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

**How much does Kling Avatar 2.0 Pro cost in Gemini CLI?**

Up to $8.97 per run at the default inputs for 60 seconds of input. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Kling Avatar 2.0 Pro in Gemini CLI?**

No. Spiral runs Kling Avatar 2.0 Pro on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Kling Avatar 2.0 Pro in Gemini CLI?**

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

**Does Gemini CLI wait while Kling Avatar 2.0 Pro runs?**

Kling Avatar 2.0 Pro runs in the background. Gemini CLI starts the run, checks on it and gives you the video when it's ready.

**What is Kling Avatar 2.0 best for?**

Talking presenters, narrated characters, and singing performances driven by recorded audio. Its focus is matching the character's performance to the audio.

**How long can a Kling Avatar 2.0 video be?**

Kling documents videos up to five minutes. The supplied audio determines the clip's length, so trim the recording to the intended runtime.

**Which languages does Kling Avatar 2.0 support?**

Kling's guide lists English, Japanese, Korean, and Chinese. Use a recording in the intended language.

**Can Kling Avatar 2.0 animate cartoons or animals?**

Yes. It supports realistic humans, animals, cartoons, and stylized characters, making illustrated hosts and speaking mascots useful applications.

**What should I put in a performance prompt?**

Describe the expression and movement you want: a gentle smile, occasional nods, or a restrained hand gesture. Start with one clear delivery style, then refine it after reviewing the result.

