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.
Prompts to try with Kling LipSync Audio to Video in Codex
Copy an example into Codex, or ask in your own words.
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
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Kling LipSync Audio 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/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.
Kling LipSync Audio to Video providers and prices
Spiral runs Kling LipSync Audio to Video through fal. Open a card for today's price, with every fee included.
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.
More on Kling LipSync Audio to Video and Codex
Overview
Kling LipSync Audio to Video in other agents
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.
Start using Kling LipSync Audio to Video in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


