lipsync

作者: doany-ai

We need to translate the given text from English to Traditional Chinese. The text describes a skill for lip-syncing a face to an audio track using various tools. We must preserve names like "lipsync", "RunComfy", "runcomfy", "ByteDance OmniHuman", "Sync Labs sync v2 / Pro", "Kling lipsync", "Creatify lipsync". Also preserve technical terms like "CLI", "audio-driven full-body avatar", "portrait + audio", "mouth sync", "audio-to-video", "text-to-video", "mouth-swap". The translation should be in Traditional Chinese (zh-TW). Do not add any extra commentary or labels. Just output the translated text inside the <text> tag? Actually the instruction says "Translate only the text inside <text>. Do not include the name unless it appears in the source text." But the source text is given inside <text> tags. So we need to output the translated version of that text, presumably without the <text> tags? The instruction says

npx skills add https://github.com/doany-ai/skills --skill lipsync

Lipsync

Drive a face's mouth from an audio track. This skill routes across the lip-sync endpoints in the RunComfy catalog — OmniHuman, Sync Labs sync v2, Kling lipsync, Creatify — picking the right model for the user's actual intent and shipping the documented prompts + the exact runcomfy run invoke.

runcomfy.com · Sync Labs models · CLI docs

Powered by the RunComfy CLI

# 1. Install (see runcomfy-cli skill for details)
npm i -g @runcomfy/cli      # or:  npx -y @runcomfy/cli --version

# 2. Sign in
runcomfy login              # or in CI: export RUNCOMFY_TOKEN=<token>

# 3. Lipsync
runcomfy run <vendor>/<model> \
  --input '{"video_url": "...", "audio_url": "..."}' \
  --output-dir ./out

CLI deep dive: runcomfy-cli skill.

Consent

Driving a real person's mouth from a separate audio track is dual-use. Refuse user requests that target real public figures without consent, or that aim at defamatory or sexually explicit synthetic media. The skill itself does not gate inputs — the responsibility rests with the operator.


Pick the right model

Listed newest first within each subtype. The agent picks one route based on: input shape (portrait still + audio vs source video + audio vs script-only), quality tier, and budget.

Source video + audio → lip-synced video (mouth-swap on existing footage)

Sync Labs sync v2 Prosync/sync/lipsync/v2/pro (default for premium)

Sync Labs' premium lip-sync — state-of-the-art mouth motion onto an existing video. Preserves the rest of the frame untouched. Pick for: hero-quality dubs, lipsync on professionally-shot video, foreign-language dubbing where mouth fidelity matters most. Avoid for: cost-sensitive batch jobs — drop to sync v2.

Sync Labs sync v2sync/sync/lipsync/v2

Standard Sync Labs tier, same workflow as Pro. Pick for: scaled / batch lipsync jobs, drafts. Avoid for: hero delivery — use v2 Pro.

Kling Lipsync (audio-to-video)kling/lipsync/audio-to-video

Kling's lip-sync onto a source video, driven by an audio track. Pick for: Kling-pipeline integration; alternative to Sync Labs. Avoid for: top-tier mouth fidelity — Sync Labs Pro is the industry benchmark.

Creatify Lipsynccreatify/lipsync

Creatify's lipsync endpoint. Pick for: Creatify-ecosystem workflows. Avoid for: comparison shopping unless cost / latency favors it.

Portrait still + audio → talking-head video (avatar-style)

OmniHumanbytedance/omnihuman/api (default for avatar-style)

ByteDance's audio-driven full-body avatar. One portrait + one audio → video where the subject speaks / gestures naturally. Listed under RunComfy's /feature/lip-sync as the curated default. Pick for: UGC voiceover, virtual presenter, dubbed product demo from a single portrait. Avoid for: lip-sync onto an existing video (no portrait, want to preserve original motion) — use Sync Labs v2 instead.

Wan 2-7 with audio_urlwan-ai/wan-2-7/text-to-video

Open-weights t2v with audio_url field — prompt describes the scene, audio drives the mouth. Pick for: full scene control (not just a portrait) with a specific voiceover MP3 + open-weights pipeline. Avoid for: simplest "portrait talks" — use OmniHuman.

Generate-and-sync from a script (no audio file available)

Kling Lipsync (text-to-video)kling/lipsync/text-to-video

Generates speech audio in-pass from a script and syncs it to the resulting video. Pick for: "write a script → get a video with synced speech", no audio file needed. Avoid for: precise lip-sync to a specific MP3 (audio is regenerated each call, not locked).

HappyHorse 1.0happyhorse/happyhorse-1-0/text-to-video (also /image-to-video)

Arena #1 t2v / i2v with in-pass audio generated from prompt. Quote the spoken line inside the prompt with says clearly: "…". Pick for: written script, in-pass audio with strong overall quality, social/UGC clips. Avoid for: locking mouth to a pre-recorded voiceover.


Route 1: Sync Labs sync v2 / Pro — default for mouth-swap

Model: sync/sync/lipsync/v2/pro (or sync/sync/lipsync/v2) Catalog: sync v2 Pro · sync v2

