LatentSync
fal-ai/latentsyncEdit and transform video with LatentSync from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
$0.0065 per second.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | The URL of the video to generate the lip sync for. |
audio_url required | URL or file | — | The URL of the audio to generate the lip sync for. |
guidance_scale | number 1 to 2 | 1 | Guidance scale for the model inference |
seed | number (whole) | — | Random seed for generation. If None, a random seed will be used. |
loop_mode | one of pingpong, loop | — | Video loop mode when audio is longer than video. Options: pingpong, loop |
Same request in code
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/latentsync",
"input": {
"video_url": "https://fal.media/files/koala/8teUPbRRMtAUTORDvqy0l.mp4",
"audio_url": "https://fal.media/files/lion/vyFWygmZsIZlUO4s0nr2n.wav"
}
}'Frequently asked questions
How much does LatentSync cost?
$0.0065 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use LatentSync through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/latentsync"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use LatentSync?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use LatentSync?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.