Extensions/comfyui-mixlab-nodes
ComfyUI Extension Runs on cloud

comfyui-mixlab-nodes

3D, ScreenShareNode & FloatingVideoNode, SpeechRecognition & SpeechSynthesis, GPT, LoadImagesFromLocal, Layers, Other Nodes, ...

By MixLabPro·Created 3 years ago·Updated 2 months ago· 1,859
shadowcz007/comfyui-mixlab-nodes
Nodes114
On cloudRunnable
Category♾️Mixlab/3D, ♾️Mixlab/Audio
Stars1,859
Updated2 months ago

Nodes (114)

3DImage ♾️Mixlab

An in-browser 3D viewport that renders back into your graph

♾️Mixlab/3D
Analyze Audio ♾️Mixlab

The pass-through audio-analysis node in the mixlab pack

♾️Mixlab/Audio
App Info ♾️Mixlab

Turn a ComfyUI workflow into a web app

♾️Mixlab
Apply VisualStyle Prompting ♾️Mixlab

Training-free style transfer from one reference

♾️Mixlab/Style
Area To Mask ♾️Mixlab

Turn a transparent RGBA region into a plain mask

♾️Mixlab/Mask
Preview Audio ♾️Mixlab

Hear the audio in your graph

♾️Mixlab/Audio
Audio To Prompt

Encode a voice sample into Fish Speech tokens

♾️Mixlab/Audio/FishSpeech
Center Image ♾️Mixlab

Carve out one region on a canvas by margin, not by hand

♾️Mixlab/Layer
Character In Text

Find where a substring sits inside a block of text

♾️Mixlab/Text
ChatGPT & Local LLM ♾️Mixlab

An LLM node for prompt-building right in ComfyUI

♾️Mixlab/GPT
Chinese Prompt ♾️Mixlab

Write your prompt in Chinese, get English out

♾️Mixlab/Prompt
CreateCkptNames ♾️Mixlab

Turn a typed list of checkpoints into a comparison queue

♾️Mixlab/Experiment
Clip Interrogator ♾️Mixlab

Turn an image back into a prompt

♾️Mixlab/Prompt
Color Input ♾️MixlabApp

A color picker that outputs hex and RGBA

♾️Mixlab/Color
Combine Audio Video

Mux a soundtrack onto your generated clip

♾️Mixlab/Video
Comparing Two Frames ♾️Mixlab

An in-graph before/after viewer

♾️Mixlab/Output
Composite Images ♾️Mixlab

Paste a foreground onto a background, position and blend included

♾️Mixlab/Layer
Create Json

Build a JSON string one key at a time

♾️Mixlab/Output
Depth Viewer ♾️Mixlab

Turn an image and its depth map into a parallax preview

♾️Mixlab/3D
DynamicDelayByText ♾️Mixlab

Pace your workflow to how long text takes to speak

♾️Mixlab/Utils
Edit Mask ♾️Mixlab

Paint a mask by hand right in the graph

♾️Mixlab/Mask
Embedding Prompt ♾️Mixlab

Drop a textual-inversion embedding into your prompt

♾️Mixlab/Prompt
Enhance Image ♾️Mixlab

A one-knob contrast adjuster

♾️Mixlab/Image
Face To Mask ♾️Mixlab

Turn a photo into a face mask in one node

♾️Mixlab/Mask
Feathered Mask ♾️Mixlab

Soften a mask's hard edge before you composite

♾️Mixlab/Mask
Floating Video ♾️Mixlab

Pop ComfyUI's output into an always-on-top window

♾️Mixlab/Screen
Float Slider Input ♾️Mixlab

A draggable float knob that doubles as an app control

♾️Mixlab/Input
Font Input ♾️Mixlab

Pick a bundled font for text-on-image nodes

♾️Mixlab/Input
Generate Frames By Count

Stretch a frame batch to an exact length

♾️Mixlab/Video
Get Image Size ♾️Mixlab

Width, height, and a scaled minimum in one node

♾️Mixlab/Image
GLIGEN TextBox Apply ♾️Mixlab

Place prompts into grid regions

♾️Mixlab/Prompt
GradientImage ♾️Mixlab

A two-color gradient, image and mask in one shot

