Nodes/ComfyUI-dapaoAPI/🌈RH全能图片(多并发)@炮老师的小课堂
ComfyUI Node

🌈RH全能图片(多并发)@炮老师的小课堂

The same RunningHub image API, but with a concurrency dial and a failure policy

By paolaoshi·Created 10 months ago·Updated a day ago· 217
🌈RH全能图片(多并发)@炮老师的小课堂
  • 🖼️ 图像1
  • 🖼️ 图像2
  • 🖼️ 图像3
  • 🖼️ 图像4
  • 🖼️ 图像5
  • 🖼️ 图像6
  • 🖼️ 图像7
  • 🖼️ 图像8
  • 🖼️ 图像9
  • 🖼️ 图像10
  • 🖼️ 图像批次
  • 🔗 图片链接
  • 📋 响应信息
🌐 API渠道国内版
🔑 API密钥
🤖 模型全能图片G-2
🏷️ 渠道官方稳定版
🔀 模式文生图
📝 提示词一张高端商业摄影海报,干净的自然光,细节清晰,质感高级
🔢 任务数量1
🚀 并发数4
🧪 失败策略跳过失败继续
🛟 失败重试次数1
🌊 流式接收true
📐 画面比例模型默认
🧩 分辨率模型默认
🎨 画质模型默认
🎲 随机种0
📋 额外参数JSON{}
🔁 最大轮询秒数1200
⏱️ 轮询间隔5
⌛ 请求超时60

DapaoRHAllImageConcurrentNode is the batch-shipment version of DapaoRHAllImageNode in the RunningHub section of this pack. Same RunningHub API, same model family - but instead of "one prompt, one image," it takes 任务数量 (task count) and 🚀 并发数 (concurrency), fires a configurable number of parallel jobs, and keeps going when individual ones fail. If you're generating a hundred product shots for an e-commerce listing, this is the node you want; the single-node version is for when you need one image and you need it now.

What's different from the single node

The batch plumbing is all in the required inputs:

  • 🔢 任务数量 - how many images total. Default 1, which makes this node behave like its single sibling.
  • 🚀 并发数 - parallel jobs at once, default 4. This is your speed/cost/loudness knob: crank it and a 12-image batch finishes in a few waves; crank it too high and RunningHub may rate-limit you.
  • 🧪 失败策略 - three options: skip-and-continue (default), and the others for stricter handling. This is the setting that makes unattended batch runs possible.
  • 🛟 失败重试次数 - per-task retries, default 1. Note: unlike the dapaoAI-side nodes, this retry is on the submission/queue side, which is exactly where retries are safe.
  • 🌊 流式接收 - stream results as they land, default true, so the first finished images show up before the batch finishes.
  • 🏷️ 渠道 - note the default differs from the single node: this one defaults to 官方稳定版 (official-stable), where the single node defaults to 低价渠道版. The batch node's author-bias is "when you're paying for scale, pay for stability."

