ugc-talking-head-video
Was er macht
Diese Fähigkeit erstellt kurze Videos im UGC-Stil, in denen eine Figur ein Skript vor der Kamera spricht. Sie ist für Marketer und Kreative gedacht, die Sprechervideos für soziale Medien oder Anzeigen wollen.
Wann du ihn nutzt
- ✓Wenn eine feste Figur in einem vertikalen Video ein Skript vor der Kamera sprechen soll.
- ✓Wenn du einem Sprechervideo Untertitel mit zeitlich gesetzten Wörtern hinzufügen musst.
- ✓Wenn du einen Clip im UGC-Stil aus einem bereits gewählten Figurenbild erstellen willst.
Link zum Skill
https://github.com/superdesigndev/treg/blob/main/.agents/skills/ugc-talking-head-video/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du dieses Figurenbild und mein 15-sekündiges Skript in ein vertikales Sprechervideo mit Untertiteln verwandeln?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent wählt eine Stimmreferenz, passt das Skript an die Clip-Länge an, schreibt den Videoprompt und erzeugt den Clip über treg. Danach fügt er eine Emoji-Überschrift und Phrasen-Untertitel mit einem auf ffmpeg aufbauenden Skript hinzu.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
UGC talking-head video
Input: one character image (the frame you and the user picked from portrait-clone) and a script.
Output: take_N.mp4 (raw) and take_N_captioned.mp4, plus the request JSON that made it.
Model: Seedance 2.5 through treg, reAPI route by default, PiAPI as the alternative (scripts/seedance_treg.py). No vendor key on this machine. Captions: ffmpeg + PIL (scripts/caption_burn.py).
Both scripts are self-contained; read their docstrings before changing them.
Prerequisites
- treg. Every generation call, reference upload and status poll goes through
treg call; the vendor key is injected server-side and the charge lands on the team's prepaid treg balance. Iftreg --versionfails, install and sign in first:
Thencurl -fsSL https://treg.to/install.sh | sh treg logintreg balanceto confirm there is credit for the run (a take costs a few dollars, § Run). - A character image. If the user has no locked character yet, generate one first with the
portrait-cloneskill (sibling folder.agents/skills/portrait-clone/, or the published copy at https://raw.githubusercontent.com/agentara/skills/refs/heads/main/skills/aigc/portrait-clone/SKILL.md). Read it, follow it, then come back here with the chosen frame. ffmpeg, Python 3 with PIL, andOPENAI_API_KEYin the environment for Whisper word timings (captions only).
Flow
- Lock the script and duration (§ Script and duration). Show the user the word count and the proposed seconds before anything else.
- Get a voice-reference clip (§ Voice reference). Never generate without one.
- Write the prompt from the template (§ Prompt). Paste the whole thing to the user before the first run.
- Run
seedance_treg.py. Quote the estimated cost in the same message you announce the run. - Verify with the checks in § Verify, send the raw clip, and only then caption.
- Caption with
caption_burn.pyusing hand-written phrases.
Script and duration
The model fills every second it is given. Too long and the delivery goes flat because there is nowhere to breathe; too short and words get dropped. Size the duration from the script, not the other way round.
| Words | Duration | Feel |
|---|---|---|
| 45-55 | 12-14 s | punchy hook |
| 60-70 | 16-17 s | standard UGC talking head |
| 70-80 | 18-19 s | dense; 18 s reads noticeably quicker than 19 s |
| 90+ | split into two clips | one Seedance take over 20 s of continuous speech drifts |
Rule of thumb: words / 4 = seconds, then subtract 1 s. Our 74-word script felt slow at 19 s and right at 18 s. Confirm the script verbatim with the user first, including slang ("gonna", "brain cell"): the captions later follow the transcript, and Whisper normalises "gonna" to "going to", so warn them the on-screen text may differ from the script spelling.
Join sentences with commas, not periods, if you do not want a hold at the sentence turn. The model treats a period as permission to stop for half a second.
Voice reference
Cadence comes from the audio reference, not from the prompt. We proved this: the same script and near-identical prompts gave a flat delivery without a reference and a natural one with it, while a prompt full of beat-by-beat pacing directions moved the pace by a few percent at most and introduced whispering and long dead pauses the user hated.
- Ask the user for a video whose delivery they like. If they have none, find candidates through
treg and let them choose. Use the routed endpoints and say what you want, not a vendor:
catalog_search("instagram reels search by keyword")->treg.instagram.search.reels(measured 86% success), orcatalog_search("tiktok search videos")/treg.douyin.search.videos. Search the niche ("money tips talking head", "creator secret"), pick 3-5 results with a play URL, send the links, and ask which voice and pace they want. Do not pick for them. - Extract a 2-15 s slice, mono mp3. PiAPI rejects longer references (reAPI allows up to 30 s). Choose the most
animated stretch, not the opening line: run Whisper with segment timestamps, read the
segments, pick a run with a rise and fall in it.
ffmpeg -ss <start> -to <end> -i src.mp4 -vn -ac 1 -ar 44100 -b:a 128k voice_ref.mp3 - Keep the clip and its source timestamps next to the outputs; the user will ask where it came from.
Prompt
Under 4000 characters. Five parts, in this order. Fill the braces; keep the rest verbatim, it
Häufige Fragen
Brauche ich zuerst ein Figurenbild?
Ja. Die Fähigkeit erwartet ein festes Figurenbild, das die Fähigkeit portrait-clone erstellen kann.
Was muss installiert sein?
Die Fähigkeit braucht treg, ffmpeg, Python mit PIL und einen OpenAI-Schlüssel für Wortzeiten.
Was kostet ein Take?
Laut der Fähigkeit kostet ein Take einige Dollar, und der Agent soll vor jedem kostenpflichtigen Schritt bestätigen lassen.
Details
Originalbeschreibung des Autors
Turn a locked character image (from portrait-clone) into a UGC-style 9:16 talking-head video: pick a voice-reference clip, size the script to the duration, write the Seedance 2.5 prompt, generate through treg (reAPI or PiAPI), then burn a static emoji header and phrase captions with code. Use after portrait-clone when the user wants the character to speak a script on camera.
repo: superdesigndev/treg
Beliebtheit
- GitHub-Sterne
- 7.0k
- Platz im Ranking
- #13701
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
code-quality
7.0kBringt deinem Agenten klare Code-Standards bei: Regeln mit Werkzeugen durchsetzen, Kommentare selten halten, Tests zum Scheitern bringen und Dokumentation kurz halten.
google-ads
7.0kHilft deinem Agenten, Google-Ads-Berichte und Änderungen sicher durchzuführen und typische Fehler bei API-Version und Budget zu vermeiden, die Geld verschwenden.
google-analytics
7.0kHilft deinem Agenten, genaue Zahlen zu Besuchen, Conversions und Umsatz aus Google Analytics 4 zu holen, ohne unvollständige Tage und falsche Nullen.
google-search-console
7.0kHilft deinem Agenten, organische Klicks, Impressionen und Rankings aus der Search Console zu berichten, ohne unvollständige letzte Tage für einen Rückgang zu halten.
Ähnliche Skills
taste-application
280kHilft deinem Agenten, Videos im Stil eines Referenzvideos zu erstellen. Er übernimmt den Schnittrhythmus, generiert Szenen, passt Farben an und schneidet alles zusammen.
taste-distillation
280kLässt deinen Agenten Videos analysieren und ein Stil-Paket erstellen. Es enthält Farben, Schnittrhythmus und visuelle Elemente für neue Videos im gleichen Look.
ui-demo
280kLässt deinen Agenten ansprechende UI-Demo-Videos aufnehmen. Nützlich für Tutorials oder um zu zeigen, wie eine Web-App funktioniert.