🌈RH全能图片(多并发)@炮老师的小课堂
The same RunningHub image API, but with a concurrency dial and a failure policy
- 🖼️ 图像1
- 🖼️ 图像2
- 🖼️ 图像3
- 🖼️ 图像4
- 🖼️ 图像5
- 🖼️ 图像6
- 🖼️ 图像7
- 🖼️ 图像8
- 🖼️ 图像9
- 🖼️ 图像10
- 🖼️ 图像批次
- 🔗 图片链接
- 📋 响应信息
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.git → pip 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.
Inputs (29)
| Name | Type | Default | Description |
|---|---|---|---|
| 🌐 API渠道 | COMBO | 国内版 | 国内版与国外版使用不同的 API 地址和 API 密钥,请选择与密钥一致的渠道。 |
| 🔑 API密钥 | STRING | RunningHub API Key,仅用于本次请求,不会写入文件。国内版和国外版密钥不通用。 | |
| 🤖 模型 | COMBO | 全能图片G-2 | 只保留 G-2、V2、PRO 三个模型,具体端点由渠道和模式共同决定。 |
| 🏷️ 渠道 | COMBO | 官方稳定版 | 官方稳定版质量更稳;低价渠道版通常费用更低。 |
| 🔀 模式 | COMBO | 文生图 | 文生图不需要参考图;图生图会把接入的参考图复用于每一个并发任务。 |
| 📝 提示词 | STRING | 一张高端商业摄影海报,干净的自然光,细节清晰,质感高级 | — |
| 🔢 任务数量 | INT | 11–100 | 只在手动输入单行提示词且没有连接上游时生效;多行提示词或上游连接输入会优先决定实际任务数量。 |
| 🚀 并发数 | INT | 41–20 | 同时运行的 RH 任务上限;不会增加总任务数量,多行提示词时不会超过有效行数。 |
| 🧪 失败策略 | COMBO | 跳过失败继续 | 跳过失败继续会只返回成功图;失败返回占位会用黑图保持任务顺序;任一失败中断会返回错误。 |
| 🛟 失败重试次数 | INT | 10–5 | 单个任务失败后的额外重试次数。 |
| 🌊 流式接收 | BOOLEAN | true | 开启后每个 RH 任务完成就立即接收图片并更新预览;最终输出仍按 ComfyUI 规则在节点结束后统一传递。 |
| 📐 画面比例 | COMBO | 模型默认 | 选择模型默认时自动使用当前端点默认比例。G-2 低价渠道的 empty 表示不指定比例。 |
| 🧩 分辨率 | COMBO | 模型默认 | 选择模型默认时自动使用当前端点默认分辨率。 |
| 🎨 画质 | COMBO | 模型默认 | 当前只在 G-2 官方稳定版端点中生效;其他端点会自动忽略。 |
| 🎲 随机种 | INT | 00–18446744073709550000 | 只用于 ComfyUI 判断是否重新执行;不会发送给 RunningHub。 |
| 🖼️ 图像1opt | IMAGE | 图生图参考图,会复用于每一个并发任务。 | |
| 🖼️ 图像2opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像3opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像4opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像5opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像6opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像7opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像8opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像9opt | IMAGE | 可选参考图。 | |
| 🖼️ 图像10opt | IMAGE | 可选参考图。 | |
| 📋 额外参数JSONopt | STRING | {} | JSON对象,会合并到每个 RH 请求体;同名字段会覆盖节点控件生成的参数。 |
| 🔁 最大轮询秒数opt | INT | 120060–3600 | — |
| ⏱️ 轮询间隔opt | INT | 52–30 | — |
| ⌛ 请求超时opt | INT | 6010–300 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| 🖼️ 图像批次 | IMAGE | — |
| 🔗 图片链接 | STRING | — |
| 📋 响应信息 | STRING | — |