ComfyUI  >  Nodes  >  MTB Nodes

ComfyUI Extension: MTB Nodes

Repo Name


melMass (Account age: 3754 days)
View all nodes (79)
Latest Updated
Github Stars

How to Install MTB Nodes

Install this extension via the ComfyUI Manager by searching for  MTB Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MTB Nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MTB Nodes Description

MTB Nodes offers a variety of functionalities including Face Swap, Film Interpolation, Latent Lerp, and ImageBlur. It also supports operations like Bounding Box, Crop, Uncrop, Denoise, Color Correct, and more, enhancing image processing capabilities.

MTB Nodes Introduction

Welcome to the comfy_mtb extension! This extension is designed to enhance your experience with AI art creation by providing a variety of powerful nodes and tools. These nodes can help you with tasks such as animation, image processing, color manipulation, and more. Whether you're looking to create seamless textures, perform face detection and swapping, or generate complex animations, comfy_mtb has got you covered.

How MTB Nodes Works

The comfy_mtb extension works by adding a set of specialized nodes to your AI art workflow. These nodes are like building blocks that you can connect together to perform complex tasks. Each node has specific inputs and outputs, allowing you to chain them together in various ways to achieve your desired results. For example, you can use nodes to blend images, apply filters, generate animations, and much more. The extension leverages existing libraries and community contributions to provide a robust set of tools for AI artists.

MTB Nodes Features


  • Animation Builder: Manage basic animation math for workflows. Example: lerping two conditions (blue car -> yellow car).
  • Batch Float: Generate a batch of float values with interpolation.
  • Batch Shape: Generate a batch of 2D shapes with optional shading.
  • Batch Transform: Transform a batch of images using a batch of keyframes.
  • Export With Ffmpeg: Export animations using FFmpeg.
  • Fit Number: Fit input float using a source and target range with control over the interpolation curve.

bbox (Bounding Box)

  • Bounding Box: Construct a bounding box.
  • BBox From Mask: Extract a bounding box from a mask.
  • Crop: Crop an image using a bounding box.
  • Uncrop: Uncrop an image using a bounding box.


  • Colored Image: Create a constant color image of a given size.
  • RGB to HSV: Convert RGB colors to HSV.
  • HSV to RGB: Convert HSV colors to RGB.
  • Color Correct: Apply basic color correction to images.

Image Operations

  • Blur: Apply a Gaussian blur to an image.
  • Deglaze Image: Remove glaze from an image.
  • Denoise: Denoise an image.
  • Image Compare: Compare two images and return a difference image.
  • Image Premultiply: Premultiply an image with a mask.
  • Image Remove Background Rembg: Remove the background from an image using RemBG.
  • Image Resize Factor: Resize an image by a factor.
  • Mask To Image: Convert a mask to an RGB image.
  • Save Image Grid: Save a batch of images as a grid.

Latent Utilities

  • Latent Lerp: Perform linear interpolation between two latent images.


  • Model Patch Seamless: Create seamless textures using the seamless diffusion hack.
  • DeepBump: Generate normal and height maps from single images.
  • Image Tile Offset: Offset tiles of an image to check for seamless textures.

Miscellaneous Utilities

  • Any To String: Convert any input to a string.
  • Concat Images: Merge two image streams into a batch.
  • Image Resize Factor: Deprecated, use built-in image resize.
  • Text To Image: Convert text to an image using a font.
  • Styles Loader: Load styles from a CSV file.
  • Smart Step: Control the steps of the KSampler using percentages.
  • Qr Code: Generate a QR code.
  • Save Tensors: Debug node for saving tensors.
  • Int to Number: Convert an integer to a number.
  • Load Image From Url: Load an image from a URL.

Optional Nodes

  • Face Detection / Swapping: Perform face detection and swapping using deepinsight/insightface models.
  • Image Interpolation (Animation): Interpolate between images using FILM models.

MTB Nodes Models

The extension includes various models for different tasks:

  • DeepBump: For generating normal and height maps.
  • FILM: For frame interpolation in animations.
  • RemBG: For background removal in images. Each model is designed for specific use cases, such as creating seamless textures, interpolating frames for animations, or removing backgrounds from images.

Troubleshooting MTB Nodes

Common Issues and Solutions

  1. Installation Problems:
  • Ensure all dependencies are installed correctly. Run the provided installation scripts.
  • Check for any missing models and download them from the provided links.
  1. Node Errors:
  • If a node is not working as expected, try removing it and adding it back to your workflow.
  • Ensure all required inputs are connected properly.
  1. Performance Issues:
  • For large images or complex animations, ensure your system has enough memory and processing power.
  • Use lower resolution images for testing before applying effects to high-resolution images.

Frequently Asked Questions

  • How do I install additional models?
  • Download the models from the provided links and place them in the appropriate directories.
  • Can I use this extension with other AI tools?
  • Yes, comfy_mtb is designed to be compatible with various AI tools and workflows.

Learn More about MTB Nodes

For more information, tutorials, and community support, check out the following resources:

  • These resources provide detailed guides, examples, and a platform to ask questions and share your work with other AI artists.

MTB Nodes Related Nodes


© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.