StudioPeople › The factory · 02-08-2026 · machinery: musetalk.md

The factory

Our own production line for the moving speaker's video. Paid quality, centimes per sentence. These pictures are the real frames of Valentina's presentation, made today.

Her portrait on flat green
Step 1 · Gemini, Google's image editor
One photo Her picture, the background replaced by flat green so she can be cut out later. Done by Gemini under a strict instruction: change ONLY the background, keep her exactly as she is. Script: make-green-portrait.py. once · a fraction of a centime
The paid master clip, one frame One master clip 25 seconds of her speaking, bought ONCE at magichour.ai, ordered by our script make-clip-tracked.py. This is where the living eyes and natural expression come from — the paid part, never repeated.
The same frame with the mouth repainted by MuseTalk
Step 3 · MuseTalk, free program, rented computer
The mouth repainted For every new sentence: the master clip plus the recording go to a rented graphics computer at RunPod, where our worker runs MuseTalk; only the MOUTH is redrawn to match the words. One command from this Mac sends the job: musetalk.py. Ten seconds of machine per sentence. per sentence · under a centime
The final transparent clip, one frame
Step 4 · ffmpeg, free video tool, this Mac
The green removed The green is keyed away right here on the Mac by ffmpeg, a free video tool, following our recipe key-all-v2.sh; she becomes a transparent clip that sits on any page. Two files, one for Chrome, one for Safari. per sentence · free
— paid, happens ONCE per person.
Red — free program or rented seconds, repeats forever.
Compare steps 2 and 3: same frame, only the mouth differs.
Why it costs almost nothing

A paid service charges about 2.40 EUR per minute because you pay for its software and its computer bundled together. The factory splits them:

The software — free

LivePortrait gives a photo quiet life: breathing, a slow blink — her resting state. MuseTalk repaints only the mouth to match a recording. Both are open programs; they cost nothing.

The computer — rented by the second

AI video needs a special graphics computer (a GPU). RunPod rents one for about 0.34 USD an hour, billed only while it computes. A sentence takes about ten seconds of machine.

And two economies on top: the factory buys the expensive thing once (the master clip with the living eyes — the factory alone invents flat, dead eyes, so we do not let it invent), and it studies her face once (about two minutes, then remembered in a cache; every later sentence renders in ten seconds).

The numbers, measured
ThingWhenCost
Master clip at Magic Hour (the only paid step)Once per person~1.20 EUR
Face study (preparation, then cached)Once per person~2 minutes of machine, ~2 cents
One sentence of finished videoEvery time~10 s of machine, under a centime
Valentina's 5-part presentation of the People pageToday~2 cents total
The same minutes at the paid service~2.40 EUR per minute
Where the machinery lives
WhatWhere
The command and the setup (one line per sentence)claude-code-video-toolkit/docs/musetalk.md
The worker code on the rented computersgithub.com/gfrankgva/musetalk-worker
The standing rule (check the rented-GPU path before paying per minute)reference-rented-gpu.md
The cut-out recipe (green removal, the two files)key-all-v2.sh
The whole speaker recipe this factory servessite-speaker skill · the People page