L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

LatentSync

LatentSync

Generate lip-synced videos by combining audio with existing video. Trigger: Use when the user wants to add lip sync to a video, or requests 'latentsync', 'lip sync', 'sync lips to audio', or 'dub video with audio'.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: "LatentSync" description: "Generate lip-synced videos by combining audio with existing video. Trigger: Use when the user wants to add lip sync to a video, or requests 'latentsync', 'lip sync', 'sync lips to audio', or 'dub video with audio'." allowed-tools: ["Bash"]

LatentSync

Synchronize lip movements in a video to match provided audio. Supports loop modes for cases where the audio is longer than the video.

Quick Start

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "latentsync",
    "version": "0.0.1",
    "input": {
      "video_url": "https://example.com/talking-head.mp4",
      "audio_url": "https://example.com/new-dialogue.mp3",
      "guidance_scale": 1
    }
  }'

Parameters

ParameterTypeDefaultDescription
audio_urlstring(empty)The URL of the audio to generate the lip sync for
guidance_scalenumber1Guidance scale for the model inference
loop_modestring(empty)Video loop mode when audio is longer than video. Options: pingpong, loop
seedinteger(empty)Random seed for generation. If None, a random seed will be used
video_urlstring(empty)The URL of the video to generate the lip sync for

Output

  • Type: video

Examples

Basic Lip Sync

{
  "model": "latentsync",
  "version": "0.0.1",
  "input": {
    "video_url": "https://example.com/speaker.mp4",
    "audio_url": "https://example.com/new-speech.mp3",
    "guidance_scale": 1,
    "seed": 123
  }
}

Looped Lip Sync for Longer Audio

{
  "model": "latentsync",
  "version": "0.0.1",
  "input": {
    "video_url": "https://example.com/short-clip.mp4",
    "audio_url": "https://example.com/long-narration.mp3",
    "guidance_scale": 1.5,
    "loop_mode": "pingpong"
  }
}

Related Models

Documentation

Skills enregistrées