Nodes/ComfyUI-dapaoAPI/🐠01漫剧剧本准备@炮老师的小课堂
ComfyUI Node

🐠01漫剧剧本准备@炮老师的小课堂

Paste your idea, script or novel — the whole front of the drama pipeline runs itself

By paolaoshi·Created 10 months ago·Updated a day ago· 226
🐠01漫剧剧本准备@炮老师的小课堂
  • 📦 上游资料
  • 📦 漫剧资料包
  • 📄 阶段文档
  • ℹ️ 处理信息
  • 💾 完整资料包JSON(续集用)
🔑 API密钥
🤖 LLM模型gemini-3.7-flash
📥 内容来源
📄 剧本或故事内容
📛 项目名称我的漫剧
⏱️ 单集目标秒数60
🎨 制作形态
🖌️ 视觉风格遵循创作要求
📐 画幅比例
🎬 视频提示词方言
🖼️ 参考方式
📚 系列规划
📝 本阶段要求
🎲 随机种0
📝 最大输出令牌16384
⌛ 请求超时600
🎞️ 当前集号1
📚 计划集数1
🌐 提示词语言
⏳ 单镜最短秒数0
⌛ 单镜最长秒数0
🧮 最大分析段数16
🔍 分析方式全文分段分析
🗂️ 原著分段依据
📏 每段字符数12000
🎛️ 准备任务
📂 导入文档类型
📄 导入文档
📚 原著分析.md专项参考
📄 原著分析.md修订稿
📚 系列开发.md专项参考
📄 系列开发.md修订稿
📚 剧本.md专项参考
📄 剧本.md修订稿

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.

Category🤖dapaoAPI/🐠漫剧一站式专用🐠

Inputs (35)

NameTypeDefaultDescription
🔑 API密钥STRING留空可读取DAPAO_API_KEY环境变量;普通工作流可能保存明文输入,分享前请移除。
🤖 LLM模型COMBOgemini-3.7-flash18 options: gpt-5.5, gpt-5.6-luna, gpt-5.6-terra, gpt-5.6-sol, gpt-6-astra, claude-fable-5, +12
📥 内容来源COMBO3 options: 已有剧本, 原创想法, 小说改编
📄 剧本或故事内容STRING已有剧本/小说请粘贴正文;原创填写故事想法。当前按一集处理,不会自动生成全部集数。
📛 项目名称STRING我的漫剧
⏱️ 单集目标秒数INT605–3600
🎨 制作形态COMBO6 options: 二维动态漫剧, 三维动画, 静态漫剧, 水墨国漫, Q版动画, 真人短剧
🖌️ 视觉风格STRING遵循创作要求
📐 画幅比例COMBO4 options: 9:16, 16:9, 1:1, 4:3
🎬 视频提示词方言COMBO4 options: 通用, Seedance 2.0, Seedance 2.5, MiniMax H3
🖼️ 参考方式COMBO2 options: 挂图计划(自行出图), 明确文生视频
📚 系列规划COMBO2 options: 不需要(直接做本集), 需要(先规划再写本集)
📝 本阶段要求STRING
🎲 随机种INT00–18446744073709550000固定种用于缓存与48小时内恢复同一LLM请求;修改种或内容才重新创作。
📝 最大输出令牌INT163841024–65536
⌛ 请求超时INT60030–1800
🎞️ 当前集号optINT11–9999
📚 计划集数optINT11–9999
🌐 提示词语言optCOMBO2 options: 简体中文, 英文
⏳ 单镜最短秒数optINT00–1200表示未指定模型限制;以你使用的模型实际能力填写。
⌛ 单镜最长秒数optINT00–120
🧮 最大分析段数optINT161–128抽样时为采样数;全文超过上限会在请求前停止。每段一次LLM,另加汇总;超长提取会逐级汇总,增加请求次数。
🔍 分析方式optCOMBO全文分段分析3 options: 当前材料分析, 抽样快评, 全文分段分析
🗂️ 原著分段依据optCOMBO2 options: 自动识别章节(无标题按字符), 按字符分段
📏 每段字符数optINT120002000–24000
🎛️ 准备任务optCOMBO续集自动按前集集号+1;继承前集项目与视觉风格,使用这里的单集目标秒数。内容框填写新一集方向,无须再粘贴旧剧本。
📦 上游资料optDAPAO_DRAMA_BUNDLE,STRING接受漫剧资料包或完整资料包JSON(续集用),JSON会自动解析,无需复制到导入框。
📂 导入文档类型optCOMBO9 options: 原著分析.md, 系列开发.md, 剧本.md, 视觉设定.md, 图片提示词.md, 分镜.md, +3
📄 导入文档optSTRING
📚 原著分析.md专项参考optCOMBO7 options: 自动精选, 全部阶段参考(上下文较大), adaptation-triage.md, adaptation-value.md, aggregation-and-entities.md, chapter-extraction.md, +1
📄 原著分析.md修订稿optSTRING
📚 系列开发.md专项参考optCOMBO27 options: 自动精选, 全部阶段参考(上下文较大), adaptation-craft.md, creative-reference-intake.md, director-brief-craft.md, episode-design.md, +21
📄 系列开发.md修订稿optSTRING
📚 剧本.md专项参考optCOMBO10 options: 自动精选, 全部阶段参考(上下文较大), dialogue-craft.md, production-format-dialect.md, scene-handoff-capsule.md, scene-sound-dramaturgy.md, +4
📄 剧本.md修订稿optSTRING

Outputs (4)

NameTypeDescription
📦 漫剧资料包DAPAO_DRAMA_BUNDLE
📄 阶段文档STRING
ℹ️ 处理信息STRING
💾 完整资料包JSON(续集用)STRING