7 synchronicity-labs
ai-video-to-talking Skill
使用 sync. labs(sync.so)为 AI 生成的视频添加或替换对白。可处理来自 Veo、Kling、Sora、Runway、Hailuo、Luma、Seedance、Wan 或其他视频生成器的片段,配合用户音频或 sync. 配音的台词,对角色进行口型同步使其真正开口说话。还会规划源片段以获得更好的口型同步效果,并支持多镜头场景或两个角色对话。适用于用户想让 AI 角色、头像、UGC 风格广告演员或生成的 presenter 说话、给 AI 视频加声音,或通过提示词生成会说话的 AI 视频。不适用于已有真人实拍的素材。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
Make an AI video talk
Delivers an MP4 of the generated character speaking the agreed line, in a voice that fits them, with matching lips. sync. doesn't make the clip itself. It comes from the user, or from a video-generation tool you can use in this session.
If no sync. tools are available, follow references/connect.md first. Without the MCP tools, use the REST requests in references/api.md.
Steps
- Get the clip.
- The user has one: save it as in references/media-input.md.
- The user only has an idea: if you can generate video here, write the prompt with references/source-clip.md so the face lip-syncs well. If you can't, give the user that prompt to paste into their video tool, and continue once they have the clip.
- Check the clip before spending anything: one clearly visible face per shot, the mouth unobstructed, and how many shots or cuts it has. If it has cuts or two characters, plan which part each line covers now. The timeline is built in step 7, after the lines, voices and cost are agreed.
- The line. Use the user's exact words. If they want you to write it, draft a line that fits the character and the clip's length, about 2.5 words per second (an 8-second clip holds about 20 words), and get approval.
- The voice. Either the user's own audio (save it like the clip), or a script and a voice: call
voices_listand suggest two or three that fit the character's age, energy and setting. Clone a voice withvoices_cloneonly if the user explicitly asks and owns, or has permission to use, the sample. Cloning saves a voice to the account, can count against plan limits, and isn't idempotent: confirm the sample and the name, call it once, and after a lost or failed response list voices withvoices_listto see whether it was saved before trying again. Never retry it on your own or change the sample or name to get around an error. - Fit the timing. Generated clips are short, so the speech often runs longer:
- Speech a little longer:
bounce(the default) orloopkeeps the character on screen. - Speech much longer: shorten the line, generate a longer clip, or use
remapto slow the video down to fit. - Speech shorter:
silencekeeps the rest of the clip without speech,cut_offends the video with the speech.
- Quote, confirm, create. Call
generations_estimate-costwithmodel: "sync-3"and thescriptoraudioDuration, plusvideoDurationandsyncModewhen the mode iscut_offorsilence. This prices the lipsync only; for a script, say the length is approximate and that speech synthesis is billed separately. Show the clip, the line, the voice and the estimate, and wait for approval. Then calllipsync_createonce withvideoAssetId, the speech (scriptwithvoiceId, or the audio),model: "sync-3", anyoptions.sync_mode, a newidempotencyKey, a new UUID asprojectCreationKeyand a shortprojectName. sync-3 handles stylized faces, profiles and partial occlusion best. - Several shots or speakers. For a scene where the speaker changes, or the line is spread over cuts, use
lipsync_create-timelinewhen it's available: one clip per spoken part, each with its audio, itsstartTimeandendTimeon the video, and aspeaker({"frameNumber", "x", "y"}on the face, or{"detect": true}). Clips can't overlap. Voice each character's lines first, so every clip has its own audio: either the user's recordings, or speech previews. Speech previews are paid, so get approval for them first. Then callspeech-previews_createwith aprojectIdfromprojects_createand its own new UUIDidempotencyKey(saved before the call), pollspeech-previews_getuntilSUCCESS, and use the returnedurlas that clip'saudioUrl. Quote the timeline render and get approval before callinglipsync_create-timelinewith a newidempotencyKeyand thatprojectId(withprojectIntent: "explicit"). Without that tool, lipsync each shot separately and offer to join them with ffmpeg. - Wait and deliver. Poll
generations_getwithwait: trueuntil it's final, then give the exactoutputMediaUrl. In a coding agent, offer to download it.
Rules
- Never invent the words without approval. Never start a second paid generation to check progress.
- Assume the user has the rights to their own media, and don't ask about consent on routine requests. Decline only when the request is to make a real, identifiable person, such as a politician or celebrity, appear to say something they didn't say, in order to deceive.
- If the generator already gave the clip dialogue and the user only wants different words, this is the same flow with their new line or audio.