/minli-skill:digital-human-koubofrom minli-skill
Turns any article into a multi-character AI-narrated video using local open-source models: reads article, writes script with visuals, generates character frames via MOSS-Image, produces video with MiniMax H3 + ComfyUI, and assembles with Remotion. Supports multi-role, multi-language, and 48 packaging components.
Ships in minli-skill. 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.
换一篇文章只改数据,不改代码。 一期工程就是一个目录:
<工程>/
article/ 文章原文和配图(visual 里引用的图片都从这里拿)
script.json 口播稿:每段 {id, host, t, lang, shot, ch, act, visual, …}
cast.json 本期阵容:{"<角色id>": {"use": "<库里的 id>"}} 或自己新建
episode.json 片名、系列、配色 theme、片头卡、配乐 music、字幕高亮词
frames/ 可选:某些段单独用的场景首帧
文章 ──读、拆──▶ script.json + cast.json + episode.json
角色首帧(gen_image.py,本地文生图)──┐
▼
h3.py build/run(本地 H3,双卡)──▶ gen/ ──assemble.py(whisper 回听)──▶ cut/
▼
build_tl.py ──▶ edit/src/tl.json + episode.json ──▶ templates/explainer-169 ──▶ 成片
make_score.py --mood … ──▶ 配乐
机器、模型路径在 persona.json;现成角色在 assets/cast/library.json;画面字段在 references/visuals.md;H3 提示词规范和加速在 references/h3.md。
assets/avatar_ref.jpg(白背心)是上游作者的数字人,NOTICE.md 不许用在别人的内容里:只当效果参考,不当主播。nvidia-smi 和内存,别动别人的进程;跑完 h3.py down 把自己起的服务停掉,远端临时文件脚本会删。ssh <persona.h3.ssh_hosts[0]> nvidia-smi 能通、ComfyUI 和权重在 persona.h3.root。没装 Turbo 加速:ssh <host> 'COMFY=<root>/ComfyUI bash -s' < scripts/h3_setup_accel.sh(走 ModelScope)。换机器 / 第一次部署见 references/install.md。ssh <persona.image.ssh_host> nvidia-smi,只用 persona.image.gpus 里的卡。bash scripts/doctor.sh(ffmpeg、Python 3 + numpy、Node 18+、whisper-cli + 模型)。读完文章(URL 先抓成 markdown 放 article/,图片一起下),给用户一段话的方案,一次问完:
templates/explainer-169,本流程);短视频要花字口播 / 发布解读 / 多主播等,按 references/style-menu.md 推荐。ch),每章 2–5 段;总长按文章密度,一般 2–6 分钟(25 段 ≈ 3.5 分钟)。assets/cast/library.json 有没有合适的,没有就新做(第 1 步)。magic 魔幻 · tech 科技 · warm 温暖 · epic 史诗(同时决定配色和配乐,episode.json 里一个词)。python3 scripts/gen_image.py --ratio 9:16 --n 4 --out cast/host --prompt "a confident adult woman in her late twenties, ..." # 底模原创
python3 scripts/gen_image.py --lora <名字> --ratio 9:16 --n 4 --out cast/me --prompt "<触发词>, ..." # 自己训的人物 LoRA
python3 scripts/gen_image.py --prompts prompts.json --gpu 1 --out cast/x # 一批不同尺寸 / 种子
_fields;做法见 references/new-avatar.md。好用的角色加进 library.json 下次直接 use。每段一两句、5–14 秒(普通话约 5 字/秒,英文约 2.6 词/秒)。字段:
t 念的原文(数字写成好念的样子:「四十八 G」「第三百步」);字幕要显示别的写法就加 sub(「48G」),句数和 t 一致。lang:zh / en-GB / en / ja;英文段加 zh → 双语字幕。host 是 cast.json 里的 id;shot:pip(右侧小窗 + 左侧内容区,默认)/ scene(全屏场景,配 frame 场景首帧)。ch 章节名(顶部进度条按出现顺序生成);act 表演(英文一两句,跟着台词走:「counts two on her fingers」「pushes his glasses up」)——H3 很听话,这是最出效果的一栏。visual 这一段左侧内容区放什么:类型和字段见 references/visuals.md。原则:
image,marks 圈出正在讲的那块,crop 只取一部分,stamp 盖章);有数字就上 stats / bars;有命令就 terminal;有步骤就 flow;有字段 / 关键词就 tags;金句用 quote;开场和章节转折用 big。at 卡到口播里的词:"at": "六十五" = 念到「六十五」时弹出,["词", 0.6] = 那个词后 0.6 秒。box。python3 scripts/h3.py build script.json tasks.json # 打印段数、时长、GPU 时间粗估 —— 先报给用户
python3 scripts/h3.py run tasks.json --gpus 2 # 双卡各一个实例,按队列长度分;后台跑 + Monitor 看 ✓/✗
python3 scripts/h3.py run tasks.json --only s07 # 删掉 gen/s07.mp4 再跑 = 自动换种子重拍
python3 scripts/h3.py down # 收工:只停自己起的、队列空了的实例
references/h3.md),只改 script.json,不手改 tasks.json。python3 scripts/assemble.py script.json:按每段 lang 用 whisper 转写、比文稿、剪段尾,出 cut/<段>.mp4 + cut/<段>.json(逐字时间)+ cut/qa.json。
bash scripts/new_edit.sh explainer-169 edit # 起工程(可 DH_NODE_MODULES_FROM=<已有 Remotion 4.0.408 工程> 省掉 npm install)
python3 scripts/build_tl.py --edit edit # cut/ + script.json + cast.json + episode.json → edit/src/tl.json、episode.json、public/
python3 scripts/make_score.py --sec 300 --out edit/public/music/score.mp3 # 配乐:情绪读 episode.json → music.mood,或 --mood tech
cd edit && npx remotion still src/index.ts Explainer s.jpg --frame=<帧> # 先抽帧看版式
npx remotion render src/index.ts Explainer out/video.mp4 --crf=18
ffmpeg -i out/video.mp4 -c:v copy -af loudnorm=I=-16:TP=-1.5:LRA=11 -c:a aac -b:a 192k out/final.mp4
titleCard.after 那段后、把 visual 引用的图片拷进 public 并量好尺寸("cast:<id>" = 那个角色的首帧)。改了 script.json 的 visual 重跑它就行,不用重新生成。box / at / 字号,重跑 build_tl。<OffthreadVideo> 一律 muted,人声单独一条 <Audio>(放两遍 = +6 dB 削波);配乐 music.bed 默认 0.14(压在人声下约 20 dB),片头卡抬到 music.title。音效按 visual 类型自动加(盖章 slam、金句 ding、数字 pop、换人 swish、全屏场景 whoosh),来自 make_assets.py 合成。Explainer.tsx 的 Visual 里加一个 case,同时写进 references/visuals.md,不要为某一期写死。templates/huazi-916(references/huazi.md);包装组件按 references/packaging-presets.json 排、用户点名的手法在上面加减(references/packaging.md)。examples/ep01-moss-lora:一篇「人物 LoRA 训练」技术文章 → 3 分 38 秒、25 段、4 个角色、英式开场切普通话的讲解片。只有数据文件(script.json 里 25 个 visual、cast.json、episode.json、article/ 配图),渲染走通用模板。写新一期时照着它的 visual 写法来。
LICENSE-upstream (opens in a new tab)NOTICE.md (opens in a new tab)README.en.md (opens in a new tab)README.ja.md (opens in a new tab)README.ko.md (opens in a new tab)README.md (opens in a new tab)README.pt-BR.md (opens in a new tab)assets/README.md (opens in a new tab)assets/cast/chibi_916.jpg (opens in a new tab)assets/cast/hoot_169.jpg (opens in a new tab)assets/cast/library.json (opens in a new tab)assets/cast/moss_169.jpg (opens in a new tab)assets/cast/moss_916.jpg (opens in a new tab)assets/cast/oliver_916.jpg (opens in a new tab)examples/ep01-moss-lora/README.md (opens in a new tab)examples/ep01-moss-lora/article/comfyui_leak_compare_ui.jpg (opens in a new tab)examples/ep01-moss-lora/article/cover_5x2_notext.jpg (opens in a new tab)examples/ep01-moss-lora/article/lora_principle.jpg (opens in a new tab)examples/ep01-moss-lora/article/moss01_batch1_sample.jpg (opens in a new tab)examples/ep01-moss-lora/article/moss01_caption_example.jpg (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-video, digital-human, text-to-video, local-ai, remotion, comfyui
Generated from the plugin's indexed repository (limin112/min-skill) — no native marketplace selected
npx claudepluginhub p/limin112-minli-skill8 skills in this plugin
/copy-kakasi「copyKakasi / 逐镜复刻」:把一段有权使用的视频(MV、短片、广告)按原片分镜 1:1 重拍——构图、机位、动作、节奏、配乐都照原片,只把演员换成用户本人、本人明确同意的成年人或 AI 虚构角色。流程:切镜头 → 选镜头、剪歌 → 取首尾帧 → 换脸或打码重画 → 用户自己部署的 MiniMax H3 首尾帧模式逐镜头生成 → 重采样回原帧数、去油腻调色 → 拼接配歌 → 上下对照版。触发:copyKakasi、copy-kakasi、「逐镜复刻」「1:1 复刻」「照着原片一镜一镜重拍」「把这段 MV 换成我来演」,以及成片后按镜头返工(「这镜不要说话」「动作太快」「脸崩了」「跟原片剧情不符」)。不用于:把未同意的真人、未成年人、公众人物的脸放进去;只仿风格、内容重写的新片。/explain-videoBuild a narrated explainer video from a concept — discussion → structure → HTML slide deck → narration script → TTS voice → subtitles → background music → Playwright screen recording → ffmpeg composite. Use when asked to make a 讲解视频 / explainer / talking-deck video, to turn a topic or article into a narrated video or animated slide deck, or to redo one stage of an existing deck (re-record, re-mix BGM, regenerate captions, swap the voice)./freetoken-botsFree-model radar, quota tracker and zero-cost router for OpenRouter + OpenCode Zen. Discovers free models daily (new / no-longer-free / limited-time / anonymous), tracks free quota and rate limits, runs a local OpenAI-compatible router (Chat Completions + Responses API) that fails over only between OpenRouter free models, and uses OpenCode as the harness for OpenCode Zen free models (which official docs restrict to the OpenCode client) — any shell-capable agent can hand tasks to OpenCode with `ftb delegate`. Works with Pi, Codex CLI, OpenCode, Grokbot, Hermes and any OpenAI-compatible agent. Activates when the user mentions OpenRouter, OpenCode Zen, free tokens, free models, zero-cost models, 免费 token, 免费模型, 白嫖模型, or wants an agent to run on free models./handwriting-stand-upTurn a screen recording of handwriting (or a photo of handwritten text) into a single-file HTML "continuation" — the recording plays, the ink lifts off the page as solid 3D letters, a short animated story plays out in front of them (medieval-marginalia characters on a pop-up paper stage, captions, synthesized sound), and everything lies back down on the page at the end. Use when the user sends a video or photo of handwriting and asks to make it 立起来 / 站起来讲故事 / 做成 HTML 延续 / 让手写字变 3D / animate handwritten words into a story, or asks for a new story on an existing stand-up project./hdr-videoConvert an SDR video (or a clip of it) into a 10-bit HEVC HLG / BT.2020 HDR file whose highlights glow on HDR screens, and build a left/right SDR-vs-HDR comparison in a single file. Pure ffmpeg plus a generated 3D LUT (no zscale / libplacebo needed); parameters are chosen from measured luma stats, and the output tags are verified. Use when asked to make a video HDR / 做成 HDR / SDR 转 HDR / HLG / 亮瞎 / 高光发光, to make a clip look like an HDR reference, to compare SDR and HDR side by side (左右对比), or to judge or describe a scene that suits HDR./video-remake「videoRemake / 视频翻拍」:给一段有权使用的视频,聊几句,出另一个版本——镜头运动、节奏、每个节拍的时间点都照原片,内容整个换掉:换世界观(现代街头 → 古代皇宫、欧洲中世纪)、换画风(真人 → 动漫、水墨、黏土)、换完整角色(脸、身体、服装一起换)、或者一路穿越不同画风。流程:拆原片 → 和用户定节拍表 → 定妆图 → 逐张重绘关键帧(原片里的人先换成灰模)→ 按节拍分段、每段首尾都钉在关键帧上逐段生成 → 变速对齐、拼片配声 → 节点图管理页。生成视频这一步不绑定任何平台:用户说用什么就用什么——自己的显卡和本地模型、任何视频平台的接口、或者在网页上手工生成后把片子放回来。触发:videoRemake、video-remake、「翻拍这个视频」「把这个视频改成古代 / 中世纪 / 动漫风」「照这个视频的运镜做一个…版本」「换成另一个世界观」「整个角色换掉」「穿越不同画风」,以及成片后按段返工。只换演员的脸、别的都不动,用 copy-kakasi。不用于:把未同意的真人、未成年人、公众人物放进去;去水印;绕过平台下载限制。Other plugins' skills for the same job