Extensions/MTB Nodes
ComfyUI Extension Runs on cloud

MTB Nodes

NODES: Face Swap, Film Interpolation, Latent Lerp, Int To Number, Bounding Box, Crop, Uncrop, ImageBlur, Denoise, ImageCompare, RGV to HSV, HSV to RGB, Color Correct, Modulo, Deglaze Image, Smart Step, ...

By melMass·Created 3 years ago·Updated about a month ago· 725
melMass/comfy_mtb
Nodes111
On cloudRunnable
Categorymtb/IO, mtb/animation
Stars725
Updatedabout a month ago

Nodes (111)

Add To Playlist (mtb)

Building a running video playlist across queue runs

mtb/IO
Animation Builder (mtb)

Queue-driven frame counter for iterative animation

mtb/animation
Any To String (mtb)

Convert any value to text in ComfyUI

mtb/converters
Apply Text Template (mtb)

Build prompts from a template with variables in ComfyUI

mtb/utils
Apply Vit Matte (mtb)

Refine a rough mask into a real hair-level cutout

mtb/utils
Audio Cut (mtb)

Trim an audio clip by milliseconds in ComfyUI

mtb/audio
Audio Duration (mtb)

Read the length of a clip, in milliseconds

mtb/audio
Audio Isolate Speaker (mtb)

Mute or isolate one voice from a multi-speaker recording

mtb/audio
Audio Resample (mtb)

Change an audio clip's sample rate in ComfyUI

mtb/audio
Audio Sequence (mtb)

Join audio clips end-to-end with gaps or overlaps

mtb/audio
Audio Stack (mtb)

Layer audio clips on top of each other

mtb/audio
Audio To Text (mtb)

Transcribe speech with Whisper in ComfyUI

mtb/audio
Auto Pan Equilateral (mtb)

Fly a virtual camera through a 360 panorama

mtb/utils
Batch2d Transform (mtb)

Keyframed pan, zoom and rotate on an image batch

mtb/batch
Batch Float Assemble (mtb)

Stitch multiple float curves into one timeline

mtb/batch
Batch Float Fill (mtb)

Pad an animation curve with hold frames

mtb/batch
Batch Float Fit (mtb)

Remap and ease a float curve into the range you need

mtb/batch
Batch Float Math (mtb)

Add, multiply and combine animation curves

mtb/utils
Batch Float (mtb)

Generate an eased animation curve as a list of numbers

mtb/batch
Batch Float Normalize (mtb)

Rescale any float list to 0–1

mtb/batch
Batch From Folder (mtb)

Load a batch of images from a folder in ComfyUI

mtb/batch
Batch Make (mtb)

Turn one image into a batch of N identical frames

mtb/batch
Batch Merge (mtb)

Combine image batches with different frame counts in ComfyUI

mtb/batch
Batch Sequence (mtb)

Join image batches end to end into one longer batch

mtb/batch
Batch Sequence Plus (mtb)

Join video batches with real crossfades and wipes

mtb/batch
Batch Shake (mtb)

Fake handheld camera shake across a frame batch

mtb/batch
Batch Shape (mtb)

Procedurally generate a batch of simple 2D shapes

mtb/batch
Batch Time Wrap (mtb)

Speed-ramp a rendered frame batch along a curve

mtb/batch
BBox Force Dimensions (mtb)

Pin a detected crop box to a fixed size

mtb/crop
Bbox From Mask (mtb)

Get the tight crop box around a mask

mtb/crop
Bbox (mtb)

Build a crop box by hand from x/y/width/height

mtb/crop
Blur (mtb)

Stronger Gaussian blur with independent X/Y control in ComfyUI

mtb/image processing
Boolean Not (mtb)

The simplest node in the pack, and still genuinely useful

mtb/utils
Color Correct GPU (mtb)

Fast Torch-based color grading in ComfyUI

mtb/image processing
Color Correct (mtb)

Grade your render without leaving ComfyUI

mtb/image processing
Colored Image (mtb)

Generate a solid-color image (and composite over it) in ComfyUI

mtb/generate
Color Input (mtb)

One color picker, wired everywhere it's needed

mtb/color
Concat Images (mtb)

Merge image batches, with size mismatches handled

mtb/image
Coordinates To String (mtb)

Pull one frame's tracked point out as text

mtb/coordinates
Crop (mtb)

Crop an image and mask together, by coordinates or a wired BBOX

mtb/crop
Curve (mtb)

A hand-drawn animation curve — and the pack's own WIP warning

mtb/curve
Curve To Float (mtb)

Sample a hand-drawn curve into usable numbers

mtb/curve
Debug (mtb)

Plug anything in, see what's actually flowing through your graph

mtb/debug
Deep Bump (mtb)

Fake normal maps from a flat image

mtb/textures
End Clock (mtb)

Stop a timer and see how long that part of your graph took

mtb/utils
Export With Ffmpeg (mtb)

Even its own author points you at VideoHelperSuite

mtb/IO
Extract Coordinates From Image (mtb)

Turn bright spots into points

mtb/coordinates
Face Swap (mtb)

The old-school roop-style swap, and what it shares with everything else

mtb/facetools
Filter Z (mtb)

Cutting an image by distance instead of by color

mtb/filters
Fit Number (mtb)

Remap a value between two ranges, with an easing curve if you want one

mtb/math
Floats To Float (mtb)

A socket-type hack for a typo the ecosystem never fixed

mtb/utils
Floats To Ints (mtb)

Converting a float list for frame-interpolation nodes

mtb/utils
Float To Floats (mtb)

The other half of mtb's float-typing workaround

mtb/utils
Float To Number (mtb)

A bridge into WAS Node Suite's NUMBER type

mtb/number
Generate Trimap (mtb)

