GitXplorerGitXplorer
n

ComfyUI-StyleShot

public
9 stars
2 forks
2 issues

Commits

List of commits on branch main.
Unverified
67475495000e28e1d547091c5813d3e65492f96e

debug

nneverbiasu committed 5 months ago
Unverified
7fe4a429ffe4e6364e71c809cce8ed10b50ca95f

fix: Solve cv2 err

nneverbiasu committed 5 months ago
Unverified
c3a390c1234b7ea00a33053dfa7d9856b0a7482e

fix: Remove pipeline in generate()

nneverbiasu committed 5 months ago
Unverified
f91f3ac15428d4e73225ba193e05d8ee27e6ba0a

refactor: Remove PipelineLoader, move the codes into StyleShotApply

nneverbiasu committed 5 months ago
Unverified
0cbab45edb5746a65235d85e9e42ee4432a573ba

Refactor StyleShot class to store and retrieve results

nneverbiasu committed 5 months ago
Unverified
8656d91dd02adf19bcf097b4581233c82cc56428

fix: TypeError: object of type 'StyleShot' has no len()

nneverbiasu committed 5 months ago

README

The README file for this repository.

ComfyUI-StyleShot

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

image 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.