🐠Muse视频(文生/单图)@炮老师的小课堂
30-second takes, one reference image, billed by the second
- 🖼️ 参考图1
- 🎬 视频
- 🆔 任务ID
- 📋 响应信息
- 🔗 视频URL
🐠Muse视频(文生/单图)@炮老师的小课堂 is the long-take option in the dapaoAPI pack. Where its sibling Gemini Omni node caps out at ten seconds, this one takes any whole number of seconds from 4 to 30 - twenty-seven entries in that dropdown - and charges you by the second you ask for. 720p, 16:9 or 9:16, and exactly one reference image. Nothing runs locally: your prompt and image go to https://api.dapaoai.com with your key, and a finished VIDEO comes back into the graph.
Which one to pick is a shape question, not a quality one. A ten-second shot steered by two or three images for loose change? Omni. A single continuous thirty-second take, or an odd eleven seconds because your edit needs eleven? Muse. The author's handover notes put Muse at roughly ¥0.30 per requested second against Omni's ¥0.08 - a 30-second clip near ¥9, an 8-second Omni clip north of ¥0.60. Your account group decides the real number, so treat those as scale, not a quote.
How it works
DapaoMuseVideoNode barely exists as code: it sets the model id muse-video, the duration menu (range(4, 31)), a reference-image cap of one, a default length of five seconds, and inherits everything else from miaobi_reference_video_node.py - the same execution module Omni uses. The model dropdown has a single entry, so the only real decisions are prompt, length and ratio.
The run is straightforward. If you wired 🖼️ 参考图1, it's scaled proportionally to a 2048px long edge and uploaded as an asset://file-… reference; then one JSON POST to /v1/videos with model, prompt, seconds, 720p, ratio and any assets, followed by polling. On completion you get a VIDEO adapter carrying the URL, dimensions, your key and the task id, and a save node re-downloads /v1/videos/<task_id>/content through the relay's signed redirect - so the file survives the original URL expiring. Submissions pass through a local persistent queue keyed on payload plus seed, which is what makes "re-queue the same thing" safe instead of a double charge.
One useful quirk, straight from the author's own billing check: the finished clip can run one or two seconds longer than you asked for, and you aren't charged the difference. Their 4-second test came back as a 5-second 1280×720 file billed at ¥1.20. Those test files also carried an AAC audio track, and there's no audio toggle here (the class removes the pack's 🔊 生成音频 input) - take what the model returns, and strip it downstream if you need a silent master.
The inputs that matter
- 🔑 API密钥 - relay key, used only for
api.dapaoai.comper the tooltip, never written to config. - 📝 提示词 - multiline, up to 32000 characters, empty is an error, and it's doing all the directorial work.
- ⏱️ 时长(秒) -
4–30, default5. This is the cost dial, and also the reason your queue sometimes sits there for ages. - 🖼️ 参考图1 - one image only, batches included. A 2-image batch here errors.
The rest is mostly left at defaults. 🎛️ 生成模式 defaults to 自动识别 (image attached → image-to-video); forcing 文生视频 with an image wired up, or 图生视频 with nothing attached, fails loudly. 🧩 分辨率 offers only 720P, 📐 视频比例 only 16:9 or 9:16. 🎲 随机种 is local-only - cache and job identity - and never reaches the model, so bumping it just buys another render. Optional: 🔁 最大轮询秒数 (1800), ⏱️ 轮询间隔 (10s), ⌛ 请求超时 (120s).
Outputs
🎬 视频 feeds core Save Video or the usual video-combine nodes. 🆔 任务ID is worth logging - it's your recovery handle - and 🔗 视频URL is the literal URL if you'd rather download it yourself. 📋 响应信息 is a Chinese summary with model, mode, requested seconds, task id and the billing caveat.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI
cd ComfyUI-dapaoAPI
pip install -r requirements.txt
Manager route: search dapaoAPI, install, restart. Dependencies are Python-only - requests, Pillow, torch, numpy, zhipuai, aiohttp, nest-asyncio, scipy - with no model files. Restart ComfyUI, don't just refresh the tab, or the module won't register. The key comes from the relay: register, buy a redemption code in the wallet, create an API key under the default group.
Where it breaks
Errors arrive in Chinese with a 阶段 field (validate, media_upload, video_submit, video_poll) and the task id - read that before touching anything, because it tells you whether a paid job exists. And the submit POST is never automatically retried: on a network failure mid-submit, check the relay's task list or your balance first, then re-queue the same workflow unchanged so the local queue claims the original job. Same logic if saving fails - retry the save, don't change the seed and regenerate, because that's a new clip and a new charge.
Long clips are where the defaults bite. A 30-second duration on a busy queue can outlast the default 1800-second poll ceiling, and the error looks like a failure even though the job is alive. Raise 🔁 最大轮询秒数 before you conclude the render died.
And since this pack, its author and its relay have zero threads in our corpus, there's no forum post waiting with your exact error. Debug from 📋 响应信息, which dumps the raw submit and final JSON. Keep the shape of the thing in view, too: a third-party wrapper that holds your key by design, sending prompts and reference images to a server you don't control, from a repo whose README also sells things. That's a fine trade if you've decided you want a closed video model in the graph - just don't treat pricing as a contract.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| 🔑 API密钥 | STRING | 密钥只用于请求 https://api.dapaoai.com,不会写入配置文件。 | |
| 🤖 模型 | COMBO | muse-video | 1 options: muse-video |
| 🎛️ 生成模式 | COMBO | 自动识别 | 3 options: 自动识别, 文生视频, 图生视频 |
| 📝 提示词 | STRING | 电影感镜头缓慢推进,主体动作自然,光影细腻,画面稳定且细节丰富 | — |
| 🧩 分辨率 | COMBO | 720P | 1 options: 720P |
| ⏱️ 时长(秒) | COMBO | 5 | 按请求秒数计费;实际成片可能多1–2秒,不补收费用。 |
| 📐 视频比例 | COMBO | 16:9 | 2 options: 16:9, 9:16 |
| 🎲 随机种 | INT | 00–18446744073709550000 | 仅控制 ComfyUI 缓存,不发送给接口。 |
| 🔁 最大轮询秒数opt | INT | 180060–7200 | — |
| ⏱️ 轮询间隔opt | INT | 105–30 | — |
| ⌛ 请求超时opt | INT | 12030–600 | — |
| 🖼️ 参考图1opt | IMAGE | 所有输入与图片批次合计最多1张;逐张等比缩小至最长边2048后上传。 |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| 🎬 视频 | VIDEO | — |
| 🆔 任务ID | STRING | — |
| 📋 响应信息 | STRING | — |
| 🔗 视频URL | STRING | — |