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

Gemini CLI · Video

How to Use Kling LipSync Text to Video in Gemini CLI

Kling LipSync Text to Video turns a script of up to 120 characters into speech synchronized with an existing character video. Unlike Kling LipSync Audio to Video, it creates the voice performance from text.

Prompts to try with Kling LipSync Text to Video in Gemini CLI

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

Use Kling LipSync Text to Video with the project's 8-second, 1080p presenter clip. Make it say, 'Welcome. Choose a project to get started.' Save the result beside the onboarding assets.

Kling LipSync Text to VideoGemini CLI
Try asking
  • Read the release notes and write a spoken feature introduction under 100 characters. Use Kling LipSync Text to Video with our 10-second, 720p presenter footage, then save the script alongside the result.

  • Create three separate greetings under 90 characters each using Kling LipSync Text to Video and the project's 10-second presenter clip. Save each result with its exact script so we can compare delivery.

  • Make a talking-head video with Kling LipSync Text to Video from this headshot and this 20-second voiceover. Save the result in ./assets.

  • Create a 15-second founder intro with Kling LipSync Text to Video using the photo and script I attach.

How to set up Kling LipSync Text to Video 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Kling LipSync Text to Video

    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": "fal",
        "model": "fal-ai/kling-video/lipsync/text-to-video",
        "input": {
          "video_url": "https://fal.media/files/koala/8teUPbRRMtAUTORDvqy0l.mp4",
          "text": "Mental health is as important as physical health, shaping our emotions, thoughts, and daily interactions.",
          "voice_id": "genshin_vindi2"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Kling LipSync Text to Video on Spiral, shows the price and runs it.

Kling LipSync Text to Video providers and prices

Spiral runs Kling LipSync Text to Video through fal. Open a card for today's price, with every fee included.

falVideo
Kling LipSync · Text to Video
fal-ai/kling-video/lipsync/text-to-video

Settings you can ask for

Kling LipSync Text to Video works from your video URL. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Voice IDgenshin_vindi2, zhinen_xuesheng, AOT, ai_shatang, genshin_klee2, genshin_kirara, ai_kaiya, oversea_male1 and 38 more

Voice ID to use for speech synthesis

Voice languagezh or enen

The voice language corresponding to the Voice ID

Voice speed0.8 to 21

Speech rate for Text to Video generation

Every API field of Kling LipSync · Text to Video is on its tool page: open its card above.

What can you do with Kling LipSync Text to Video in Gemini CLI?

Turn existing character footage into speaking clips for app onboarding, product demos, or tutorials with Kling LipSync. A coding agent can prepare project assets, check source-video limits, and organize results for review.

Product introduction clips

Give an existing presenter video a short spoken introduction to one product or feature. Keep each clip focused on a single message.

Course welcome messages

Add a brief welcome line to an existing instructor or human character video for the opening of a lesson.

Animated character dialogue

Make a human character in a 2D or 3D video speak a short line. Choose footage with a complete, visible face.

Alternate ad openings

Try several short opening lines against the same supported presenter footage. Review each result for delivery and lip timing.

App onboarding greetings

Create a brief speaking-presenter greeting for an app's welcome screen using an existing character video.

Short support explanations

Add a spoken answer to a presenter clip explaining one common task, such as finding a receipt or changing a notification preference.

Questions about Kling LipSync Text to Video in Gemini CLI

Can Gemini CLI use Kling LipSync Text to Video?

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

How much does Kling LipSync Text to Video cost in Gemini CLI?

Up to $1.092 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 LipSync Text to Video in Gemini CLI?

No. Spiral runs Kling LipSync Text to Video 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 LipSync Text to Video in Gemini CLI?

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

Does Gemini CLI wait while Kling LipSync Text to Video runs?

Kling LipSync Text to Video runs in the background. Gemini CLI starts the run, checks on it and gives you the video when it's ready.

What does Kling LipSync do?

Kling LipSync synchronizes a character's mouth movements with speech in existing video footage. Use it to add a spoken performance to a character shot.

Can Kling LipSync start from a still photo?

These Kling LipSync models require an existing video. If you have a portrait, turn it into a character video before applying lip synchronization.

Does Kling LipSync work with animated characters?

Kling documents support for human characters in realistic, 3D, and 2D styles. Animal characters are unsupported.

What video resolution should I prepare?

Prepare 720p or 1080p footage, with both width and height between 720 and 1920 pixels. The documentation specifies these as source-video requirements.

What kind of character shot should I choose?

Choose footage showing the complete face, preferably facing forward or at a gentle angle. Keep the mouth visible so you can judge whether the lip movements match the speech.

Get started

Start using Kling LipSync Text to Video in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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