https://github.com/neverbiasu/ComfyUI-StyleShot
https://github.com/neverbiasu/ComfyUI-StyleShot
comfyui comfyui-nodes comfyui-workflow custom-nodes
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/neverbiasu/ComfyUI-StyleShot
- Owner: neverbiasu
- License: mit
- Created: 2024-08-20T16:57:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T19:52:14.000Z (almost 2 years ago)
- Last Synced: 2024-08-29T14:23:40.141Z (almost 2 years ago)
- Topics: comfyui, comfyui-nodes, comfyui-workflow, custom-nodes
- Language: Python
- Homepage:
- Size: 393 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-StyleShot** - mmlab/StyleShot) functionality into ComfyUI, thanks to the foundational work by continue-revolution. (All Workflows Sorted by GitHub Stars)
- awesome-comfyui - **ComfyUI-StyleShot** - mmlab/StyleShot) functionality into ComfyUI, thanks to the foundational work by continue-revolution. (Workflows (3395) sorted by GitHub Stars)
README
# ComfyUI-StyleShot
This project integrates [StyleShot](https://github.com/open-mmlab/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:
```sh
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.