From dd5f79d77fb35282bc4f60248e1ad8579c353176 Mon Sep 17 00:00:00 2001 From: Brian Fitzgerald Date: Sun, 10 Dec 2023 12:02:43 -0600 Subject: [PATCH] update readme --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa71df0..87621fa 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,17 @@ Implementation of the [StyleAligned](https://style-aligned-gen.github.io/) paper for ComfyUI. +This node allows you to apply a consistent style to all images in a batch; by default it will use the first image in the batch as the style reference, forcing all other images to be consistent with it. + +![](resources/header.jpg) + +_A batch of generations with the same parameters, with the node applied (left) and without (right)._ + +In the next few days I plan on implementing the second feature of the paper - the ability to use another image as the style reference. + ### Installation -Simply run `git clone git@github.com:brianfitzgerald/style_aligned_comfy.git` in your `custom_nodes` directory. +Simply download or git clone this repository in `ComfyUI/custom_nodes/`. ### Usage @@ -15,6 +23,6 @@ Or, simply add the `StyleAlignedPatch` node after `LoadCheckpoint`. ### Parameters - `model`: Required, the base model to patch. -- `style_image`: Optional, path to the latent to use as a style inference. If left blank, the first latent in the batch will be used, effectively making the output of the batch consistent. +- `style_image`: (**not implemented yet!**) Optional, path to the latent to use as a style inference. If left blank, the first latent in the batch will be used, effectively making the output of the batch consistent. - `share_norm`: Whether to share normalization across the batch. Defaults to `both`. Set to `group` or `layer` to only share group or layer normalization, respectively. - `scale`: The scale at which to apply the style-alignment effect. Defaults to `1`. \ No newline at end of file