Loading...
Loading...
Use when the user wants to teach / learn an English word as a video — turn a single English word into a self-contained HLS "supercut" lesson built from the mira video base. Stitches every season2 clip where the word is spoken (via the search-app API) into one .m3u8, prepended with a Claude-written bilingual word-intro card (word + IPA + 中文 gloss + usage, Volcano TTS) and appended with a 关注王建硕 CTA card. No MP4 burn. Triggers — "teach <word>", "讲讲 <word>", "学英语 <word>", "把 <word> 做成视频", "/wjs-teaching-english <word>".
npx skill4agent add jianshuo/claude-skills wjs-teaching-englishintro.ts (word /IPA/ · 中文 gloss · usage + Volcano TTS)
⋯ EXT-X-DISCONTINUITY
[supercut] every season2 clip where the word is spoken (search-app /api/playlist, COS URLs)
⋯ EXT-X-DISCONTINUITY
cta.ts (关注王建硕 + Volcano TTS)
= search-app/out/<word>.m3u8.tsffmpegffprobevolcenginerequirements.txtpython3 -c "import volcengine"pip3 install volcengine==1.0.58https://search-app-three-kappa.vercel.appSEARCH_APP_BASE=http://localhost:3000npm start/tmp/lesson.json{
"word": "love",
"ipa": "/lʌv/",
"pos": "v. / n.",
"gloss": "爱,热爱",
"usage": "下面是它在真实电影里的说法",
"tts_text": "love. 爱。"
}tts_textusagecd /Users/jianshuo/code/mira/search-app
python3 scripts/build_lesson.py --word love --lesson /tmp/lesson.json--speaker zh_female_qingxin--limit 300--no-tts--base <url>--out <dir>search-app/out/<word>.m3u8.m3u8<word>.intro.ts<word>.cta.tsout/bufferAppendErrorffplay search-app/out/<word>.m3u8out/.m3u8