计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sync-lipsync-v2-pro【效率与协作】Sync | Lipsync | v2 | Pro. Professional lip sync for video with audio replacement. Triggers: lip sync, lipsync, audio sync, video dubbing, sync
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Professional lip sync solution that synchronizes video with a new audio track. Supports multiple sync modes for handling duration mismatches between audio and video, including cut_off, loop, bounce, silence, and remap.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/talking-person.mp4",
"audio_url": "https://example.com/new-voiceover.mp3",
"sync_mode": "cut_off"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| audio_url | string | - | URL of the input audio. |
| sync_mode | string | cut_off | Lipsync mode when audio and video durations are out of sync. Options: cut_off, loop, bounce, silence, remap |
| video_url | string | - | URL of the input video. |
Basic lip sync:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/presenter.mp4",
"audio_url": "https://example.com/script-reading.mp3"
}
}'
Lip sync with loop mode for shorter video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/short-clip.mp4",
"audio_url": "https://example.com/long-narration.mp3",
"sync_mode": "loop"
}
}'
Lip sync with remap for timing adjustment:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "sync-lipsync-v2-pro",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/interview.mp4",
"audio_url": "https://example.com/translated-audio.mp3",
"sync_mode": "remap"
}
}'