How to Use Sync Lipsync 2.0 Pro in VS Code
Sync Lipsync 2.0 Pro matches talking footage to replacement audio with extra attention to facial detail. Compared with Sync Lipsync 2.0, it adds diffusion-based super resolution to preserve beards, teeth, and features around the mouth.
Prompts to try with Sync Lipsync 2.0 Pro in VS Code
Copy an example into VS Code, or ask in your own words.
Use Sync Lipsync 2.0 Pro for the presenter close-up in assets/intro.mp4 with assets/new-intro.wav. Save the result beside the source so I can inspect the teeth and beard detail.
Use Sync Lipsync 2.0 Pro to match assets/animated-host.mp4 to assets/host-dialogue.wav. Check that the character has a human-like face and visible speaking motion first.
Make a talking-head video with Sync Lipsync 2.0 Pro from this headshot and this 20-second voiceover. Save the result in ./assets.
Create a 15-second founder intro with Sync Lipsync 2.0 Pro using the photo and script I attach.
Turn this audio clip into a lip-synced avatar video with Sync Lipsync 2.0 Pro.
How to set up Sync Lipsync 2.0 Pro in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 Sync Lipsync 2.0 Pro
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/sync-lipsync/v2/pro", "input": { "video_url": "https://storage.googleapis.com/falserverless/example_inputs/sync_v2_pro_video_input.mp4", "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/sync_v2_pro_audio_input.mp3" } }'
Then paste one of the prompts above: VS Code finds Sync Lipsync 2.0 Pro on Spiral, shows the price and runs it.
Sync Lipsync 2.0 Pro providers and prices
Spiral runs Sync Lipsync 2.0 Pro through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Sync Lipsync 2.0 Pro works from your video URL and audio URL. Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sync mode | cut_off, loop, bounce, silence, or remap | cut_off | Lipsync mode when audio and video durations are out of sync. |
Every API field of Sync Lipsync is on its tool page: open its card above.
What can you do with Sync Lipsync 2.0 Pro in VS Code?
Turn recorded presenters and animated talking shots in your project into videos with replacement dialogue. Your coding agent can prepare the media, run Sync Lipsync 2, and organize previews for review.
Localize instructor-led lessons
Match an instructor’s talking footage to separately recorded translations for learners in other languages.
Dub creator videos
Give a talking-head video a translated speech track with mouth movements that follow the new recording.
Personalize sales greetings
Reuse a recorded presenter with separately prepared greetings for individual prospects.
Adapt customer onboarding videos
Match a presenter’s footage to new onboarding messages for different customers or audiences.
Replace a recorded line
Pair an existing talking shot with a corrected audio take, then review whether the mouth movement fits the replacement dialogue.
Add dialogue to generated humans
Match an AI-generated human’s visible speaking motion to a finished voice recording.
Localize animated dialogue
Use an existing animated talking shot with a human-like face and a translated dialogue recording.
More on Sync Lipsync 2.0 Pro and VS Code
Overview
Sync Lipsync 2.0 Pro in other agents
Questions about Sync Lipsync 2.0 Pro in VS Code
Can VS Code use Sync Lipsync 2.0 Pro?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Sync Lipsync 2.0 Pro like any built-in tool.
How much does Sync Lipsync 2.0 Pro cost in VS Code?
Up to $6.50 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 VS Code plan is separate.
Do I need a fal account to use Sync Lipsync 2.0 Pro in VS Code?
No. Spiral runs Sync Lipsync 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 Sync Lipsync 2.0 Pro in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Sync Lipsync 2.0 Pro runs?
Sync Lipsync 2.0 Pro runs in the background. VS Code starts the run, checks on it and gives you the video when it's ready.
What does Sync Lipsync 2 change in a video?
It changes the speaker’s lip movements to match a replacement audio track. Use it to dub talking footage or change dialogue while retaining the speaker’s visual speaking style.
Can Sync Lipsync 2 work with different languages?
Yes. Supply the translated speech as audio, and it can match the speaker’s lips to that recording in any language.
Can I start with a still photo?
Use video that already shows natural speaking motion. Still frames and inactive mouths do not provide the motion Sync Lipsync 2 needs for reliable results.
Is the finished video only 512×512?
The 512×512 limit describes the generated face region. The face is placed back into the original frame, and the output retains the source video’s dimensions and orientation.
Does Sync Lipsync 2 work on animated characters?
It can work on animated characters with human-like faces. Animals and non-humanoid characters are unsupported, so start with a short test before processing a longer scene.
Start using Sync Lipsync 2.0 Pro in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


