Aller au contenu
Skillpedia
Montage vidéo7.0k · #13701

ugc-talking-head-video

Ce qu’il fait

Ce skill crée de courtes vidéos de style UGC dans lesquelles un personnage récite un script face caméra. Il s'adresse aux spécialistes du marketing et aux créateurs qui veulent des extraits face caméra pour les réseaux sociaux ou les publicités.

Quand l’utiliser

  • ✓Quand vous voulez qu'un personnage verrouillé récite un script face caméra dans une vidéo verticale.
  • ✓Quand vous devez ajouter des sous-titres à un extrait face caméra avec des mots cadencés.
  • ✓Quand vous voulez un extrait de style UGC à partir d'une image de personnage que vous avez déjà choisie.

Lien du skill

https://github.com/superdesigndev/treg/blob/main/.agents/skills/ugc-talking-head-video/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/superdesigndev/treg/blob/main/.agents/skills/ugc-talking-head-video/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu transformer cette image de personnage et mon script de 15 secondes en vidéo verticale face caméra avec sous-titres ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent choisit une référence de voix, adapte le script à la durée de l'extrait, rédige le prompt vidéo et génère l'extrait via treg. Il ajoute ensuite un en-tête avec emoji et des sous-titres par phrase grâce à un script basé sur ffmpeg.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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. If treg --version fails, install and sign in first:
    curl -fsSL https://treg.to/install.sh | sh
    treg login
    
    Then treg balance to 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-clone skill (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, and OPENAI_API_KEY in the environment for Whisper word timings (captions only).

Flow

  1. Lock the script and duration (§ Script and duration). Show the user the word count and the proposed seconds before anything else.
  2. Get a voice-reference clip (§ Voice reference). Never generate without one.
  3. Write the prompt from the template (§ Prompt). Paste the whole thing to the user before the first run.
  4. Run seedance_treg.py. Quote the estimated cost in the same message you announce the run.
  5. Verify with the checks in § Verify, send the raw clip, and only then caption.
  6. Caption with caption_burn.py using 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.

  1. 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), or catalog_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.
  2. 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
  3. 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

Questions fréquentes

Me faut-il d'abord une image de personnage ?

Oui. Le skill attend une image de personnage verrouillée, que le skill portrait-clone peut créer.

Que faut-il installer ?

Le skill a besoin de treg, de ffmpeg, de Python avec PIL et d'une clé OpenAI pour les horodatages des mots.

Combien coûte une prise ?

Le skill indique qu'une prise coûte quelques dollars, et que l'agent doit demander confirmation avant chaque étape payante.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
7.0k
Position au classement
#13701
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires