Synthesizes video narration in the user's own cloned voice via DeepInfra Qwen3-TTS, one wav per script beat plus timing.json. Turns the narration lines of a video script into speech with DeepInfra's OpenAI-compatible /audio/speech endpoint (model Qwen/Qwen3-TTS, the voice id in DEEPINFRA_TTS_VOICE, which is the user's cloned voice): one wav per beat, measured durations in timing.json, and a re-run that only pays for beats whose text changed. Use when the user wants narration, a voiceover or 내레이션 for a video in their voice: "이 대본 내 목소리로 읽혀줘", "나레이션 만들어줘", "보이스오버 다시 뽑아줘", "3번 비트 문장 바꿨으니 그것만 다시 녹음해", "generate the voiceover for this script". A full video request goes through video-studio, which calls this when narration is on. Not for HeyGen, ElevenLabs or local Kokoro voices, transcription, or music and sound effects (hyperframes media-use).
Ships in toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Speech comes from a paid API in the user's own voice, so every call costs money and the output is the user speaking. Synthesize only what was approved, and never spend on text nobody has read. Paths below are relative to this SKILL.md's directory.
beats.json: {"beats": [{"id": "b01", "text": "..."}, ...]}. Inside a video-studio project it is
videos/<slug>/narration/<lang>/beats.json, written by the orchestrator from that language's script.b01, b02, ... in reading order. Write the file, show it, and
treat that as the text the user approves at the gate.Text rules, because the model reads exactly what it gets:
text.Plan, free of charge:
python3 scripts/narrate.py <beats.json> <out-dir> --dry-run
python3 scripts/narrate.py --self-test checks the tail cut offline.
It prints the beat count, how many need synthesis, and their total characters. Beats whose wav already
exists with unchanged text, model and voice are skipped.
Gate. Show the user the beats to synthesize (id and text) and the character total, and wait for an
explicit yes in this turn. If to_synthesize is 0, skip the gate and go to step 4.
Synthesize:
python3 scripts/narrate.py <beats.json> <out-dir>
Needs DEEPINFRA_API_KEY and DEEPINFRA_TTS_VOICE in the environment. If either is missing the
script stops with ✗ missing env; point the user at toolkit:video-studio-setup step 4 and stop.
Do not ask for the key in chat and do not write it to any file.
The endpoint stops each clip a few tens of milliseconds early, so the last syllable ends cut off:
speech at -20 to -30 dB, then digital zero, in wav, flac and mp3 alike, and trailing punctuation or
spaces do not change it. The script therefore sends every beat with a throwaway tail phrase
(" ... 네." for Hangul text, " ... okay." otherwise; DEEPINFRA_TTS_TAIL overrides it), cuts inside the
pause before that phrase with a 60 ms fade, and trims trailing room tone and breath to 0.12 s after the
last speech-level window. The real sentence keeps its natural decay to about -60 dB. When no pause
is found it asks again once, then falls back to a plain request and marks the beat "tail": "raw".
The tail rule is part of each beat's sig, so beats made before it are synthesized again on the next
run; the gate in step 2 shows that count.
Listen check. Play nothing; instead read timing.json and flag any beat whose duration is far from
its length: roughly under 0.06 s or over 0.3 s per Korean, Japanese or Chinese character, or under
0.03 s or over 0.15 s per character of Latin-script text. That usually means a dropped
or repeated phrase. Also flag every id in the script's tail_raw list: its ending may be cut off. Re-synthesize a flagged beat only after the user agrees, by deleting its wav and
running step 3 again.
<out-dir>/<id>.wav per beat and <out-dir>/timing.json:
{"model": "Qwen/Qwen3-TTS", "total": 41.2,
"beats": [{"id": "b01", "text": "...", "file": "b01.wav", "duration": 3.84, "sig": "...",
"tail": "cut"}]}
Report in this shape:
video-studio-narrate: OK | SKIPPED | DECLINED | FAIL
beats: <n> (synthesized <k>, reused <n-k>) total: <seconds> s
flagged: <ids or none> tail raw: <ids or none>
SKIPPED means nothing needed synthesis. DECLINED means the user said no at the gate. FAIL carries
the script's ✗ line.
| Symptom | Fix |
|---|---|
✗ HTTP 401 | Wrong or expired key; the user fixes DEEPINFRA_API_KEY |
✗ HTTP 4xx naming the voice | DEEPINFRA_TTS_VOICE is not a voice on this account |
✗ response is not a wav | The endpoint returned JSON; read the printed body, often a model name change. Override with DEEPINFRA_TTS_MODEL |
A beat in tail_raw | No pause before the throwaway phrase in two tries; listen to its ending. Re-run after deleting its wav, or set DEEPINFRA_TTS_TAIL to another short phrase such as " ... 그렇습니다." |
| Durations changed after a re-run | Expected once after the tail rule (endings are no longer cut, room tone trimmed). Re-run video-studio stage 5 timing (inputs.vo, scene durations) before compositing |
| 429 or 5xx | The script retries with backoff three times; if it still fails, wait and re-run, finished beats are reused |
What SKILL.md sets; muted values are Claude Code's defaults
/toolkit:video-studio-narratefrom toolkit
npx claudepluginhub siu9068/ggyul-skills --plugin toolkit49 skills in this plugin
/artifact-build디자인 소스 링크 하나(Claude 아티팩트, Claude Design 캔버스, Claude Docs, Figma, Open Design)를 받아 앱을 처음부터 완성까지 끌고 가는 오케스트레이터. claude.ai 채팅 링크(`claude.ai/chat/...?artifact=...`)나 아티팩트 링크를 붙여넣고 그대로 만들어 달라는 요청이면 링크가 문서인지 캔버스인지 확인하는 일까지 이 스킬이 맡으니 docs 도구로 먼저 가지 말고 이 스킬을 켠다. 모든 페이지를 읽어 스펙을 만들고, 프로젝트가 아직 없으면 project-setup 질문지만 사용자에게 묻고 세팅한 뒤, 나머지 결정은 자동승인 게이트가 내리며 api-creator, screen-creator, android-screen-creator, ios-screen-creator로 병렬 구현하고, 아티팩트 기준 검증에서 FAIL이 0이 될 때까지 갭을 고치고 다시 검증하기를 반복한다. 트리거: "이 아티팩트 링크대로 앱 만들어줘", "claude.ai/artifact/... 이거 보고 완성까지 자동으로 개발해줘", "피그마 링크 줄게 백엔드랑 안드로이드 iOS까지 다 만들어", "디자인 캔버스에 작업목록까지 있으니 끝까지 구현하고 검증해줘", "Open Design 시안대로 처음부터 끝까지". Do NOT use for: 링크 없이 스택만 세팅 (`project-setup`), 이미 있는 스펙 문서 구현 (`spec-implementer`), 한 줄 요청 구체화 후 구현 (`feature-builder`), 아티팩트에서 스펙만 뽑기 (`artifact-build-ingest`), 검증만 (`artifact-build-verify`), 레퍼런스로 토큰만 (`design-system-import`)./artifact-build-ingest디자인 소스 링크(Claude 아티팩트, Claude Design 캔버스, Claude Docs 문서, Figma 파일, Open Design 같은 웹 디자인 도구)의 모든 페이지를 로컬로 받아, 페이지 묶음마다 서브에이전트를 병렬로 돌려 요구사항을 뽑고, 출처 페이지가 달린 spec-creator 형식의 스펙(`docs/specs/` 아래 마크다운)과 소스 매니페스트로 만든다. 아티팩트에 작업목록 페이지가 있으면 그 목록을 작업 표의 뼈대로 쓴다. 트리거: "이 아티팩트 읽어서 스펙으로 뽑아줘", "피그마 링크 전체 페이지 요구사항 정리해줘", "claude.ai/artifact 링크 화면 목록이랑 작업 표로 만들어줘", "이 디자인 캔버스 모든 페이지 보고 docs/specs에 정리". 링크를 받아 세팅, 구현, 검증까지 끝까지 가는 전체 요청이면 `artifact-build` 경유. Do NOT use for: 인터뷰로 스펙을 새로 쓰는 일 (`spec-creator`), 이미 있는 스펙을 구현하는 일 (`spec-implementer`), 구현이 아티팩트를 충족하는지 판정하는 일 (`artifact-build-verify`), 레퍼런스로 디자인 토큰만 뽑는 일 (`design-system-import`, `native-design-system-import`).Other plugins' skills for the same job