注册
节点库 › ComfyUI-FluxRegionAttention

ComfyUI-FluxRegionAttention

作者:attashe

Implement Region Attention for Flux model. Add node RegionAttention that takes a regions - mask + condition, mask could be set from comfyui masks or bbox in FluxRegionBBOX node. This code is not optimized and has a memory leak. If you caught a OOM just try run a query againg - works on my RTX3080. For generation it uses a usual prompt that have influence to all picture and a regions that have their own prompts. Base prompt good for setup background and style of image. This is train-free technique and results not always stable - sometimes need to try several seeds or change prompt.

下载 WanAI 启动器 GitHub 仓库 ↗
提示:点击「一键安装」需本机已安装并注册 wanai:// 协议的 WanAI 启动器;未安装请先点击「下载 WanAI 启动器」。
安装方式一:插件仓库地址
https://github.com/attashe/ComfyUI-FluxRegionAttention
安装方式二:git clone 安装
git clone https://github.com/attashe/ComfyUI-FluxRegionAttention
安装方式三:命令行安装
comfy node install ComfyUI-FluxRegionAttention