The grey-band map that matting models actually need

mtb/vitmatte
Get Batch From History (mtb)

Feeding a queue's own output back into itself

mtb/animation
Get Item (mtb)

Pull one element out of a list by index

mtb/utils
Image Batch To Sublist (mtb)

Chop a big batch down before it eats your VRAM

batch_processing
Image Compare (mtb)

A difference view for two images

mtb/image
Image H264 Compression (mtb)

Add controllable H.264 artifacts to images for LTX video

image
Image Premultiply (mtb)

Glue a mask onto an image as its alpha channel

mtb/image
Image Remove Background Rembg (mtb)

The classic one-click cutout

mtb/image
Image Resize Factor (mtb)

Resize by multiplier instead of typing exact pixels

mtb/image
Image Tile Offset (mtb)

The Photoshop offset trick for checking seamless textures

mtb/generate
Interpolate Clip Sequential (mtb)

Blending toward a swapped-in word or phrase

mtb/conditioning
Interpolate Condition (mtb)

Blend between two conditionings in ComfyUI

mtb/conditioning
Int To Bool (mtb)

The tiny node that gates mtb's feedback-loop trick

mtb/number
Int To Number (mtb)

The glue node between Comfy INTs and WAS Suite

mtb/number
Latent Lerp (mtb)

Blending two latents in a straight line

mtb/latent
Load Face Analysis Model (mtb)

Load InsightFace for the face tools

mtb/facetools
Load Face Enhance Model (mtb)

Load GFPGAN to restore faces

mtb/facetools
Load Face Swap Model (mtb)

Load inswapper for MTB's face swap

mtb/facetools
Load Image From Url (mtb)

Pull an image straight from a URL into ComfyUI

mtb/IO
Load Image Sequence (mtb)

Reading a numbered folder of frames into ComfyUI

mtb/IO
Load Vit Matte Model (mtb)

Load a matting model for real soft edges

mtb/vitmatte
Load Whisper (mtb)

Load a speech-to-text model for ComfyUI

mtb/audio
Mask To Image (mtb)

Turn a mask into a colored, visible image

mtb/generate
Match Dimensions (mtb)

Resize one image to fit another, aspect ratio intact

mtb/utils
Math Expression (mtb)

Evaluate a small arithmetic string in-graph

mtb/math
Model Patch Seamless (mtb)

Generate tileable, seamless images at inference

mtb/textures
Model Pruner (mtb)

Shrink a checkpoint on disk (experimental, but useful)

mtb/prune
Pick From Batch (mtb)

Grab the first or last N images from a batch

mtb/image utils
Plot Batch Float (mtb)

A matplotlib chart of your float values, right in the graph

mtb/batch
Postshot Export (mtb)

A CLI bridge to Jawset's Gaussian-splat tool, Windows only

mtb/postshot
Postshot Train (mtb)

Train Gaussian Splat / NeRF radiance fields from ComfyUI

mtb/postshot
Process Whisper Diarization (mtb)

Label who said what in a transcript

mtb/audio
Process Whisper Output (mtb)

Turning a raw transcription into usable timestamped chunks

mtb/audio
Qr Code (mtb)

The plain code that feeds those AI-art QR codes

mtb/generate
Read Playlist (mtb)

Step through a numbered image sequence by index

mtb/IO
Restore Face (mtb)

GFPGAN face restoration for ComfyUI outputs

mtb/facetools
Save Gif (mtb)

Turn an image batch into an animated GIF in ComfyUI

mtb/IO
Save Image Grid (mtb)

Tile a whole batch into one contact sheet

mtb/IO
Save Image (mtb)

The SaveImage node that actually runs inside a loop

mtb/image utils
Save Image Sequence (mtb)

Write numbered frames to a folder

mtb/IO
Save Tensors (mtb)

Dump raw image/mask/latent tensors to disk for debugging

mtb/debug
Sharpen (mtb)

Unsharp-mask sharpening for ComfyUI images

mtb/image processing
Smart Step (mtb)

Stop doing step-count math for KSampler Advanced

mtb/conditioning
Split Bbox (mtb)

Unpack a bounding box into x, y, width, height

mtb/crop
Stack Images (mtb)

Tile images side-by-side or top-to-bottom in ComfyUI

mtb/image utils
Start Clock (mtb)

Time part of your workflow without leaving ComfyUI

mtb/utils
String Replace (mtb)

Find-and-replace for prompt and text strings in ComfyUI

mtb/string
Styles Loader (mtb)

Bring your A1111 styles.csv into ComfyUI

mtb/conditioning
Sublist To Image Batch (mtb)

Turn a nested list back into a real image batch

batch_processing
Tensor Ops (mtb)

The elementwise math node for fixing a tensor that looks wrong

mtb/tensor_ops
Text To Image (mtb)

Render literal text onto an image, no diffusion involved

mtb/generate
To Device (mtb)

Force an image or mask tensor onto CPU or GPU

mtb/utils
Transform Image (mtb)

Pan, zoom, rotate and shear in the graph

mtb/transform
Uncrop (mtb)

Paste a processed crop back into the full image in ComfyUI

mtb/crop
Unsplash Image (mtb)

Pull a random stock photo into your graph by keyword

mtb/generate
Upscale Bbox By (mtb)

Grow a bounding box's margin before a detail pass

mtb/crop
Vae Decode (mtb)

The normal VAE decode, plus seamless textures and tiling

mtb/decode
Readme

MTB Nodes

[!NOTE] master/main is outdated for now to keep backward compatibility, the next version is being worked on in dev/0.6.0

embedded test

home

<!-- omit in toc -->

<a href="https://www.buymeacoffee.com/melmass" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 32px !important;width: 140px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

Wiki | Install Guide | Examples