# "Make AI copy emotions from any scene (open source workflow)"
<!--
ref: @content/youtube/sirio-berati/make-ai-copy-emotions-from-any-scene-open-source-workflow
tags: [facial performance transfer, Seedance, motion capture, MediaPipe, FLAME, AI video, open source workflow]
version: 2
updated_at: 2026-11-22T12:10:11.410Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=AgLijG7t1QU)**

# Make AI copy emotions from any scene (open source workflow)

*Synthesized from Sirio, 2026-10-20.*

Sirio, who describes himself as building AI workflows and a media business, shows a free workflow that transfers an actor's facial performance onto another face or character. The transcript is a rough machine translation: the video model is rendered as "C dance" and appears to be Seedance 2.5.

## Core Thesis
Sirio argues that the reliable way to copy acting with AI video is to split a face into movement and identity. He turns a source performance into a grey 3D "mask" that carries motion but little identity, then supplies the mask plus a separate identity image or video to the video model. He frames the build as a chain of "what if" questions that coding agents let him test in minutes.

## Key Insights
- **Two problems with naive approaches.** Prompting alone yields mannequin-like, exaggerated faces, and uploading a clip of a famous actor directly gets flagged, so he never lets the original face appear.
- **Cost of the build.** About 10 versions, 3 hours and roughly $5, after about 5 hours of earlier research and failed attempts.
- **Failed attempts.** Google MediaPipe (478 face points) tracked lips well but missed skin tightening around the eyes and cheek lifts, so a crying face came out looking like a smile. A depth mask added volume but no expression. Claude and Codex also disagreed with each other, and he concluded agents can build anything but cannot judge what looks good.
- **Final mask recipe.** MediaPipe tracks every frame; the SPECTRE model adds expression, jaw and head angle; FLAME (a 3D face model released in 2017) makes a moving 3D face; eye and lip outlines are drawn frame by frame; then the colourless light and dark detail of the real video is blended back in around eyes, lips and eyebrows so muscle movement shows through shading. Synthetic lighting is added last to move further from the original identity.
- **Why grey.** The result looks like a clay or matcap render, which he says the video model turns into a real person well. It runs on CPU, tested on a Mac M3.
- **Generation steps.** Either upload the mask, an identity photo or video and a prompt asking the model to copy the movement, or add timed spoken lines and emotions. Have the agent describe second by second what eyes, eyebrows and mouth do. His clip took three draft sends at 480p, about $5.
- **Debug rule.** If the expression is missing in the mask, fix the mask; if it is in the mask but not on the face, fix the prompt.
- **Limits.** The mask freezes when the actor turns away (about 2.5 seconds in one test), other speakers' lines must be separated in the prompt, a trace of the original appearance remains, and the workflow cannot be sold as is because FLAME and SPECTRE are non-commercial even though his code is MIT. For lip sync only, it is overkill.

## Actionable Takeaways
1. Separate movement from identity: feed the video model a neutral 3D mask plus a distinct identity reference.
2. Layer tools (MediaPipe, SPECTRE, FLAME, eye and lip outlines) instead of relying on one tracker.
3. Use cheap 480p drafts to iterate before a full render.
4. Ask an agent for a second-by-second description of the performance, then check it against the footage yourself.
5. Download the SPECTRE and FLAME model files from their official sites and accept their terms before running the repository setup.

## Notable Quotes
> "So I divide each face into two parts: movement and identity." — Sirio

> "Hollywood actors do this with dots all over their faces" — Sirio

---

*Related: `@content/youtube/liam-ottley/did-claude-just-replace-video-editors-remotion-breakdown` · `@content/youtube/sirio-berati/fable-5-2-solved-all-al-video` · `@content/youtube/sirio-berati/i-used-fable-5-2-to-control-ai-film-in-3d-full-tutorial` · `@content/youtube/sirio-berati/i-cloned-higgsfield-s-relight-feature-in-2-hours-full-workflow`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*