ugc-talking-head-video
O que ela faz
Esta skill cria vídeos curtos no estilo UGC em que um personagem fala um roteiro diante da câmera. É para profissionais de marketing e criadores que querem clipes de talking head para redes sociais ou anúncios.
Quando usar
- ✓Quando você quer que um personagem travado fale um roteiro na câmera, em um vídeo vertical.
- ✓Quando você precisa adicionar legendas a um clipe de talking head com palavras sincronizadas.
- ✓Quando você quer um clipe no estilo UGC feito a partir de uma imagem de personagem que você já escolheu.
Link da skill
https://github.com/superdesigndev/treg/blob/main/.agents/skills/ugc-talking-head-video/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode transformar esta imagem de personagem e meu roteiro de 15 segundos em um vídeo vertical de talking head com legendas?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escolhe uma referência de voz, ajusta o roteiro à duração do clipe, escreve o prompt do vídeo e gera o clipe pela treg. Depois adiciona um cabeçalho com emoji e legendas por frase, usando um script em código baseado no ffmpeg.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Preciso de uma imagem de personagem antes?
Sim. A skill espera uma imagem de personagem travada, que a skill portrait-clone pode criar.
O que preciso ter instalado?
A skill precisa da treg, do ffmpeg, do Python com PIL e de uma chave da OpenAI para os tempos das palavras.
Quanto custa uma tomada?
A skill diz que uma tomada custa alguns dólares, e o agente deve confirmar antes de cada etapa paga.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 7,0 mil
- Posição no ranking
- #13701
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
code-quality
7,0 milEnsina seu agente padrões claros de código: aplicar regras com ferramentas, manter comentários raros, fazer os testes poderem falhar e manter a documentação curta.
google-ads
7,0 milAjuda seu agente a gerar relatórios e fazer alterações no Google Ads com segurança, evitando erros comuns de versão de API e de orçamento que desperdiçam dinheiro.
google-analytics
7,0 milAjuda seu agente a obter números precisos de tráfego, conversões e receita do Google Analytics 4, evitando dias parciais e zeros falsos.
google-search-console
7,0 milAjuda seu agente a relatar cliques, impressões e posições de busca orgânica do Search Console sem confundir dias recentes incompletos com uma queda.
Skills parecidas
taste-application
280 milAjuda seu agente a criar vídeos com um estilo específico. Ele pode copiar o ritmo de edição de um vídeo de referência, gerar novas cenas, ajustar cores e editar tudo junto com outros vídeos.
taste-distillation
280 milFaz seu agente analisar vídeos para criar um pacote de estilo. Isso inclui cores, ritmo de corte e elementos visuais que podem ser reutilizados para criar novos vídeos com a mesma aparência.
ui-demo
280 milFaz seu agente gravar vídeos de demonstração de interface do usuário polidos. É útil para criar tutoriais ou mostrar como um aplicativo web funciona.