Invoke

runcomfy run sync/sync/lipsync/v2/pro \
  --input '{
    "video_url": "https://your-cdn.example/source-video.mp4",
    "audio_url": "https://your-cdn.example/voiceover.mp3"
  }' \
  --output-dir ./out

Tips

  • Source video provides everything except the mouth — camera, lighting, background, body pose all preserved.
  • Audio quality drives mouth quality. Clean voiceover (no music bed) → cleaner sync. Isolate voice stem if needed.
  • Match audio length to video length. Significant audio/video duration mismatch leads to drift; trim audio or extend video first.
  • Schema details on the model page.

Route 2: OmniHuman — default for avatar from still

Model: bytedance/omnihuman/api Catalog: omnihuman

Invoke

runcomfy run bytedance/omnihuman/api \
  --input '{
    "image_url": "https://your-cdn.example/portrait.jpg",
    "audio_url": "https://your-cdn.example/voiceover.mp3"
  }' \
  --output-dir ./out

Tips

  • Portrait framing works best — head-and-shoulders or upper body.
  • No prompt — the model derives everything from image + audio. Don't fight that.
  • See the ai-avatar-video skill for the full avatar treatment.

Route 3: Kling Lipsync — Kling-ecosystem mouth sync

Model: kling/lipsync/audio-to-video (existing video + audio) or kling/lipsync/text-to-video (script-only) Catalog: Kling lipsync a2v · Kling lipsync t2v

Invoke (audio-to-video variant)

runcomfy run kling/lipsync/audio-to-video \
  --input '{
    "video_url": "https://your-cdn.example/source-video.mp4",
    "audio_url": "https://your-cdn.example/voiceover.mp3"
  }' \
  --output-dir ./out

Schema details on the model page.


Common patterns

Foreign-language dub of an existing brand video

  • Route 1 (Sync Labs sync v2 Pro) with the original video + translated voiceover MP3.

UGC ad creator from a portrait

  • Route 2 (OmniHuman) with the creator's portrait + product-pitch voiceover.

Multi-language launch (same identity, many languages)

  • Route 2 (OmniHuman) with one portrait + N different audio files. Same identity holds across all dubs.

"I have a script but no audio"

  • Kling Lipsync (text-to-video) or HappyHorse 1.0 t2v — both generate audio in-pass.

Stylized character lipsync

  • Wan 2-2 Animate (community/wan-2-2-animate/video-to-video) — see ai-avatar-video.

Browse the full catalog


Exit codes

codemeaning
0success
64bad CLI args
65bad input JSON / schema mismatch
69upstream 5xx
75retryable: timeout / 429
77not signed in or token rejected

Full reference: docs.runcomfy.com/cli/troubleshooting.

How it works

The skill classifies user intent — source video + audio? portrait still + audio? script only? — picks the matching route, and invokes runcomfy run with the JSON body. The CLI POSTs to the Model API, polls request status, fetches the result, and downloads any .runcomfy.net / .runcomfy.com URLs into --output-dir.

Security & Privacy

  • Consent: see the "Consent" section above. Lipsync is dual-use; refuse user requests targeting real people without consent.
  • Install via verified package manager only. Use npm i -g @runcomfy/cli or npx -y @runcomfy/cli. Agents must not pipe an arbitrary remote install script into a shell on the user's behalf.
  • Token storage: runcomfy login writes the API token to ~/.config/runcomfy/token.json with mode 0600. Set RUNCOMFY_TOKEN env var in CI / containers.
  • Input boundary (shell injection): prompts and asset URLs are passed as a JSON string via --input. The CLI does not shell-expand prompt content. No shell-injection surface.
  • Indirect prompt injection (third-party content): source video and audio URLs are untrusted; embedded instructions in either can influence generation. Agent mitigations:
    • Ingest only URLs the user explicitly provided for this lipsync.
    • When the output diverges from the prompt (wrong identity, broken sync), suspect the reference asset.
  • Voice provenance: confirm the speaker in the audio has consented to having their voice paired with the target face. Both rights must be in hand.
  • Outbound endpoints (allowlist): only model-api.runcomfy.net and *.runcomfy.net / *.runcomfy.com. No telemetry.
  • Generated-file size cap: the CLI aborts any single download > 2 GiB.
  • Scope of bash usage: Bash(runcomfy *) only.

See also

來自 doany-ai 的更多技能