♾️Mixlab/Image
Grid Display And Save ♾️Mixlab

Preview and save a labeled region layout

♾️Mixlab/Layer
Grid Input ♾️Mixlab

Define named regions for the pack's grid layout system

♾️Mixlab/Input
Grid Output ♾️Mixlab

Turn one region into real x/y/width/height and a mask

♾️Mixlab/Layer
Image Batch To List ♾️Mixlab

Split a batch so ComfyUI runs one image at a time

♾️Mixlab/Image
Image Color Transfer ♾️Mixlab

Match one image's color palette to another

♾️Mixlab/Color
ImageCropByAlpha ♾️Mixlab

Crop tight to the transparent subject and get its box back

♾️Mixlab/Image
Image List Replace

Swap a slice of an image sequence for something else

♾️Mixlab/Video
Image List To Batch ♾️Mixlab

Collapse a list back into one batch

♾️Mixlab/Image
Images Input ♾️Mixlab

Decode a base64 image string plus a caption

♾️Mixlab/Input
Create Incrementing Number List ♾️Mixlab

Build a number list to sweep a value

♾️Mixlab/Video
Int Input ♾️Mixlab

IntNumber — Mixlab's App-Ready Integer Input

♾️Mixlab/Input
JoinWithDelimiter

JoinWithDelimiter — Turning Mixlab's List Outputs Into One String

♾️Mixlab/Text
Json Repair

Fix the almost-JSON your LLM node spat out

♾️Mixlab/GPT
API Key Input ♾️Mixlab

Keep your LLM key out of the saved workflow

♾️Mixlab/Input
LaMaInpainting ♾️Mixlab

Erase objects without a diffusion model

♾️Mixlab/Image
LimitNumber Input ♾️Mixlab

LimitNumber — A Safety Clamp for Numbers Already in Your Graph

♾️Mixlab/Input
Split List ♾️Mixlab

Break a list into chunks, with optional overlap

♾️Mixlab/Utils
Load And Combined Audio

Load And Combined Audio — Merging and Trimming Clips in Mixlab

♾️Mixlab/Audio
Load Images From Path ♾️Mixlab

Pull images from a local folder, live-watch optional

♾️Mixlab/Image
Load Images From URL ♾️Mixlab

LoadImagesFromURL — Baking Default Images Into a Mixlab Workflow

♾️Mixlab/Image
Load Images(base64) ♾️Mixlab

Stack several uploads into one batch for IP-Adapter

♾️Mixlab/Image
Load TripoSR Model

Load TripoSR Model — Single-Image-to-3D Inside ComfyUI

♾️Mixlab/3D/TripoSR
Load Video And Segment

Split a clip into scenes

♾️Mixlab/Video
Load Video from URL

Pull a video straight into your workflow from a link

♾️Mixlab/Video
Load VQGAN

Load VQGAN — The Vocoder Half of Mixlab's Fish Speech Pipeline

♾️Mixlab/Audio/FishSpeech
LoraName ♾️Mixlab

LoraName — Batch-Comparing LoRAs in One Mixlab Run

♾️Mixlab/Experiment
MaskList to Mask ♾️Mixlab

MaskList to Mask — Flattening Several Masks Into One

♾️Mixlab/Mask
MaskList Replace ♾️Mixlab

MaskList Replace — Swapping a Range of Frames in a Mask Sequence

♾️Mixlab/Video
Merge Layers ♾️Mixlab

Merge Layers — Flattening Mixlab's Layer Stack Into One Image

♾️Mixlab/Layer
MiniCPM VQA Simple

MiniCPM VQA Simple — Asking Questions About an Image Inside ComfyUI

♾️Mixlab/Image
MirroredImage ♾️Mixlab

Flip an image horizontally, and that's the whole job

♾️Mixlab/Image
Math Operation ♾️Mixlab

Math Operation (MultiplicationNode) — More Than the Name Suggests

♾️Mixlab/Utils
New Layer ♾️Mixlab

New Layer — Building a Photoshop-Style Layer Stack in ComfyUI

♾️Mixlab/Layer
NoiseImage ♾️Mixlab

Generate a flat color with noise on top, as a starting canvas

♾️Mixlab/Image
Outline Mask ♾️Mixlab

