Skip to content
Node packVerifiedExternal
Open source

ComfyUI_StoryDiffusion

You can using StoryDiffusion in ComfyUI

Maintainer@smthemexA · adoptiongrade

Package profile

Status
Verified
Publisher
@smthemex
Source
GitHub

README

Using different ID migration methods to make storys in ComfyUI

Origin methods from:

Updates:

  • 因为同时调用comfy的text encoder和diffuser的步骤,所以推荐的减少偏移问题的 Qwen-Image-Edit图片缩放/缩放尺寸是 任意正方形,横板 (1184, 880),(1248 832),(1392, 752),(1456, 720),竖版(880,1184),( 832,1248),(752,1392),(720,1456) 自动裁切代码迟点整,忙;
  • 2025/08/24 Add Qwen-Image & Edit suuport ,use a Q8 or Q6 gguf ,and lighting lora(from lightx2v)
  • 新增支持千问生图和编辑两个模型,以及配套的加速lora,编辑模式会自动裁切以避免像素偏移。

1.Installation

In the'./ComfyUI /custom_nodes ' directory, run the following:

git clone https://github.com/smthemex/ComfyUI_StoryDiffusion.git

2.requirements

pip install -r requirements.txt
  • 使用story(photomaker V2),pulid-flux,kolor,story-maker,infiniteyou,时需要安装insightface库。if using story(photomaker V2),pulid-flux,kolor,story-make,infiniteyou:
pip install insightface
  • If the module is missing, please pip install,缺什么库就装什么。

3 models

3.1 stroy _diffusion mode (单纯故事)

  • 3.1.1 any sdxl checkpoints 任意SDXL单体模型
├── ComfyUI/models/checkpoints/
|             ├── juggernautXL_v8Rundiffusion.safetensors
├── ComfyUI/models/photomaker/
|             ├── photomaker-v1.bin or photomaker-v2.bin

3.2 MS-diffusion mode(2 role in 1 imag 双角色同框)

├── ComfyUI/models/
|             ├── photomaker/ms_adapter.bin
|             ├── clip_vision/clip_vision_g.safetensors(2.35G) or CLIP-ViT-bigG-14-laion2B-39B-b160k.safetensors(3.43G)
  • 3.2.2 用cn则需要对应的cn的controlnet模型。 if using controlnet in ms-diffusion(Control_img image preprocessing, please use other nodes );
├── ComfyUI/models/controlnet/   
|     ├──xinsir/controlnet-openpose-sdxl-1.0    
|     ├──... 其他类似的

3.3 kolors face mode(不再支持IP,已修复高版本错误)

├── ComfyUI/models
|             ├── /photomaker/ipa-faceid-plus.bin
|             ├── clip/chatglm3-8bit.safetensors
|             ├── clip_vision/clip-vit-large-patch14.safetensors  # Kolors-IP-Adapter-Plus or Kolors-IP-Adapter-FaceID-Plus using same checkpoints. 
  • kolors的repo文件结构
├── any path/Kwai-Kolors/Kolors
|      ├──model_index.json
|      ├──vae
|          ├── config.json
|          ├── diffusion_pytorch_model.safetensors (rename from diffusion_pytorch_model.fp16.safetensors )
|      ├──unet
|

Nodes in this pack

6 nodes
  • Comic_Type
  • EasyFunction_Lite
  • Pre_Translate_prompt
  • StoryDiffusion_Apply
  • StoryDiffusion_CLIPTextEncode
  • StoryDiffusion_KSampler

Sources

3 sources
GitHubSourceVersion c228e19289e8ddeab0fa07b72c3eb52d7ce96d0d
github.com/smthemex/ComfyUI_StoryDiffusion

Verified Oct 20

Source excerpts

1 excerpt

Source context: Repo smthemex/ComfyUI_StoryDiffusion