Nodes/ComfyUI-dapaoAPI/🐠Gemini Omni视频(多图参考)@炮老师的小课堂
ComfyUI Node

🐠Gemini Omni视频(多图参考)@炮老师的小课堂

Three reference images, 720p, meter running

By paolaoshi·Created about a year ago·Updated 15 days ago· 246
🐠Gemini Omni视频(多图参考)@炮老师的小课堂
  • 🖼️ 参考图1
  • 🖼️ 参考图2
  • 🖼️ 参考图3
  • 🎬 视频
  • 🆔 任务ID
  • 📋 响应信息
  • 🔗 视频URL
◄🔑 API密钥►
◄🤖 模型gemini-omni-1.2-flash►
◄🎛️ 生成模式自动识别►
◄📝 提示词电影感镜头缓慢推进,主体动作自然,光影细腻,画面稳定且细节丰富►
◄🧩 分辨率720P►
◄⏱️ 时长(秒)8►
◄📐 视频比例16:9►
◄🎲 随机种0►
◄🔁 最大轮询秒数1800►
◄⏱️ 轮询间隔10►
◄⌛ 请求超时120►

You found it in the Add Node menu as 🐠Gemini Omni视频(多图参考)@炮老师的小课堂, under 🤖dapaoAPI/🍬大炮AI主力维护🍬, and the first confusing thing is what's missing: there's no checkpoint, no VAE, no 20GB download. That's not an install problem. This node doesn't generate anything on your machine. It packages your prompt and up to three images, POSTs them to https://api.dapaoai.com (the author's 妙笔AI工坊 relay), polls a cloud job, and drops the finished clip back into your graph as a VIDEO. All you really need is a paid key.

That puts it in the API-wrapper category - the right tool for a model you genuinely cannot run, the wrong default for one you can. The pitch is narrow and honest: 720p, four possible lengths (4/6/8/10 seconds), 16:9 or 9:16, and reference images that steer content and style. They are not strict first/last frames. Want a locked start and end frame? Wrong node - the Seedance node in this same pack still has 首帧图 / 尾帧图.

How it works

DapaoGeminiOmniVideoNode is a thin subclass: it declares the model id gemini-omni-1.2-flash, the 4/6/8/10 duration menu and a three-image cap. The work happens in miaobi_reference_video_node.py, which Muse shares, and the model dropdown has one entry - you're buying whatever the relay serves under that id.

Per run: each image is scaled to a 2048px long edge, uploaded as an asset://file-… reference, then one JSON POST to /v1/videos with model, prompt, seconds, 720p, ratio and assets, followed by polling. The returned VIDEO adapter holds the URL, dimensions, your key and the task id; a save node re-downloads /v1/videos/<task_id>/content through the relay's signed redirect, so the file outlives the URL. Submissions go through a local persistent queue keyed on payload plus seed - which is why re-queuing the same request claims the original job instead of paying twice.

The inputs you actually set

  • 🔑 API密钥 - paste it. Per the tooltip it's used only for calls to api.dapaoai.com and is never written to a config file.
  • 📝 提示词 - multiline, up to 32000 characters, and an empty one is a hard error.
  • ⏱️ 时长(秒) - only 4, 6, 8, 10, default 8. You're billed per requested second, so this is your main cost dial.
  • 🖼️ 参考图1–3 - three total across all inputs and batches. Feed a 4-image batch into 参考图1 and it errors instead of silently picking three.

The rest usually stays alone. 🎛️ 生成模式 defaults to 自动识别 (image wired → image-to-video, none → text-to-video); forcing 文生视频 while an image is connected is an explicit error, as is 图生视频 with nothing attached. 🧩 分辨率 only offers 720P. 🎲 随机种 only controls ComfyUI's cache and the local job hash - it is never sent upstream as a model seed, so changing it does not change the video, it changes whether you pay for a new one. The optional tail is 🔁 最大轮询秒数 (1800), ⏱️ 轮询间隔 (10s) and ⌛ 请求超时 (120s).

Outputs

🎬 视频 is the one you wire up - into core Save Video, or Video Combine in Video Helper Suite. 🆔 任务ID is your recovery handle: keep it. 📋 响应信息 is a Chinese log with model, mode, requested seconds, task id and the author's price caveat. 🔗 视频URL is a string you can pipe into a text/download node if you'd rather fetch it yourself.

Installing it

ComfyUI Manager, search dapaoAPI, install, restart. Or by hand:

cd ComfyUI/custom_nodes
git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI
cd ComfyUI-dapaoAPI
pip install -r requirements.txt

requirements.txt pulls requests, Pillow, torch, numpy, zhipuai, aiohttp, nest-asyncio and scipy - Python packages only, no model weights to download. Restart ComfyUI rather than reloading the page; new Python modules don't load on a UI refresh. Then get the key from the relay: register, buy a redemption code in the wallet, create an API key under the default group, paste it in.

Where it breaks

Failures come back in Chinese with a 阶段 field - validate, media_upload, video_submit or video_poll - plus the task id. That single line tells you whether money moved: a validation error costs nothing, a video_poll timeout means the job exists and may already be billed.

The submit POST is never auto-retried, by design. If your network hiccups mid-submit, check the relay's task list or your bill first, then re-queue the identical workflow so the local queue claims the original job. The author verified recovery downloads by task id return byte-identical files with GETs only.

If saving to disk fails, retry the save - don't change the seed and re-run, unless you're happy buying a second clip. And the practical one: on longer jobs the default 1800-second poll ceiling can expire before a busy queue returns your video. Bump 🔁 最大轮询秒数 before assuming the render died.

One last thing before you commit: this pack and its relay have no community footprint - zero threads in our corpus - so there's no folklore to lean on and 📋 响应信息 (which dumps the raw submit and final JSON) is your debugging surface. And since it's a third-party wrapper holding your key by design, from a repo that doubles as a storefront, treat prices as vendor claims and assume your prompts and images leave your machine.

Category🤖dapaoAPI/🍬大炮AI主力维护🍬

Inputs (14)

NameTypeDefaultDescription
🔑 API密钥STRING密钥只用于请求 https://api.dapaoai.com,不会写入配置文件。
🤖 模型COMBOgemini-omni-1.2-flash1 options: gemini-omni-1.2-flash
🎛️ 生成模式COMBO自动识别3 options: 自动识别, 文生视频, 图生视频
📝 提示词STRING电影感镜头缓慢推进,主体动作自然,光影细腻,画面稳定且细节丰富—
🧩 分辨率COMBO720P1 options: 720P
⏱️ 时长(秒)COMBO8仅4/6/8/10秒,按请求时长计费;默认8秒。
📐 视频比例COMBO16:92 options: 16:9, 9:16
🎲 随机种INT00–18446744073709550000仅控制 ComfyUI 缓存,不发送给接口。
🔁 最大轮询秒数optINT180060–7200—
⏱️ 轮询间隔optINT105–30—
⌛ 请求超时optINT12030–600—
🖼️ 参考图1optIMAGE所有输入与图片批次合计最多3张;逐张等比缩小至最长边2048后上传。
🖼️ 参考图2optIMAGE所有输入与图片批次合计最多3张;逐张等比缩小至最长边2048后上传。
🖼️ 参考图3optIMAGE所有输入与图片批次合计最多3张;逐张等比缩小至最长边2048后上传。

Outputs (4)

NameTypeDescription
🎬 视频VIDEO—
🆔 任务IDSTRING—
📋 响应信息STRING—
🔗 视频URLSTRING—