Turn a mask into a border ring

♾️Mixlab/Mask
P5 Input ♾️Mixlab for test

P5 Input — Piping a p5.js Sketch Into ComfyUI

♾️Mixlab/Input
Preview Mask ♾️Mixlab

Actually see the mask you're working with

♾️Mixlab/Mask
Prompt To Semantic

Prompt To Semantic — The Voice-Cloning Half of Mixlab's Fish Speech Nodes

♾️Mixlab/Audio/FishSpeech
Prompt Generate ♾️Mixlab

Prompt Generate — Write in Chinese, Get an Expanded English Prompt

♾️Mixlab/Prompt
Output Prompt and Image ♾️Mixlab

Pair a prompt with its image as app output

♾️Mixlab/Output
PromptSimplification ♾️Mixlab

PromptSimplification — Trimming a Bloated Prompt Down

♾️Mixlab/Prompt
Prompt Slide ♾️Mixlab

Prompt Slide — A Weight Dial Instead of Hand-Typed Parentheses

♾️Mixlab/Prompt
Random Prompt ♾️Mixlab

Shuffle a word list into batches of prompts

♾️Mixlab/Prompt
Remove Background ♾️Mixlab

One-node background removal in ComfyUI

♾️Mixlab/Mask
Resize Image ♾️Mixlab

Resize, pad, and grab the average color in one node

♾️Mixlab/Image
CreateSampler_names ♾️Mixlab

CreateSampler_names — Batch-Comparing Samplers in One Run

♾️Mixlab/Experiment
Save Image Output ♾️Mixlab

Save images with the workflow baked in (or not)

♾️Mixlab/Output
Save Image To Local ♾️Mixlab

Write ComfyUI output to any folder you point it at

♾️Mixlab/Output
Save TripoSR Mesh

Writing your generated 3D model to disk

♾️Mixlab/3D/TripoSR
Select Scene

Pull one chunk out of a segmented video

♾️Mixlab/Video
Screen Share ♾️Mixlab

Feed your live screen into ComfyUI

♾️Mixlab/Screen
CreateSeedNode ♾️Mixlab

A standalone seed you can wire into every sampler at once

♾️Mixlab/Experiment
Semantic To Audio

The vocoder step that turns Fish Speech tokens into sound

♾️Mixlab/Audio/FishSpeech
Sense Voice ♾️Mixlab

Fast multilingual speech-to-text with subtitles built in

♾️Mixlab/Audio
Show Layer ♾️Mixlab

Positioning a layer on Mixlab's app-mode canvas

♾️Mixlab/Layer
Show Text ♾️MixlabApp

Display and pass through text, app-friendly

♾️Mixlab/Text
LLM Siliconflow ♾️Mixlab

Free hosted LLM calls without running anything locally

♾️Mixlab/GPT
TextToImage Siliconflow ♾️Mixlab

Hosted Flux generation, no local GPU needed

♾️Mixlab/Image
SimulateDevDesignDiscussions ♾️Mixlab Podcast

An AI panel that debates a topic for you

♾️Mixlab/GPT
Smooth Mask ♾️Mixlab

The one-dial way to soften a hard mask edge

♾️Mixlab/Mask
SpeechRecognition ♾️Mixlab

Talk to your workflow and get the text as a prompt

♾️Mixlab/Audio
SpeechSynthesis ♾️Mixlab

Make your browser tab read a string out loud

♾️Mixlab/Audio
Split Image ♾️Mixlab

Cut an image into a grid of regions

♾️Mixlab/Layer
Splitting a long image into sections

Slice one long mask into equal sections

♾️Mixlab/Mask
StyleAligned Batch Align ♾️Mixlab

Make everything in a batch look like it belongs together

♾️Mixlab/Style
StyleAligned Reference Sampler ♾️Mixlab

Generate a batch that matches one reference style

♾️Mixlab/Style
StyleAligned Sample Reference Latents ♾️Mixlab

Capture a reference's latents for style-matched batches

♾️Mixlab/Style
Svg Image ♾️Mixlab

Turn an uploaded SVG into a raster image or a layer stack

♾️Mixlab/Image
List Switch By Index ♾️Mixlab

