ugc-talking-head-video
하는 일
이 스킬은 캐릭터가 카메라를 보고 대본을 말하는 짧은 UGC 스타일 영상을 만듭니다. 소셜 미디어나 광고용 말하기 영상을 원하는 마케터와 제작자를 위한 스킬입니다.
사용하는 경우
- ✓고정된 캐릭터가 세로 영상에서 카메라를 보고 대본을 말하게 하고 싶을 때.
- ✓말하기 영상에 시간에 맞춘 단어 자막을 넣어야 할 때.
- ✓이미 고른 캐릭터 이미지로 UGC 스타일 클립을 만들고 싶을 때.
스킬 링크
https://github.com/superdesigndev/treg/blob/main/.agents/skills/ugc-talking-head-video/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 캐릭터 이미지와 제 15초 대본으로 자막이 들어간 세로 말하기 영상을 만들어 주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 목소리 참고 자료를 고르고, 대본을 클립 길이에 맞추고, 영상 프롬프트를 작성한 뒤 treg로 클립을 생성합니다. 이후 ffmpeg 기반 코드 스크립트로 이모지 머리말과 구절 자막을 추가합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
캐릭터 이미지를 먼저 준비해야 하나요?
네. 이 스킬은 고정된 캐릭터 이미지가 필요하며, portrait-clone 스킬로 만들 수 있습니다.
무엇을 설치해야 하나요?
treg, ffmpeg, PIL이 포함된 Python, 그리고 단어 타이밍용 OpenAI 키가 필요합니다.
영상 한 편의 비용은 얼마인가요?
스킬은 한 편에 몇 달러 정도 든다고 설명하며, 에이전트가 유료 단계마다 먼저 확인을 받아야 한다고 합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 7.0k
- 순위
- #13701
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
code-quality
7.0k에이전트가 도구로 규칙을 강제하고 주석은 줄이며, 실패할 수 있는 테스트와 짧은 문서를 쓰도록 돕습니다.
google-ads
7.0k에이전트가 API 버전과 예산 실수를 피하며 Google Ads 보고서를 만들고 캠페인을 안전하게 바꾸도록 돕습니다.
google-analytics
7.0k에이전트가 GA4에서 부분 집계일과 잘못된 0을 피하고 정확한 트래픽, 전환, 매출 수치를 가져오도록 돕습니다.
google-search-console
7.0k에이전트가 Search Console 데이터를 보고하며, 최근의 불완전한 날짜를 하락으로 오해하지 않도록 돕습니다.
비슷한 스킬
taste-application
280k특정 스타일의 영상을 에이전트가 만들도록 돕습니다. 참고 영상의 편집 리듬을 살려 새 장면과 색을 더하고 영상을 편집합니다.
taste-distillation
280k영상을 분석해 스타일 팩을 만들도록 에이전트를 돕습니다. 색, 컷 리듬, 시각 요소를 포함하며 같은 느낌의 새 영상을 만드는 데 재사용할 수 있습니다.
ui-demo
280k에이전트가 완성도 높은 UI 데모 영상을 녹화하도록 돕습니다. 튜토리얼을 만들거나 웹 앱의 작동 방식을 보여 줄 때 유용합니다.