comfyui-mixlab-nodes

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

相关插件推荐

comfyui-sd-prompt-mixlab

comfyui-Image-reward

comfyui-ultralytics-yolo

comfyui-moondream

最新

ChatGPT节点支持 Local LLM(llama.cpp),Phi3、llama3 都可以直接一个节点运行了。

Model download,move to :models/llamafile/

强烈推荐:Phi-3-mini-4k-instruct-GGUF

备选:llama3_if_ai_sdpromptmkr_q2k

右键菜单支持 text-to-text,方便对prompt词补全

🚀🚗🚚🏃 Workflow-to-APP

Example:

APP-JSON:

暂时支持 9 种节点作为界面上的输入节点:Load Image、VHS_LoadVideo、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 & FloatingVideoNode

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

SpeechRecognition & SpeechSynthesis

f

Voice + Real-time Face Swap Workflow

GPT

Support for calling multiple GPTs.Local LLM(llama.cpp)、 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

gpt-workflow.svg

workflow-5

最新:ChatGPT节点支持 Local LLM(llama.cpp),Phi3、llama3 都可以直接一个节点运行了。

Model download,move to :models/llamafile/

强烈推荐:Phi-3-mini-4k-instruct-GGUF

备选:llama3_if_ai_sdpromptmkr_q2k

如果碰到安装失败,可以尝试手动安装 ``` ../../../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]’



## Prompt
> PromptSlide
![](/comfyui-mixlab-nodes/assets/prompt_weight.png)

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

> randomPrompt

![randomPrompt](/comfyui-mixlab-nodes/assets/randomPrompt.png)

> ClipInterrogator

[add clip-interrogator](https://github.com/pharmapsychotic/clip-interrogator)

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

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

![](/comfyui-mixlab-nodes/assets/ChinesePrompt_workflow.svg)


### 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.

![layers](/comfyui-mixlab-nodes/assets/layers-workflow.svg)

![poster](/comfyui-mixlab-nodes/assets/poster-workflow.svg)


### 3D
![](/comfyui-mixlab-nodes/assets/3d-workflow.png)
![](/comfyui-mixlab-nodes/assets/3d_app.png)
[workflow](/comfyui-mixlab-nodes/assets/Image-to-3D_1.json)

![](/comfyui-mixlab-nodes/assets/3dimage.png)
[workflow](/comfyui-mixlab-nodes/workflow/3D-workflow.json)


### 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](/comfyui-mixlab-nodes/assets/4-loadfromlocal-watcher-workflow.svg)

[workflow-4](/comfyui-mixlab-nodes/workflow/4-loadfromlocal-watcher-workflow.json)

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


### Style
> Apply VisualStyle Prompting , Modified from [ComfyUI_VisualStylePrompting](https://github.com/ExponentialML/ComfyUI_VisualStylePrompting) 

![](/comfyui-mixlab-nodes/assets/VisualStylePrompting.png)

> StyleAligned , Modified from [style_aligned_comfy](https://github.com/brianfitzgerald/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.

- [添加了DynamicDelayByText功能,可以根据输入文本的长度进行延迟执行。](/comfyui-mixlab-nodes/workflow/audio-chatgpt-workflow.json)

- [Added DynamicDelayByText, enabling delayed execution based on input text length.](/comfyui-mixlab-nodes/workflow/audio-chatgpt-workflow.json)

- [使用CkptNames 对比不同的模型效果](/comfyui-mixlab-nodes/workflow/ckpts-image-workflow.json)

- [CkptNames compare the effects of different models.](/comfyui-mixlab-nodes/workflow/ckpts-image-workflow.json)



### Other Nodes

![main](/comfyui-mixlab-nodes/assets/all-workflow.svg)
![main2](/comfyui-mixlab-nodes/assets/detect-face-all.png)

[workflow-1](/comfyui-mixlab-nodes/workflow/1-workflow.json)



> TransparentImage

![TransparentImage](/comfyui-mixlab-nodes/assets/TransparentImage.png)


> FeatheredMask、SmoothMask

Add edges to an image.

![FeatheredMask](/comfyui-mixlab-nodes/assets/FlVou_Y6kaGWYoEj1Tn0aTd4AjMI.jpg)


> LaMaInpainting

from [simple-lama-inpainting](https://github.com/enesmsahin/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


### Improvement 

- Add "help" option to the context menu for each node.
- Add "Nodes Map" option to the global context menu.

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

![help](/comfyui-mixlab-nodes/assets/help.png)

![node-not-found](/comfyui-mixlab-nodes/assets/node-not-found.png)


### Models

* [Download TripoSR](https://huggingface.co/stabilityai/TripoSR/blob/main/model.ckpt) and place it in ```models/triposr```

* [Download facebook/dino-vitb16](https://huggingface.co/facebook/dino-vitb16/tree/main)  and place it in ```models/triposr/facebook/dino-vitb16```


[Download rembg Models](https://github.com/danielgatis/rembg/tree/main#Models),move to:```models/rembg```

[Download lama](https://github.com/enesmsahin/simple-lama-inpainting/releases/download/v0.1.0/big-lama.pt), move to : ```models/lama```

[Download Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base), move to :```models/clip_interrogator/Salesforce/blip-image-captioning-base```

[Download succinctly/text2image-prompt-generator](https://huggingface.co/succinctly/text2image-prompt-generator/tree/main),move to:```models/prompt_generator/text2image-prompt-generator```

[Download Helsinki-NLP/opus-mt-zh-en](https://huggingface.co/Helsinki-NLP/opus-mt-zh-en/tree/main),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

Star History Chart