[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Kling LipSync Audio to Video](https://spiral.ai/integrations/codex/kling-lipsync-audio-to-video)

# How to Use Kling LipSync Audio to Video in Codex

Kling LipSync Audio to Video matches a character's mouth movements to recorded speech or singing in an existing 2–10-second video. Unlike Kling LipSync Text to Video, it uses your audio performance rather than synthesizing speech from a script.

|  |  |
| --- | --- |
| Model | Kling LipSync Audio to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $0.182 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 LipSync Audio to Video in Codex

- Use Kling LipSync Audio to Video with the project's 6-second presenter video and matching narration recording. Check that the video is MP4 or MOV and the audio is under 5 MB before generating.
- Use Kling LipSync Audio to Video to match our 8-second 3D human character video to the approved 8-second voice recording. Save a review copy in the tutorial assets folder.
- Make a talking-head video with Kling LipSync Audio to Video from this headshot and this 20-second voiceover. Save the result in ./assets.
- Create a 15-second founder intro with Kling LipSync Audio to Video using the photo and script I attach.
- Turn this audio clip into a lip-synced avatar video with Kling LipSync Audio to Video.

## How to set up Kling LipSync Audio to Video in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 LipSync Audio to Video**: 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/lipsync/audio-to-video",
    "input": {
      "video_url": "https://fal.media/files/koala/8teUPbRRMtAUTORDvqy0l.mp4",
      "audio_url": "https://storage.googleapis.com/falserverless/kling/kling-audio.mp3"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Kling LipSync Audio to Video tools and prices

- [Kling LipSync Audio-to-Video · LipSync (Audio to Video)](https://spiral.ai/tools/fal/fal-ai/kling-video/lipsync/audio-to-video) (fal): Up to $0.182 per run at the default inputs for 60 seconds of input.

## What can you do with Kling LipSync Audio to Video in Codex?

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.

### Singing character excerpts

Synchronize a short human character video with a supplied singing performance. Start with a clear vocal recording and a visible mouth.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Kling LipSync Audio to Video in other agents

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

## More Codex guides

- [Kling Avatar 2.0 Standard](https://spiral.ai/integrations/codex/kling-avatar-2-0-standard)
- [Kling LipSync Text to Video](https://spiral.ai/integrations/codex/kling-lipsync-text-to-video)
- [Kling Avatar 2.0 Pro](https://spiral.ai/integrations/codex/kling-avatar-2-0-pro)
- [Kling O1 Image to Video Pro](https://spiral.ai/integrations/codex/kling-o1-image-to-video-pro)
- [Kling AI Avatar Standard](https://spiral.ai/integrations/codex/kling-ai-avatar-standard)
- [Kling O1 Image to Video Standard](https://spiral.ai/integrations/codex/kling-o1-image-to-video-standard)

## Questions about Kling LipSync Audio to Video in Codex

**Can Codex use Kling LipSync Audio to Video?**

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

**How much does Kling LipSync Audio to Video cost in Codex?**

Up to $0.182 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 Codex plan is separate.

**Do I need a fal account to use Kling LipSync Audio to Video in Codex?**

No. Spiral runs Kling LipSync Audio 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 Audio to Video in Codex?**

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

**Does Codex wait while Kling LipSync Audio to Video runs?**

Kling LipSync Audio to Video runs in the background. Codex 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.