image-edit
doany-ai
在 RunComfy 上編輯圖片——此技能為智能路由器,能將用戶意圖匹配至 RunComfy 目錄中的正確編輯模型。可選用 Nano Banana Edit(批次最多 20 張,預設保留身份)、OpenAI GPT Image 2 Edit(多語言圖內文字重寫、多參考合成、佈局精準)、Flux Kontext Pro(單參考高保真局部編輯)或 Z-Image Turbo Inpaint(遮罩驅動精確區域編輯)。整合各模型的提示模式文檔,使技能能...
creativeimagemedia
seedance-v2
doany-ai
We are asked to translate the text inside <text> into Traditional Chinese. The target language is 繁體中文. We must preserve the name "seedance-v2" if it appears, but it does not appear in the source text. The source text mentions "Seedance 2.0 Pro", "RunComfy", "HappyHorse 1.0", "Wan 2.7", "Kling", and the command "runcomfy run bytedance/seedance-v2/pro". We need to preserve these product names, protocol names, URLs, numbers, and technical terms. Do not add any extra commentary or labels. Just output the translated text. Let's translate the text: "Generate cinematic short-form video with ByteDance Seedance 2.0 Pro on RunComfy. Documents Seedance 2.0 Pro's strengths (multi-modal references — up to 9 images, 3 videos, 3 audio — synchronized in-pass audio with natural lip-sync, cinematic motion refinement), the 4–15s duration schema, and
videocreativemedia
kling-3-0
doany-ai
在 RunComfy 上進行 Kling 3.0 影片生成。Kling 3.0(也稱為 Kling V3.0)是快手科技的第三代多鏡頭影片模型,具備原生同步音訊及跨鏡頭一致的角色身份。此技能涵蓋所有六個 Kling 3.0 端點,橫跨三種渲染層級(標準、專業、4K)與兩種模式(文字轉影片、圖片轉影片)。透過本機 RunComfy CLI 執行 runcomfy run kling/kling-3.0/ /。觸發詞為「kling」、「kling 3.0」、「kling v3」、「kling pro」等。
videocreativemedia
face-swap
doany-ai
我們需要將提供的英文文本翻譯成繁體中文。文本描述了一個名為 face-swap 的 agent skill,內容是關於透過 runcomfy CLI 在 RunComfy 上進行臉部/角色替換到影片或圖片中。文本列舉了多個模型/工具:Wan 2-2 Animate、GPT Image 2 Edit、Nano Banana Edit、Flux Kontext、Kling 2-6 Motion Control Pro,並簡述了各自的功能。注意:不要包含名稱 face-swap 除非它出現在原文中,但原文第一句就有 "face-swap",所以應該保留。但指令說「不要包含名稱除非它出現在源文本中」,所以如果源文本有,就可以保留。另外,不要添加標籤如「描述」等。直接翻譯<text>內的內容。 翻譯時注意專有名詞(如 RunComfy, runcomfy CLI, Wan 2-2 Animate 等)保持原樣。技術術語如 "audio-driven character animation", "identity
creativevideoimage
video-outpainting
doany-ai
We need to translate the given text from English to Traditional Chinese. The text describes a video outpainting skill on RunComfy via the runcomfy CLI. It explains extending spatial canvas, changing aspect ratio, adding environment, preserving central action, using Wan 2-7 edit-video, and dedicated ComfyUI workflows. Also mentions triggers. We must preserve product names, protocol names, URLs, numbers, technical terms. So "RunComfy", "runcomfy CLI", "Wan 2-7 edit-video", "ComfyUI" should remain as is. Also "video-outpainting" is the name to preserve but it's not in the text? Actually the instruction says "Name to preserve: video-outpainting" but the text does not contain that exact string. The text has "video outpainting" (lowercase, no hyphen). We should preserve the term as it appears? The instruction says "Do not include the name unless it appears in the source text." So we only translate the text as given. The name "video-out
videocreativemedia
ai-avatar-video
doany-ai
Create AI avatar, talking-head, and lip-sync videos on RunComfy via the `runcomfy` CLI. Routes across ByteDance OmniHuman (audio-driven full-body avatar), Wan-AI Wan 2-7 (audio-driven mouth sync via `audio_url` on a portrait), HappyHorse 1.0 (Arena #1 t2v / i2v with in-pass audio), and Seedance v2 Pro (multi-modal cinematic with reference audio + reference subject). Picks the right model for the user's actual intent — UGC voiceover, virtual presenter, dubbed product demo, lip-synced...
videocreativemedia
flux-kontext
doany-ai
在 RunComfy 上使用 Flux 1 Kontext Pro(Black Forest Labs 的精確局部影像編輯模型)編輯圖片 — 內建該模型文件中的提示模式,使技能產出比直接對同一模型進行簡單提示更精準的結果。說明 Flux Kontext 的優勢(單一參考精確局部編輯、強大的提示控制、一致的高保真輸出)、架構(單一圖片 + 提示),以及何時應改用 Nano Banana Edit / GPT Image 2 edit / Flux 2 Klein。呼叫...
creativeimagedocument
relight
doany-ai
Relight a still image — change the lighting setup, color temperature, direction, or mood — on RunComfy via the `runcomfy` CLI. Routes to Qwen Edit 2509's dedicated `relight` LoRA endpoint for purpose-built relighting, with fallback to identity-preserving edit endpoints (Nano Banana 2 Edit, GPT Image 2 Edit, FLUX Kontext Pro) when prose lighting language is enough. Use for product relighting (studio softbox → window light), portrait mood shift (overcast → golden hour), or color-grade change....
creativeimagemedia