ControlNet-LLLite-ComfyUI
日本語版ドキュメントは後半にあります。
This is a UI for inference of ControlNet-LLLite.
ControlNet-LLLite is an experimental implementation, so there may be some problems.
Installation
- Clone this repository to
custom_nodes
. - Put ControlNet-LLLite models to
ControlNet-LLLite-ComfyUI/models
. You can download sample models from here.
Usage
Load sample workflow.
You can specify the strength of the effect with strength
. 1.0 is default, 0.0 is no effect.
You can apply only to some diffusion steps with steps
, start_percent
, and end_percent
. Specify the number of steps specified in the sampler in steps
, and specify the start and end steps from 0 to 100 in start_percent
and end_percent
, respectively.
(Because we cannot check the total number of steps in the node, this specification has been made. Please check the console output for the specific application range.)
Tips
If the generated image size is different from the control image size, resize it with
image/upscaling/UpscaleImage
as shown in the workflow.You can create a Canny image from a normal image with the
image/preprocessors/Canny
node.
Acknowledgements
This repository is based on IPAdapter-ComfyUI by laksjdjf. Thanks to laksjdjf.
ControlNet-LLLite-ComfyUI:日本語版ドキュメント
ControlNet-LLLite の推論用のUIです。
ControlNet-LLLiteがそもそもきわめて実験的な実装のため、問題がいろいろあるかもしれません。
インストール方法
custom_nodes
にcloneします。ControlNet-LLLite-ComfyUI/models
にモデルを入れます。サンプルはこちらからダウンロードできます。
使い方
サンプルのワークフローを読み込んでください。
strength
に効果の強さを指定できます。1.0でデフォルト、0.0で効果なしです。
steps
とstart_percent
、end_percent
で拡散ステップの一部にだけ効果を適用できます。steps
にsamplerに指定したステップ数を指定し、start_percent
とend_percent
にそれぞれ開始と終了のステップを0から100で指定します。
(ノード内で全体のステップ数を確認できないためこのような仕様になっています。具体的な適用範囲はコンソール出力を確認してください。)
ヒント
- 生成画像サイズと制御用画像サイズが異なる場合はワークフローにあるように
image/upscaling/UpscaleImage
でリサイズしてください。 - 通常の画像からCanny画像を作るには
image/preprocessors/Canny
のノードが使えます。
謝辞
laksjdjf 氏の IPAdapter-ComfyUI を参考にしています。laksjdjf 氏に感謝します。