crystantine's picture
Upload 67 files
821e6d6
|
raw
history blame
No virus
6.1 kB

MTB Nodes

embedded test

Translated Readme (using DeepTranslate, PRs are welcome):
image 日本語による説明
image 中文说明

Buy Me A Coffee

Install Guide | Examples

Welcome to the MTB Nodes project! This codebase is open for you to explore and utilize as you wish. Its primary purpose is to build proof-of-concepts (POCs) for implementation in MLOPs. Many nodes in this project are inspired by existing community contributions or built-in functionalities.

Before proceeding, please be aware of the licenses associated with certain libraries used in this project. For example, the deepbump library is licensed under GPLv3.

Node List

bbox

  • Bounding Box: BBox constructor (custom type),
  • BBox From Mask: From a mask extract the bounding box
  • Crop: Crop image from BBox
  • Uncrop: Uncrop image from BBox

colors

  • Colored Image: Constant color image of given size
  • RGB to HSV: -,
  • HSV to RGB: -,
  • Color Correct: Basic color correction tools

face detection / swapping

  • Face Swap: Face swap using deepinsight/insightface models (this node used to be called Roop in early versions, it does the same, roop is just an app that uses those model)

    Note The face index allow you to choose which face to replace as you can see here:

  • Load Face Swap Model: Load an insightface model for face swapping
  • Restore Face: Using GFPGan to restore faces, works great in conjunction with Face Swap and supports Comfy native upscalers for the bg_upscaler

image interpolation (animation)

  • Load Film Model: Loads a FILM model
  • Film Interpolation: Process input frames using FILM
  • Export to Prores (experimental): Exports the input frames to a ProRes 4444 mov file. This is using ffmpeg stdin to send raw numpy arrays, used with Film Interpolation and very simple for now but could be expanded upon.

image ops

  • Blur: Blur an image using a Gaussian filter.
  • Deglaze Image: taken from FN16,
  • Denoise: Denoise the input image,
  • Image Compare: Compare two images and return a difference image
  • Image Premultiply: Premultiply image with mask
  • Image Remove Background Rembg: RemBG powered background removal.
  • Image Resize Factor: Extracted mostly from WAS Node Suite, with a few edits (most notably multiple image support) and less features.
  • Mask To Image: Converts a mask (alpha) to an RGB image with a color and background
  • Save Image Grid: Save all the images in the input batch as a grid of images.

latent utils

  • Latent Lerp: Linear interpolation (blend) between two latent

misc utils

  • Concat Images: Takes two image stream and merge them as a batch of images supported by other Comfy pipelines.
  • Image Resize Factor: Deprecated, I since discovered the builtin image resize.
  • Text To Image: Utils to convert text to image using a font
  • Styles Loader: Load csv files and populate a dropdown from the rows (à la A111)
  • Smart Step: A very basic node to get step percent to use in KSampler advanced,
  • Qr Code: Basic QR Code generator
  • Save Tensors: Debug node that will probably be removed in the future
  • Int to Number: Supplement for WASSuite number nodes
  • Smart Step: A very basic tool to control the steps (start/stop) of the KAdvancedSampler using percentage

textures

  • DeepBump: Normal & height maps generation from single pictures

Comfy Resources

Guides:

Extensions and Custom Nodes: