A ComfyUI custom node that provides fine-grained control over style transfer using Redux style models.
A ComfyUI custom node that provides fine-grained control over style transfer using Redux style models.
一个 ComfyUI 自定义节点,提供使用 Redux 风格模型进行精细风格迁移控制。
https://github.com/user-attachments/assets/d6cf3b71-0221-4804-a757-e43feab0850f
conditioning
: Original prompt input / 原始提示词输入style_model
: Redux style model / Redux 风格模型clip_vision
: CLIP vision encoder / CLIP 视觉编码器reference_image
: Style source image / 风格来源图像prompt_influence
: Prompt strength (1.0=normal) / 提示词强度 (1.0=正常)reference_influence
: Image influence (1.0=normal) / 图像影响 (1.0=正常)style_grid_size
: Style detail level (1=27×27 strongest, 14=1×1 weakest) / 风格细节等级 (1=27×27最强, 14=1×1最弱)interpolation_mode
: Token interpolation method / Token插值方法image_processing_mode
: Image processing mode / 图像处理模式
center crop
: Square center crop / 正方形中心裁剪keep aspect ratio
: Maintain original ratio / 保持原始比例autocrop with mask
: Automatic crop using mask / 使用蒙版自动裁剪mask
: Optional mask for local control / 用于局部控制的可选蒙版autocrop_padding
: Padding pixels for autocrop (0-256) / 自动裁剪的边距像素 (0-256)Install ComfyUI Manager if you haven't 如果还没有安装 ComfyUI Manager,请先安装
Open ComfyUI, go to Manager tab 打开 ComfyUI,进入 Manager 标签页
Search for "Redux Prompt" and install 搜索 "Redux Prompt" 并安装
Clone this repository to your ComfyUI custom nodes directory: 将此仓库克隆到你的 ComfyUI 自定义节点目录:
cd ComfyUI/custom_nodes
git clone https://github.com/CY-CHENYUE/ComfyUI-Redux-Prompt.git
Restart ComfyUI 重启 ComfyUI
Add the "Redux Style with Prompt Control" node to your workflow 将 "Redux Style with Prompt Control" 节点添加到你的工作流程中
Connect required inputs: 连接必需的输入:
Adjust parameters as needed: 根据需要调整参数:
Connect the output to your image generation pipeline 将输出连接到你的图像生成管线
prompt_influence
values will emphasize the text prompt
较高的 prompt_influence
值会强调文本提示词reference_influence
values will emphasize the reference image style
较高的 reference_influence
值会强调参考图像风格autocrop with mask
mode is selected
蒙版输入仅在选择 autocrop with mask
模式时使用