🐠01漫剧剧本准备@炮老师的小课堂
Paste your idea, script or novel — the whole front of the drama pipeline runs itself
- 📦 上游资料
- 📦 漫剧资料包
- 📄 阶段文档
- ℹ️ 处理信息
- 💾 完整资料包JSON(续集用)
The 🐠 漫剧 ("manga-drama") suite inside paolaoshi/ComfyUI-dapaoAPI is a text pipeline for Chinese vertical short drama: it writes the script, visual setting, storyboard, image prompts and video prompts that a separate image/video model turns into pixels. The three guided nodes - Prepare, Visual, Finish - are how you're actually supposed to run it, and DapaoDramaPrepare is node 01, the entry point.
You paste in whatever you start with - an existing script, an original idea, or a novel to adapt - pick a few project settings, and it internally runs the front half of the whole chain: novel analysis if there's a novel, series planning if you ask, then script writing or normalization. No manual branch-and-merge, no wiring eleven nodes together. One thing in, one bundle out, and the bundle carries everything later nodes need.
The input that decides everything
- 📥 内容来源 - 已有剧本 (existing script), 原创想法 (original idea), or 小说改编 (novel adaptation). This changes what the node does internally: existing scripts get normalized (kept, reformatted, contradictions flagged - not rewritten into a new story), original ideas get planned and written from scratch, novels get segmented analysis first, then planning, then writing.
- 📄 剧本或故事内容 - the actual text. The tooltip is honest about scope: one episode at a time. No auto-generating a whole season.
- 🎛️ 准备任务 (optional, hidden under advanced) - the escape hatch. 自动完成剧本 is the default; or run 仅原著分析 (analysis only), 仅系列开发, 仅剧本创作或修订, 仅导入已有文档(不调用LLM), or - the interesting one - 续写下一集(继承前集), which carries the previous episode's project, characters and visual baseline forward and drafts the next episode. That's how you make episode 2 without re-answering everything.
The project settings on the face
Because this node creates the project, it exposes the same config the advanced Project node does: 📛 项目名称, ⏱️ 单集目标秒数, 🎨 制作形态 (2D animated / 3D / static / ink / Q-version / live-action), 🖌️ 视觉风格, 📐 画幅比例 (9:16 default - this is vertical drama), 🎬 视频提示词方言, 🖼️ 参考方式, plus the 📚 系列规划 toggle. Episode number and other fine print live under optional inputs.
The money reality
This is an LLM node: fill 🔑 API密钥 (or set DAPAO_API_KEY before launch and leave it blank), pick 🤖 LLM模型 (defaults to the relay's gemini-3.7-flash), and understand that the pipeline bills per internal stage, not per node. The docs price it plainly: an existing script down the default chain is ~5 LLM responses (script 1, visual 2, storyboard+video 2); static form is 4; novel segmentation and series planning add calls. Fixed 🎲 随机种 + unchanged content = 48-hour reuse of successful responses (fewer actual charges); failures never auto-retry.
Outputs
📦 漫剧资料包 → wire to DapaoDramaVisual (02). 📄 阶段文档 (the script as written). ℹ️ 处理信息 (usage + checks). 💾 完整资料包JSON(续集用) - save this when the episode's done; next season, a fresh Prepare node's "续写下一集" mode accepts it directly, no need to reconnect the original nodes.
Installing and gotchas
ComfyUI Manager → search "dapaoAPI", or git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI into custom_nodes, install requirements.txt, restart, and Ctrl+F5 the browser (new menu + front-end bits). No model files.
The pack's README is a changelog for its API image/video nodes and never mentions this suite - real docs live in the repo's docs/short_drama_suite.md and example_workflows/漫剧_00_三节点简化流程.json (Chinese, but the node labels match). Keys typed into nodes can sit in plaintext inside saved workflow files - the tooltip warns you to strip them before sharing, and the bundle itself never carries auth.
Inputs (35)
| Name | Type | Default | Description |
|---|---|---|---|
| 🔑 API密钥 | STRING | 留空可读取DAPAO_API_KEY环境变量;普通工作流可能保存明文输入,分享前请移除。 | |
| 🤖 LLM模型 | COMBO | gemini-3.7-flash | 18 options: gpt-5.5, gpt-5.6-luna, gpt-5.6-terra, gpt-5.6-sol, gpt-6-astra, claude-fable-5, +12 |
| 📥 内容来源 | COMBO | 3 options: 已有剧本, 原创想法, 小说改编 | |
| 📄 剧本或故事内容 | STRING | 已有剧本/小说请粘贴正文;原创填写故事想法。当前按一集处理,不会自动生成全部集数。 | |
| 📛 项目名称 | STRING | 我的漫剧 | — |
| ⏱️ 单集目标秒数 | INT | 605–3600 | — |
| 🎨 制作形态 | COMBO | 6 options: 二维动态漫剧, 三维动画, 静态漫剧, 水墨国漫, Q版动画, 真人短剧 | |
| 🖌️ 视觉风格 | STRING | 遵循创作要求 | — |
| 📐 画幅比例 | COMBO | 4 options: 9:16, 16:9, 1:1, 4:3 | |
| 🎬 视频提示词方言 | COMBO | 4 options: 通用, Seedance 2.0, Seedance 2.5, MiniMax H3 | |
| 🖼️ 参考方式 | COMBO | 2 options: 挂图计划(自行出图), 明确文生视频 | |
| 📚 系列规划 | COMBO | 2 options: 不需要(直接做本集), 需要(先规划再写本集) | |
| 📝 本阶段要求 | STRING | — | |
| 🎲 随机种 | INT | 00–18446744073709550000 | 固定种用于缓存与48小时内恢复同一LLM请求;修改种或内容才重新创作。 |
| 📝 最大输出令牌 | INT | 163841024–65536 | — |
| ⌛ 请求超时 | INT | 60030–1800 | — |
| 🎞️ 当前集号opt | INT | 11–9999 | — |
| 📚 计划集数opt | INT | 11–9999 | — |
| 🌐 提示词语言opt | COMBO | 2 options: 简体中文, 英文 | |
| ⏳ 单镜最短秒数opt | INT | 00–120 | 0表示未指定模型限制;以你使用的模型实际能力填写。 |
| ⌛ 单镜最长秒数opt | INT | 00–120 | — |
| 🧮 最大分析段数opt | INT | 161–128 | 抽样时为采样数;全文超过上限会在请求前停止。每段一次LLM,另加汇总;超长提取会逐级汇总,增加请求次数。 |
| 🔍 分析方式opt | COMBO | 全文分段分析 | 3 options: 当前材料分析, 抽样快评, 全文分段分析 |
| 🗂️ 原著分段依据opt | COMBO | 2 options: 自动识别章节(无标题按字符), 按字符分段 | |
| 📏 每段字符数opt | INT | 120002000–24000 | — |
| 🎛️ 准备任务opt | COMBO | 续集自动按前集集号+1;继承前集项目与视觉风格,使用这里的单集目标秒数。内容框填写新一集方向,无须再粘贴旧剧本。 | |
| 📦 上游资料opt | DAPAO_DRAMA_BUNDLE,STRING | 接受漫剧资料包或完整资料包JSON(续集用),JSON会自动解析,无需复制到导入框。 | |
| 📂 导入文档类型opt | COMBO | 9 options: 原著分析.md, 系列开发.md, 剧本.md, 视觉设定.md, 图片提示词.md, 分镜.md, +3 | |
| 📄 导入文档opt | STRING | — | |
| 📚 原著分析.md专项参考opt | COMBO | 7 options: 自动精选, 全部阶段参考(上下文较大), adaptation-triage.md, adaptation-value.md, aggregation-and-entities.md, chapter-extraction.md, +1 | |
| 📄 原著分析.md修订稿opt | STRING | — | |
| 📚 系列开发.md专项参考opt | COMBO | 27 options: 自动精选, 全部阶段参考(上下文较大), adaptation-craft.md, creative-reference-intake.md, director-brief-craft.md, episode-design.md, +21 | |
| 📄 系列开发.md修订稿opt | STRING | — | |
| 📚 剧本.md专项参考opt | COMBO | 10 options: 自动精选, 全部阶段参考(上下文较大), dialogue-craft.md, production-format-dialect.md, scene-handoff-capsule.md, scene-sound-dramaturgy.md, +4 | |
| 📄 剧本.md修订稿opt | STRING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| 📦 漫剧资料包 | DAPAO_DRAMA_BUNDLE | — |
| 📄 阶段文档 | STRING | — |
| ℹ️ 处理信息 | STRING | — |
| 💾 完整资料包JSON(续集用) | STRING | — |