Nodes/ComfyUI-Montagen/Audio Clip Adapter
ComfyUI Node

Audio Clip Adapter

Audio Clip Adapter

By MontagenAI·Created 2 years ago·Updated about a year ago· 31
Audio Clip Adapter
  • audio
  • AUDIO
nameUntitled Clip
tag

Montagen is ComfyUI's answer to "what if the node graph could edit video like an NLE." The ComfyUI-Montagen pack wraps a whole project system around a timeline: you declare a timeline, feed it media, scrub and tweak clips in an embedded editor, and render the result to a file. The three Clip Adapters - image, video, audio - are the bridge between your generation graph and that timeline. This one is the audio bridge, and it's the simplest of the three.

Feed it an AUDIO tensor and a name, and on execution it writes that audio into the Montagen project as an MP3 and registers it as a named clip on the timeline. It's an output node, so it runs even when nothing downstream wants the result - the side effect is the point. It still hands the audio back out through its AUDIO output, so you can keep the wire running to whatever comes next.

Why would you reach for it? You generated narration. The pack ships its own TTS nodes (an EdgeTTS node borrowed from ComfyUI-EdgeTTS, plus a Fish Audio node), and this is the natural sink for their AUDIO output - or for a loaded music track you want on the soundtrack. Without an adapter you'd be saving files and doing the assembly in a separate video editor; with Montagen the whole timeline lives inside ComfyUI.

The inputs that matter

This adapter is genuinely thin, which is refreshing. You set:

  • audio - the AUDIO tensor from any TTS or audio-loading node. The only thing it really needs.
  • name - the clip's ID on the timeline. Defaults to "Untitled Clip"; give it something unique so you can find it in the Clips panel later.
  • tag (optional) - a free-text label, if you're organizing clips by role (voiceover, music, sfx).

That's the whole list. No fps, no resolution, no alpha. The audio node's name plus the video node's preview_fps are the only parameters you'll ever touch across the whole adapter family.

Wiring it into the workflow

Following the README's recipe: open a Montagen project from the activity-bar icon, add a Create Timeline node and set resolution and FPS, add this adapter connected into that timeline setup, then an Execute Timeline node to render everything to a file in builds/. Run, and your clip shows up in the timeline Editor/Player where you can trim it, move it, and lay it against your video clips.

Install

The pack is one install, one restart:

cd ComfyUI/custom_nodes
git clone https://github.com/MontagenAI/ComfyUI-Montagen.git

Or search "ComfyUI-Montagen" in ComfyUI Manager and click Install - Manager pulls the Python dependencies (smbprotocol, ffmpeg-binaries, edge_tts, fish-audio-sdk). None of the three adapters download models; the heavy stuff is the pip deps, and only ffmpeg (for encoding) and torchaudio (for the MP3 conversion) actually matter for this node. Restart ComfyUI properly afterward, not just a page refresh - the Montagen Explorer lives in a frontend extension that needs a fresh load.

Common issues

  • "Nothing happened" when you run it standalone. The adapter only does something inside a Montagen project with a Create Timeline node. Run it bare and you'll get an error or, worse, silence. Set the project up first.
  • Old workflows say the node is unknown. The pack renamed its adapters after 0.2.x - "Audio Clip Adapter" became plain "Audio Adapter" (MontagenAudioAdapter) in the 0.3.x line. A saved workflow referencing the old class name will show up as a missing node; re-add it from the menu.
  • It's a small, actively-developed pack. Community footprint on Reddit is close to zero, so you're an early adopter and the docs are the README plus the CHANGELOG. Expect rough edges - and, as with any custom node, install it from the official repo, not a random fork, since Manager happily runs whatever code it clones.
CategoryMontagen

Inputs (3)

NameTypeDefaultDescription
audioAUDIOThe audio to preview.
nameSTRINGUntitled Clip
tagoptSTRINGThe tag.

Outputs (1)

NameTypeDescription
AUDIOAUDIO