ComfyUI-StyleShot

ComfyUI-StyleShot
★ 16

风格迁移图像风格化ComfyUI节点StyleShot集成
将 StyleShot 的风格化与参考图风格迁移功能集成到 ComfyUI,方便在工作流中快速应用参考风格并生成风格化图像。
💡 在 ComfyUI 工作流中用参考图快速生成风格化图像
🍴 3 Forks💻 Python🔄 2025-04-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e58c8376a81b
📦 requirements.txt
jmespath==0.10.0
python-dateutil==2.8.2
diffusers==0.29.1
transformers
accelerate==0.21.0
opencv-python==4.8.1.78
einops==0.7.0
botocore==1.34.139
basicsr
image
📄 README

ComfyUI-StyleShot

This project integrates StyleShot functionality into ComfyUI, thanks to the foundational work by continue-revolution.

You can refer to this example workflow for a quick start.

Requirements

Install the necessary Python dependencies using the following command:

pip3 install -r requirements.txt

Parameters

Mode

  • Description: The mode of operation for the style transfer. Options include “text_driven”, “image_driven”, “controlnet”, and “t2i-adapter”.
  • Type: str
  • Default: “text_driven”
  • Style Image

  • Description: The style image that will be used to transfer its style to the content image.
  • Type: [PIL.Image] or [numpy.ndarray]
  • Default: None
  • Condition Image

  • Description: The condition image that will be used in certain modes like “image_driven” and “controlnet”.
  • Type: [PIL.Image] or [numpy.ndarray]
  • Default: None
  • Prompt

  • Description: A textual description or prompt that guides the style transfer process.
  • Type: str
  • Default: “”
  • Preprocessor

  • Description: The preprocessor to use for the style transfer. Options include “Contour” and “Lineart”.
  • Type: str
  • Default: “Contour”
  • Contribution

    Thank you for considering contributing! Please fork this repository, make your changes, and submit a pull request for review and merging.