ZML_通知
A notification node with a 'Ciallo~' built in
- 任意输入
- 任意输出
Long ComfyUI jobs are a test of patience, and this node exists to end the staring. ZML_AudioPlayerNode (ZML_通知) is a "you're done" alarm: run it after your last expensive node and it plays a sound, pops up a notification in the browser or the OS, or both - so you can go make tea instead of watching the progress bar. It even carries a placeholder value through, so it can sit inline in your graph without breaking the flow.
What it is
A notification-and-audio node from ComfyUI-ZML-Image, and it's exactly as whimsical as a one-person utility pack gets: the bundled sounds include several variants of "hiyohiyo" and a Ciallo~(∠・ω< )⌒☆ file. But ignore the memes - the node itself is genuinely practical for anyone running long samplers or batch jobs.
The inputs that matter:
- 音频文件 - a dropdown of the eight bundled sounds (mp3/wav). It scans the pack's
zml_w/audiofolder at load, so drop your own.mp3,.wav, or.oggin there and it appears in the list. That's how you get your own "job done" chime. - 播放音量 (FLOAT, 0–1) - volume.
- 启用弹窗 (BOOLEAN, default true) - whether to show the popup at all.
- 主标题 / 副标题 (STRING) - the popup text; default title is "任务完成" (task complete).
- 通知类型 - 页面通知 (an in-ComfyUI popup, styled) or 系统通知 (the OS notification). Pick the system one and it fires even if the browser tab is buried.
- 风格 (卡通/简约/自定义) and 弹窗位置 (four corners) - cosmetic control over the popup.
There's also an optional 任意输入 that passes through untouched to 任意输出, so you can hang the node off the end of a wire without adding a fork.
How it works
The sound and popup are driven by the pack's JavaScript frontend - the backend runs, then the browser plays the audio and renders the notification. Because it's browser-side, the popup only shows while ComfyUI is open in a browser (the OS-notification mode is your fallback for tab-away alerts). The pass-through input means it can sit at the tail of a sampler-to-preview chain and notify exactly when that branch finishes, rather than when the whole queue does.
Install and gotchas
Standard pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/zml-w/ComfyUI-ZML-Image
or ComfyUI Manager → ComfyUI-ZML-Image, restart.
Three honest notes. One: audio through the browser requires the page to be open and your browser to allow autoplay after user interaction - if you run ComfyUI headless or with the tab backgrounded and muted, the "system notification" mode is the one that actually reaches you. Two: the popup title defaults to Chinese; the English patch at github.com/zml-w/ZZZ_ZML_English_Patch translates the UI, but you still type your own title. Three: it's a browser-side effect, so it adds nothing to a run's results - wire it off a preview/save, not in a hot loop you run a thousand times per batch, or you'll get a thousand popups. One-person pack, no English community, GitHub issues for bugs - and honestly, the bundled sounds alone tell you the author's sense of humor is worth respecting.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| 音频文件 | COMBO | 8 options: 生气-hiyohiyo.wav, 轻声-二连hiyohiyo.wav, 开心-三连hiyohiyo.wav, 可爱-hiyohiyo.wav, 0721.wav, Ciallo~(∠・ω- )⌒☆.mp3, +2 | |
| 播放音量 | FLOAT | 1.000–1 | — |
| 启用弹窗 | BOOLEAN | true | — |
| 主标题 | STRING | 任务完成 | — |
| 副标题 | STRING | — | |
| 风格 | COMBO | 3 options: 卡通, 简约, 自定义 | |
| 弹窗位置 | COMBO | 右下 | 4 options: 左上, 右上, 左下, 右下 |
| 通知类型 | COMBO | 页面通知 | 2 options: 页面通知, 系统通知 |
| 任意输入opt | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| 任意输出 | * | — |