Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aifsh/diffmorpher-comfyui
https://github.com/aifsh/diffmorpher-comfyui
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aifsh/diffmorpher-comfyui
- Owner: AIFSH
- Created: 2024-07-16T01:11:49.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T01:24:59.000Z (6 months ago)
- Last Synced: 2024-07-17T12:41:25.892Z (6 months ago)
- Language: Python
- Size: 2.52 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DiffMorpher-ComfyUI
a custom node for [DiffMorpher](https://github.com/Kevin-thu/DiffMorpher.git),you can find base workflow in [`doc`](./doc/)## Example
image_0 | image_1 | output
----- | ---- | ----
![](/doc/Biden.jpg) | ![](doc/15.png) | ![](doc/diffmorpher_1721118982208625000.gif)## How to use
```
# in ComfyUI/custom_nodes
git clone https://github.com/AIFSH/DiffMorpher-ComfyUI.git
cd DiffMorpher-ComfyUI
pip install -r requirements.txt
```
weights will be downloaded from huggingface## Tutorial
DiffMorpherNode
required
- `image__0`: the first image (default: "")
- `prompt_0`: Prompt of the first image (default: "")
- `image_1`: the second image (default: "")
- `prompt_1`: Prompt of the second image (default: "")
- `use_adain`: Use AdaIN (default: False)
- `use_reschedule`: Use reschedule sampling (default: False)
- `lamb`: Hyperparameter $\lambda \in [0,1]$ for self-attention replacement, where a larger $\lambda$ indicates more replacements (default: 0.6)
- `save_inter`: Save intermediate results (default: False) if True, frame saved in `ComfyUI/output/diffmorpher`
- `num_frames`: Number of frames to generate (default: 16)
- `duration`: Duration of each frame (default: 100)optional
- `diffusers_model`: Pretrained model path (default: "stabilityai/stable-diffusion-2-1-base")
- `lora_0`: Path of the lora directory of the first image (default: "")
- `lora_1`: Path of the lora directory of the second image (default: "")## ask for answer as soon as you want
wechat: aifsh_98
need donate if you mand it,
but please feel free to new issue for answeringWindows环境配置太难?可以添加微信:aifsh_98,赞赏获取Windows一键包,当然你也可以提issue等待大佬为你答疑解惑。