Nodes/CometAPI/Comet 音频卡片
ComfyUI Node

Comet 音频卡片

A terminal display card for your generated audio

By nkxx188·Created 3 months ago·Updated 3 months ago· 15
Comet 音频卡片
  • audio
    filename_prefixCometAPIAudioCard
    asset_ref

    The audio card is the end of the line for a Comet 音乐 run: wire your generated audio into it, it saves the clip as a managed asset and displays it in the pack's UI so you can actually hear what came back. It's a terminal card - it has no outputs at all. You put it at the end of a music workflow the way you'd drop a preview node at the end of an image one.

    The name and behavior both say "display and save," not "process." There's no audio editing, no waveform manipulation, no re-encoding knobs. It holds the result, keeps a copy, and shows it to you.

    How it works

    Two ways in, same as the other cards:

    • Wire an audio asset in and the node saves it to your output folder (ComfyUI/output/cometapi_assets) under filename_prefix (default CometAPIAudioCard), then displays it.
    • Provide an asset_ref string naming a previously saved audio asset and it displays that saved clip instead.

    Unlike the image and video cards, there's no output socket - RETURN_TYPES is empty, so this node is purely a sink. Whatever audio you route here is saved and shown; nothing flows onward. If you need the audio to continue downstream, keep it wired into another node before (or instead of) this one.

    The filename_prefix is the only required input and it's the usual save path + name prefix. For a pack that can generate dozens of song clips, giving each project its own prefix is how you stay sane in the output folder.

    Where it fits

    The canonical setup is: Comet 音乐 → Comet 音频卡片. The music node hands back audio and a summary; the card saves and displays the clip so you can review it without hunting through your filesystem. It's also the natural terminal for any future audio-producing node in the pack - anything that emits the pack's AUDIO type can terminate here.

    Install and gotchas

    Comes with the ComfyUI-CometAPI pack: ComfyUI Manager (search "ComfyUI-CometAPI") or git clone https://github.com/jieg9341-lab/ComfyUI-CometAPI into custom_nodes, restart. No extra dependencies, and the save/display itself needs no API key - though the audio that flows in was produced by a billed generation upstream.

    • No output, by design. If you wired a node after this and it's not getting a signal, that's correct behavior, not a bug. Put the card at the end.
    • A live audio wire means a fresh save each run. For reuse via asset_ref, disconnect the generator - otherwise every queue run saves another copy (and if a generation node is upstream, another billed call).
    • Audio assets live in your output folder. They're usually small relative to video, but a song-library's worth of clips adds up. Back up cometapi_assets if they matter.
    • The pack's license reminder applies at the wall here: you can save and reuse the clip locally, but releasing generated music still depends on the provider's terms and the pack's non-commercial license for commercial use.
    CategoryCOMET

    Inputs (3)

    NameTypeDefaultDescription
    filename_prefixSTRINGCometAPIAudioCard
    audiooptAUDIO
    asset_refoptSTRING

    Outputs (0)

    No outputs