lip-sync-lines
Skill7 starsChanged 38 days agoMITView on GitHub
Make a rigged character's mouth move on its spoken lines - word timings for each line from the voice, one combined transcript per character per scene, one viseme lip-sync preset on that character's rig layer, and a rig without the viseme mouth set named to the user. Use when a character in a scene speaks on screen, in a story or an explainer with a host.
In this repository73 other files it gives its agents.
- ai-presenterSkill
- animate-designSkill
- animated-explainerSkill
- animated-storySkill
- app-ui-animationSkill
- asset-auditSkill
- assetsSkill
- background-musicSkill
- caption-decorationsSkill
- character-riggingSkill
- custom-transitionsSkill
- design-layer-importSkill
- drama-series-writingSkill
- edit-footageSkill
- edit-on-your-computerSkill
- edit-pipelineSkill
- face-hidingSkill
- figma-storyboard-animationSkill
- film-animaticSkill
- film-cast-designSkill
- film-cuttingSkill
- film-finishingSkill
- film-shot-generationSkill
- film-story-writingSkill
- footage-analysisSkill
- footage-reframingSkill
- generate-mediaSkill
- get-startedSkill
- large-scene-assemblySkill
- linked-element-motionSkill
- make-characterSkill
- make-clipsSkill
- make-comicsSkill
- make-screen-videosSkill
- make-short-dramaSkill
- motion-design-craftSkill
- motion-intentSkill
- motion-pattern-librarySkill
- motion-reviewSkill
- motion-scene-continuitySkill
- motion-tracking-from-videoSkill
- movie-producerSkill
- open-picsart-appSkill
- photo-slideshowSkill
- picsart-add-mediaSkill
- picsart-video-rulesSkill
- quality-reviewSkill
- quick-merge-and-exportSkill
- realistic-color-gradeSkill
- recastSkill
- recreate-videoSkill
- reel-structureSkill
- reference-fragment-matchingSkill
- resting-frame-rulesSkill
- retention-hooksSkill
- scene-3d-authoringSkill
- scene-animation-referenceSkill
- scene-building-basicsSkill
- scene-template-remixSkill
- screen-recording-analysisSkill
- The first 60 shown.
The file
Files
Lip-sync a character's lines
Lip-sync comes after the picture is proven: the shots are timed silent from estimated line lengths, and the voice and the lip-sync are made only once the user accepts the first render. When the real line lengths arrive, the slot grows and you say so; a line is never cut to fit.
A speaking character has one voice. Cast it as voice-over-generation says.
Get each line's word timings with picsart_media_transcribe, passing text the line you sent to text-to-speech: recognition mishears short lines ("Mine!" as "Nein!") and can return nothing for a one-word line, and with text the result is that script on the timing of the speech heard.
Combine all of one character's lines in a scene into one transcript at their scene-relative times, then apply picsart_scene_apply_preset once with preset: "lipSync:visemes" on that character's rig layer, for its own lines only (speaker), with the transcript and the rig's visemes in params. Applying it again replaces the mouth tracks, so a second line applied alone would erase the first.
Apply it with audio naming the scene's voice layer. If the first call answers status: "pending" (the audio is still being analysed), call it again with analysisJob set to the id it returned.
A rig without the viseme mouth set is named to the user ("X can't lip-sync"), and its lines become narration.
A mouth that does not move on its line is a lip-sync that was not applied: apply it again.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