Merge two inputs into a list and pick by position

♾️Mixlab/Utils
TESTNODE_ ♾️Mixlab

An internal debug node the pack left in the public menu

♾️Mixlab/Test
TESTNODE_TOKEN ♾️Mixlab

An internal CLIP-tokenization debug node

♾️Mixlab/Test
Text Image ♾️Mixlab

Render text to an image, CJK and vertical layout included

♾️Mixlab/Image
Text Input ♾️Mixlab

A plain text box that becomes an app field

♾️Mixlab/Input
Text Split By Delimiter

Chop one text block into a list of prompts

♾️Mixlab/Text
TextToNumber

Turn a text field into an integer, with an optional random mode

♾️Mixlab/Text
TransparentImage ♾️Mixlab

Turn an image plus a mask into a saved RGBA cutout

♾️Mixlab/Image
TripoSR Sampler

Turn a single photo into a 3D mesh

♾️Mixlab/3D/TripoSR
VAE Encode For Inpaint Frames ♾️Mixlab

Batch inpaint-encoding for video

♾️Mixlab/Video
Video Combine

Stitch a batch of frames into a video

♾️Mixlab/Video
Kling Video Generation @fal

Call Kling from ComfyUI via fal.ai

♾️Mixlab/Video
Luma Dream Machine @fal

Call Luma's video model from inside ComfyUI

♾️Mixlab/Video
Runway Gen3 Image-to-Video @fal

Runway Gen3 image-to-video, called through fal

♾️Mixlab/Video
Readme

适配了最新版 comfyui 的 py3.11 ,torch 2.3.1+cu121 Mixlab nodes discord

商务合作请联系 [email protected] For business cooperation, please contact email [email protected]

Her 的DEMO页面

最新

This is the int4 quantized version of MiniCPM-V 2.6. Running with int4 version would use lower GPU memory (about 7GB).

  • 移动端适配、修改 app 模式的 Mask 编辑器

  • 增加 p5.js 作为输入节点 workflow workflow2

  • App 模式增加 batch prompt,批量提示词,可以把动态提示词批量组成后运行

alt text

  • 增加 API Key Input 节点,用于管理 LLM 的 Key,同时优化 LLM 相关节点,为后续 agent 模式做准备

  • 增加 SiliconflowLLM,可以使用由 Siliconflow 提供的免费 LLM