Everything else matches the single node: 🌐 API渠道 (国内版/国外版 - keys don't cross), 🔑 API密钥, 🤖 模型 (G-2 default / V2 / PRO), 🔀 模式 (文生图/图生图), 📝 提示词, ratio/resolution/quality, cache-only seed, up to 10 reference images, 📋 额外参数JSON, and the polling trio.

Outputs

  • 🖼️ 图像批次 - a batched IMAGE (is_list false, so it arrives as one tensor batch - join it directly to a save node).
  • 🔗 图片链接 - the URLs, as a string.
  • 📋 响应信息 - per-task status/diagnostics.

The honest read

This node is the reason the RH section of the pack exists: RunningHub's whole pitch is cheap GPU-backed inference, and cheap + batch is where the savings compound. The concurrency and failure-policy fields are exactly what a real batch job needs, and the defaults (4 concurrent, skip failures, retry once) are sane for a first run.

Two realities to keep in view:

  • Concurrency is money in motion. 任务数量 100 at 并发数 10 is 100 billed jobs; a runaway loop on a list input can burn a balance fast. The stream output helps you notice early.
  • The cheap channel tempts, the stable channel delivers. The README's own framing is that the low-price channel trades quality consistency for cost. For anything you'll actually ship, run the stable channel - the price delta is usually worth not regenerating a quarter of a batch.

Gotchas

  • 国内版/国外版 key mismatch - the eternal RH trap; keys don't transfer.
  • Failure-policy "skip" can hide problems. If you get back 30 images from a 40-task run with no obvious error, check 响应信息 before re-running the whole batch.
  • 图生图 still needs a reference image wired in - mode doesn't auto-switch.
  • Chinese-only labels.

Install: ComfyUI Manager → "dapaoAPI", or git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI.gitpip install -r requirements.txt → restart. Needs a RunningHub account + API key; the README's invite code (kol01-rh138) gives the author a bounty, which is how a free pack like this stays alive.

Category🤖dapaoAPI/🦄RH功能专区🦄

Inputs (29)

NameTypeDefaultDescription
🌐 API渠道COMBO国内版国内版与国外版使用不同的 API 地址和 API 密钥,请选择与密钥一致的渠道。
🔑 API密钥STRINGRunningHub API Key,仅用于本次请求,不会写入文件。国内版和国外版密钥不通用。
🤖 模型COMBO全能图片G-2只保留 G-2、V2、PRO 三个模型,具体端点由渠道和模式共同决定。
🏷️ 渠道COMBO官方稳定版官方稳定版质量更稳;低价渠道版通常费用更低。
🔀 模式COMBO文生图文生图不需要参考图;图生图会把接入的参考图复用于每一个并发任务。
📝 提示词STRING一张高端商业摄影海报,干净的自然光,细节清晰,质感高级
🔢 任务数量INT11–100只在手动输入单行提示词且没有连接上游时生效;多行提示词或上游连接输入会优先决定实际任务数量。
🚀 并发数INT41–20同时运行的 RH 任务上限;不会增加总任务数量,多行提示词时不会超过有效行数。
🧪 失败策略COMBO跳过失败继续跳过失败继续会只返回成功图;失败返回占位会用黑图保持任务顺序;任一失败中断会返回错误。
🛟 失败重试次数INT10–5单个任务失败后的额外重试次数。
🌊 流式接收BOOLEANtrue开启后每个 RH 任务完成就立即接收图片并更新预览;最终输出仍按 ComfyUI 规则在节点结束后统一传递。
📐 画面比例COMBO模型默认选择模型默认时自动使用当前端点默认比例。G-2 低价渠道的 empty 表示不指定比例。
🧩 分辨率COMBO模型默认选择模型默认时自动使用当前端点默认分辨率。
🎨 画质COMBO模型默认当前只在 G-2 官方稳定版端点中生效;其他端点会自动忽略。
🎲 随机种INT00–18446744073709550000只用于 ComfyUI 判断是否重新执行;不会发送给 RunningHub。
🖼️ 图像1optIMAGE图生图参考图,会复用于每一个并发任务。
🖼️ 图像2optIMAGE可选参考图。
🖼️ 图像3optIMAGE可选参考图。
🖼️ 图像4optIMAGE可选参考图。
🖼️ 图像5optIMAGE可选参考图。
🖼️ 图像6optIMAGE可选参考图。
🖼️ 图像7optIMAGE可选参考图。
🖼️ 图像8optIMAGE可选参考图。
🖼️ 图像9optIMAGE可选参考图。
🖼️ 图像10optIMAGE可选参考图。
📋 额外参数JSONoptSTRING{}JSON对象,会合并到每个 RH 请求体;同名字段会覆盖节点控件生成的参数。
🔁 最大轮询秒数optINT120060–3600
⏱️ 轮询间隔optINT52–30
⌛ 请求超时optINT6010–300

Outputs (3)

NameTypeDescription
🖼️ 图像批次IMAGE
🔗 图片链接STRING
📋 响应信息STRING