comfyui-drama
Generate a complete short drama video from a storyboard. Use this Skill for scenarios 5–6 from `comfyui-studio`'s trigger index: 5=首帧 (drama first frame…
от MiniMax-AI★ 30 звёзд на GitHub
Установить comfyui-drama в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ComfyUI Drama
A 7-stage pipeline for producing a short drama video from a storyboard. The Plugin ships two preset ComfyUI workflows (scenarios 5 and 6) and describes the rest of the pipeline. The Plugin does not distribute any character LoRA, voice sample, or video model — every asset is user-supplied.
The 2 trigger scenarios (Part of this Skill)
These are scenarios 5 and 6 from comfyui-studio's index.
| # | Trigger | User says | Preset workflow | What it produces |
|---|---|---|---|---|
| 5 | 首帧 (first frame) | "生成这部短剧第 X 镜的首帧" / "first frame of shot 3" | workflows/drama-first-frame.json |
One 16:9 still image per shot, with two character LoRA slots |
| 6 | 出片 (image to video) | "把这个首帧做成 4 秒视频" / "turn this first frame into a clip" | workflows/drama-image-to-video.json |
One MP4 clip per shot, ~4 seconds, 24 FPS, distilled LTX-2.3 |
The Plugin provides templates and preset workflows for both stages. The user runs stages 1, 2, 3, 6, and 7 of the surrounding pipeline with their own tools (Excel, TTS pipeline, FFmpeg). This boundary is intentional: the Plugin does not assume a particular TTS vendor or spreadsheet format.
The 7 stages (the wider pipeline)
| Stage | Output | Tool | Notes |
|---|---|---|---|
| 1. Storyboard | desktop/<name>_分镜.xlsx |
User's spreadsheet editor or any storyboard tool | 6-column format: 序号 / 时长 / 画面 / 图片 prompt / 视频 prompt / 台词 |
| 2. TTS dubbing | <name>_wav/00X_<role>.wav |
User's TTS pipeline (Edge TTS, IndexTTS2, Qwen3-VoiceDesign, etc.) | TTS comes BEFORE images — the actual measured duration is the only truth for shot length |
| 3. Script refinement | Updated Excel with measured shot lengths | User's scripting tool | Re-cut shots whose actual TTS length differs from the script estimate by > 0.5s |
| 4. First-frame image | drama_frame_00001_.png per shot |
Scenario 5: workflows/drama-first-frame.json |
One image per shot, two-character LoRA slots |
| 5. Image-to-video clip | drama_clip_00001_.mp4 per shot |
Scenario 6: workflows/drama-image-to-video.json |
One video per shot, 8 GB VRAM friendly |
| 6. Subtitle burn | Subtitled video per shot | FFmpeg drawtext filter |
Source Han Sans CN, 28pt, white + black 2px stroke |
| 7. Audio/video assembly | Final drama MP4 | FFmpeg -c:v copy -c:a aac + concat demuxer |
One output MP4 per drama |
Scenario 5 — 首帧 (first frame) — drama-first-frame.json
A first-frame image generator with two LoRA slots (one per character in a two-character
drama). For single-character dramas, set the second slot's LoRA file to a placeholder LoRA
with strength = 0; for two-character dramas, fill both slots.
Pipeline: Checkpoint → LoraLoader (character A) → LoraLoader (character B) → KSampler.
Models
| Field | Value (as written in the JSON) | Where it lives on disk |
|---|---|---|
CheckpointLoaderSimple.ckpt_name |
Z-Image-Base-8steps-豹豹喵呜の白玉v2White_Marble-AIO_v2-bf16.safetensors |
models/checkpoints/ |
LoraLoader[0].lora_name (character A) |
character_a_lora.safetensors (placeholder — replace) |
models/loras/ |
LoraLoader[1].lora_name (character B) |
character_b_lora.safetensors (placeholder — replace) |
models/loras/ |
| CLIP / VAE | bundled with the CheckpointLoader | — |
Knobs
| Knob | Default | What it does |
|---|---|---|
LoraLoader[0].strength_model (character A) |
0.8 | Identity weight for character A |
LoraLoader[1].strength_model (character B) |
0.8 | Identity weight for character B |
EmptyLatentImage.width / height |
1280 / 720 | 16:9 landscape. Change for vertical (9:16) or square (1:1) |
KSampler.steps |
8 | Distilled-model default; raise to 20 for a non-distilled base |
KSampler.cfg |
1.5 | Distilled-model default; raise to 6 for a non-distilled base |
Submit
- Place the two character LoRAs under
<ComfyUI>/models/loras/. Edit the twoLoraLoader.lora_namefields in the JSON to point at your filenames if they differ from the placeholders. - Pass the image prompt with
--prompt. For a two-character drama, lead with the trigger words for both characters so the LoRAs can light up. - Submit via the Python script or the MCP server.
Critical prompt rule (first-frame)
The image prompt describes the first frame, not the shot's action sequence. A shot where character A hands a sword to character B should prompt the moment the hands are meeting, not the full handoff motion. The video prompt (scenario 6) is responsible for the motion.
Scenario 6 — 出片 (image to video) — drama-image-to-video.json
An image-to-video generator for a single shot. Takes a first-frame image (from scenario 5) and the shot's video prompt (Excel column "视频 prompt"). Outputs a single MP4 per shot.
Pipeline: CheckpointLoader + DualCLIPLoader + VAELoader + LoraLoader (optional motion) +
LoadImage (first frame) + KSampler + VHS_VideoCombine.
Models
| Field | Value (as wri
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл comfyui-drama?
Generate a complete short drama video from a storyboard. Use this Skill for scenarios 5–6 from `comfyui-studio`'s trigger index: 5=首帧 (drama first frame, two-character LoRA + prompt → 16:9 still) and 6=出片 (image-to-video, first frame + motion prompt → MP4 clip). The Skill also describes the full 7-stage pipeline around them (storyboard → TTS → script refinement → first frame → image-to-video → subtitle burn → audio/video assembly). Ships two preset workflow templates: `workflows/drama-first-frame.json` and `workflows/drama-image-to-video.json`.
Как установить скилл comfyui-drama?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comfyui-drama запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…