<!-- - ChatGPT 节点支持 Local LLM(llama.cpp),Phi3、llama3 都可以直接一个节点运行了。模型下载后,放置到 `models/llamafile/` --> <!-- 强烈推荐: [Phi-3-mini-4k-instruct-function-calling-GGUF](https://huggingface.co/nold/Phi-3-mini-4k-instruct-function-calling-GGUF) [Phi-3-mini-4k-instruct-GGUF](https://huggingface.co/lmstudio-community/Phi-3-mini-4k-instruct-GGUF/tree/main),备选:[llama3_if_ai_sdpromptmkr_q2k](https://hf-mirror.com/impactframes/llama3_if_ai_sdpromptmkr_q2k/tree/main) - 右键菜单支持 image-to-text,使用多模态模型,多模态使用 [llava-phi-3-mini-gguf](https://huggingface.co/xtuner/llava-phi-3-mini-gguf/tree/main),注意需要把llava-phi-3-mini-mmproj-f16.gguf也下载 ![](./assets/prompt_ai_setup.png) ![](./assets/prompt-ai.png) -->

相关插件推荐

comfyui-liveportrait

Comfyui-ChatTTS

comfyui-sound-lab

comfyui-Image-reward

comfyui-ultralytics-yolo

comfyui-moondream

<!-- [comfyui-CLIPSeg](https://github.com/shadowcz007/comfyui-CLIPSeg) -->

🚀🚗🚚🏃 Workflow-to-APP

  • 新增 AppInfo 节点,可以通过简单的配置,把 workflow 转变为一个 Web APP。
  • 支持多个 web app 切换
  • 发布为 app 的 workflow,可以在右键里再次编辑了
  • web app 可以设置分类,在 comfyui 右键菜单可以编辑更新 web app
  • 支持动态提示
  • 支持把输出显示到 comfyui 背景(TouchDesigner 风格)
  • 如果转为 web app 打开是空白的,注意检查下插件目录的名字需要是:comfyui-mixlab-nodes(如果是 zip 包下载会多了个-main 的后缀,需要去掉)

  • Support multiple web app switching.
  • Add the AppInfo node, which allows you to transform the workflow into a web app by simple configuration.
  • The workflow, which is now released as an app, can also be edited again by right-clicking.
  • The web app can be configured with categories, and the web app can be edited and updated in the right-click menu of ComfyUI.

Example:

APP-JSON:

暂时支持 9 种节点作为界面上的输入节点:Load Image、VHSLoadVideo、CLIPTextEncode、PromptSlide、TextInput、Color、FloatSlider、IntNumber、CheckpointLoaderSimple、LoraLoader

输出节点:PreviewImage 、SaveImage、ShowTextForGPT、VHS_VideoCombine、PromptImage

seed 统一输入控件,支持:SamplerCustom、KSampler

配套ps 插件

如果遇到上传图片不成功,请检查下:局域网或者是云服务,请使用 https,端口 8189 这个服务( 感谢 @Damien 反馈问题)

If you encounter difficulties in uploading images, please check the following: for local network or cloud services, please use HTTPS and the service on port 8189. (Thanks to @Damien for reporting the issue.)

🏃🚗🚚🚀 Real-time Design

ScreenShareNode & FloatingVideoNode. Now comfyui supports capturing screen pixel streams from any software and can be used for LCM-Lora integration. Let's get started with implementation and design! 💻🌐

screenshare

https://github.com/shadowcz007/comfyui-mixlab-nodes/assets/12645064/e7e77f90-e43e-410a-ab3a-1952b7b4e7da

<!-- [ScreenShareNode](./workflow/2-screeshare.json) -->

ScreenShareNode & FloatingVideoNode

!! Please use the address with HTTPS (https://127.0.0.1).

SpeechRecognition & SpeechSynthesis

f

Voice + Real-time Face Swap Workflow

  • Preview Audio

text-to-audio

GPT

Support for calling multiple GPTs.Local LLM 、 ChatGPT、ChatGLM3 、ChatGLM4 , Some code provided by rui. If you are using OpenAI's service, fill in https://api.openai.com/v1 . If you are using a local LLM service, fill in http://127.0.0.1:xxxx/v1 . Azure OpenAI:https://xxxx.openai.azure.com

LLM_base_workflow

  • SiliconflowLLM
  • ChatGPTOpenAI
<!-- 最新:ChatGPT 节点支持 Local LLM(llama.cpp),Phi3、llama3 都可以直接一个节点运行了。 Model download,move to :`models/llamafile/` 强烈推荐:[Phi-3-mini-4k-instruct-GGUF](https://huggingface.co/lmstudio-community/Phi-3-mini-4k-instruct-GGUF/tree/main) 备选:[llama3_if_ai_sdpromptmkr_q2k](https://hf-mirror.com/impactframes/llama3_if_ai_sdpromptmkr_q2k/tree/main) > 如果碰到安装失败,可以尝试手动安装 ``` ../../../python_embeded/python.exe -s -m pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121 ../../../python_embeded/python.exe -s -m pip install llama-cpp-python[server] ``` > [Mac](https://llama-cpp-python.readthedocs.io/en/latest/install/macos/) ``` pip uninstall llama-cpp-python -y CMAKE_ARGS="-DLLAMA_METAL=on" pip install -U llama-cpp-python --no-cache-dir pip install 'llama-cpp-python[server]' ``` ``` pip install llama-cpp-python \ --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/metal ``` -->

Prompt

PromptSlide

<!-- ![](./workflow/promptslide-appinfo-workflow.svg) -->

randomPrompt

randomPrompt

ClipInterrogator

add clip-interrogator

PromptImage & PromptSimplification,Assist in simplifying prompt words, comparing images and prompt word nodes.

ChinesePrompt && PromptGenerate,中文 prompt 节点,直接用中文书写你的 prompt

Layers

A new layer class node has been added, allowing you to separate the image into layers. After merging the images, you can input the controlnet for further processing.

The composite images node overlays a foreground image onto a background image at specified positions and scales, with optional blending modes and masking capabilities. position : 'overall',"center_center","left_bottom","center_bottom","right_bottom","left_top","center_top","right_top"

layers

poster

3D

workflow

workflow

Image

LoadImagesToBatch

Upload multiple images for batch input into the IP adapter.

LoadImagesFromLocal

Monitor changes to images in a local folder, and trigger real-time execution of workflows, supporting common image formats, especially PSD format, in conjunction with Photoshop.

watch

workflow-4

LoadImagesFromURL

Conveniently load images from a fixed address on the internet to ensure that default images in the workflow can be executed.

TextImage

下载字体放到 custom_nodes/comfyui-mixlab-nodes/assets/fonts

MiniCPM-VQA Simple

This is the int4 quantized version of MiniCPM-V 2.6. Running with int4 version would use lower GPU memory (about 7GB).

模型

alt text

Style

Apply VisualStyle Prompting , Modified from ComfyUI_VisualStylePrompting

StyleAligned , Modified from style_aligned_comfy

Utils

The Color node provides a color picker for easy color selection, the Font node offers built-in font selection for use with TextImage to generate text images, and the DynamicDelayByText node allows delayed execution based on the length of the input text.

Other Nodes

  • 增加 Edit Mask,方便在生成的时候手动绘制 mask workflow

main main2

workflow-1

TransparentImage

TransparentImage

FeatheredMask、SmoothMask

Add edges to an image.

FeatheredMask

LaMaInpainting(需要手动安装)

  • simple-lama-inpainting 里的 pillow 造成冲突,暂时从依赖里移除,如果有安装 simple-lama-inpainting ,节点会自动添加,没有,则不会自动添加。

from simple-lama-inpainting

rembgNode

"briarmbg","u2net","u2netp","u2net_human_seg","u2net_cloth_seg","silueta","isnet-general-use","isnet-anime"

_ briarmbg _ model was developed by BRlA Al and can be used as an open-source model for non-commercial purposes

Enhancement

  • Direct "Help" option accessible through node context menu.

  • "Nodes Map" feature added to global context menu.

  • An improvement has been made to directly redirect to GitHub to search for missing nodes when loading the graph.

*** If not needed, you can comment out app.showMissingNodesError in the ui_mixlab.js file.

help

node-not-found

  • Right-click shortcut

右键菜单支持 text-to-text,方便对 prompt 词补全,支持云LLM或者是本地LLM。 The right-click menu supports text-to-text conversion, facilitating prompt word completion, and supports cloud LLMs or local LLMs.

Local LLM API example:http://localhost:1234/v1

alt text

Models

Download rembg Models,move to:models/rembg

Download lama, move to : models/lama

Download Salesforce/blip-image-captioning-base, move to :models/clip_interrogator/Salesforce/blip-image-captioning-base

Download succinctly/text2image-prompt-generator,move to:models/prompt_generator/text2image-prompt-generator

Download Helsinki-NLP/opus-mt-zh-en,move to:models/prompt_generator/opus-mt-zh-en

Installation

manually install, simply clone the repo into the custom_nodes directory with this command:

cd ComfyUI/custom_nodes

git clone https://github.com/shadowcz007/comfyui-mixlab-nodes.git

Install the requirements:

run directly:

cd ComfyUI/custom_nodes/comfyui-mixlab-nodes
install.bat

or install the requirements using:

../../../python_embeded/python.exe -s -m pip install -r requirements.txt

If you are using a venv, make sure you have it activated before installation and use:

pip3 install -r requirements.txt

Chinese community

访问 www.mixcomfy.com,获得更多内测功能,关注微信公众号:Mixlab 无界社区

File / LoadImagesFromPath SaveImageToLocal LoadImagesFromURL

discussions:

discussions

<picture> <source media="(prefers-color-scheme: dark)" srcset=" https://api.star-history.com/svg?repos=shadowcz007/comfyui-mixlab-nodes&type=Date&theme=dark " /> <source media="(prefers-color-scheme: light)" srcset=" https://api.star-history.com/svg?repos=shadowcz007/comfyui-mixlab-nodes&type=Date " /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=shadowcz007/comfyui-mixlab-nodes&type=Date" /> </picture>