Communitygithub.com

akshayDev17/ai-설명-비디오

하나의 비디오에 대한 내레이션을 합성하고 측정된 타임라인을 구축합니다. 설명-비디오-강좌-자료로부터의 4단계 — 일회성 TTS 프리미티브입니다.

ai-설명-비디오란 무엇인가요?

이 스킬은 'explainer-video-from-coursework' 파이프라인의 4단계(8단계 중)로, 비디오 제작을 위한 오디오 합성 및 측정된 타임라인 구축을 담당합니다. 이는 일회성 TTS(Text-to-Speech) 프리미티브로, 한 번 오디오를 생성한 후 종료됩니다. 이 스킬은 텍스트-음성 변환을 위해 Gemini API 키를 사용하며, 결과적으로 각 세그먼트의 WAV 파일, 전체 내레이션 WAV 파일, 그리고 타임라인 JSON 파일을 생성합니다. 중요한 점은 각 오디오 세그먼트의 지속 시간을 ffprobe로 실제 측정하여 제공한다는 점으로, 이는 이전 단계의 추정값이 아닌 실제 값입니다. 또한 텍스트 기반 캐싱을 지원하여, 동일한 텍스트에 대해 재실행 시 API 호출 비용을 절약할 수 있습니다. 주요 지원 플랫폼은 Claude Code(또는 이와 유사한 AI 에이전트)이며, Node.js 환경에서 실행됩니다. 이 스킬은 네트워크를 사용하는 유일한 단계로, Gemini TTS 키를 소비합니다.

지원 대상~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-audio

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

비디오-오디오 제작 — TTS 및 측정된 타임라인

explainer-video-from-coursework 파이프라인의 일부 — 8단계 중 4단계입니다. 이는 프리미티브입니다: 오디오를 한 번 구축하고 중단됩니다. 장면 단계는 비트에 홀드가 필요할 때 이를 다시 호출합니다; 이 스킬 자체는 절대 루프하지 않습니다.

파이프라인의 도구와 장면 호스트는 형제 스킬인 explainer-video-from-coursework에 있습니다: 이 스킬의 폴더를 기준으로 node ../explainer-video-from-coursework/tools/<tool>.mjs로 실행하세요. 프로젝트에서 실행하므로, out/ 스크래치는 노트 옆에 저장됩니다.

전제 조건: 스크립트 단계의 out/<name>/scripts/<NN>-*.json; 컴퓨터에 OS 비밀 저장소에 Gemini 키가 있어야 함 (SETUP.md 참조).

No API key found 오류는 OS 비밀 저장소에 키가 없음을 의미합니다 — 사용자에게 해당 SETUP.md 단계를 안내하고 다시 실행하세요.

node ../explainer-video-from-coursework/tools/build-audio.mjs --script out/<name>/scripts/<NN>-*.json \
                           --out out/<name>/<NN> --voice Aoede

비디오별 작업 디렉토리에 narration/<seg>.wav, narration.wav, timeline.json, timeline.js를 씁니다. 이는 유일한 네트워크 단계입니다 — Gemini TTS 키를 소비합니다.

완료 조건: 실행이 0으로 종료되고, 각 세그먼트에 대해 하나의 창이 출력되며, [out] …/timeline.json으로 끝납니다.

  • 지속 시간은 추정이 아닌 측정값입니다 — 각 WAV는 ffprobe로 측정됩니다; 계획의 Min은 가드레일이었으며, 이후 단계가 바인딩하는 실제 숫자입니다.
  • 캐시는 텍스트 키 기준입니다 — narration/<key>.src는 정확한 구문 텍스트를 저장하므로, 문구 수정 후 재실행 시 0회 호출 비용이 듭니다. --voice, style, 또는 --model은 커버하지 않습니다: 변경 시 이전 오디오가 자동으로 재사용됩니다. 재합성하려면 --force를 전달하세요.

유지 보수

이 파일을 수정하거나, 사용자가 이 단계를 변경하도록 요청하면, 메인 explainer-video-from-coursework 스킬의 "4단계 — /audio" 섹션이 일치하도록 조정되어야 한다고 사용자에게 알리고, 답변에 해당 섹션 이름을 명시하세요.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

akshayDev17/ai-explainer-video

Assemble one video from its segments — render each window silent, concatenate, mux the narration once, and verify. Stage 8 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Render one scene config over one time window to an MP4 (or a handful of QA stills). Stage 7 of explainer-video-from-coursework — the render primitive.

akshayDev17/ai-explainer-video

Author and iterate the animated visuals for one video's segments. Stage 5 of explainer-video-from-coursework; it re-invokes the audio stage when a beat needs a hold.

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

관련 스킬