界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sync-lipsync-v2-pro

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 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sync-lipsync-v2-pro description: "Sync | Lipsync | v2 | Pro. Professional lip sync for video with audio replacement. Triggers: lip sync, lipsync, audio sync, video dubbing, sync" allowed-tools: Bash(curl *), WebFetch

Sync | Lipsync | v2 | Pro

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.

Quick Start

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"
    }
  }'

Parameters

ParameterTypeDefaultDescription
audio_urlstring-URL of the input audio.
sync_modestringcut_offLipsync mode when audio and video durations are out of sync. Options: cut_off, loop, bounce, silence, remap
video_urlstring-URL of the input video.

Examples

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"
    }
  }'

Related Models

Documentation

我的收藏