Commit Graph

26 Commits

Author SHA1 Message Date
642516a3a6 create output dir if none is present 2023-02-09 12:49:31 -05:00
1d9ec62cfb Use absolute output directory path. 2023-02-09 09:59:43 -05:00
e58887dfa7 forgot windows does double backslashes for paths due to its use as escape char. 2023-02-09 01:30:06 +01:00
81082045c2 add recursive_search, swap relevant os.listdirs 2023-02-09 01:22:33 +01:00
3e22815a9a Fix k_diffusion not getting imported from the folder. 2023-02-08 16:29:22 -05:00
a84cd0d1ad Don't unload/reload model from CPU uselessly. 2023-02-08 03:40:43 -05:00
1de5aa6a59 Add a CLIPLoader node to load standalone clip weights.
Put them in models/clip
2023-02-05 15:20:18 -05:00
4225d1cb9f Add a basic ImageScale node.
It's pretty much the same as the LatentUpscale node for now but for images
in pixel space.
2023-02-04 16:01:01 -05:00
bff0e11941 Add a LatentCrop node. 2023-02-04 15:21:46 -05:00
149a4de3f2 Fix potential issue if exception happens when patching model. 2023-02-03 03:55:50 -05:00
ef90e9c376 Add a LoraLoader node to apply loras to models and clip.
The models are modified in place before being used and unpatched after.
I think this is better than monkeypatching since it might make it easier
to use faster non pytorch unet inference in the future.
2023-02-03 02:46:24 -05:00
fef41d0a72 Add LatentComposite node.
This can be used to "paste" one latent image on top of the other.
2023-01-31 03:35:03 -05:00
3fa009f4cc Add a LatentFlip node. 2023-01-31 03:28:38 -05:00
69df7eba94 Add KSamplerAdvanced node.
This node exposes more sampling options and makes it possible for example
to sample the first few steps on the latent image, do some operations on it
 and then do the rest of the sampling steps. This can be achieved using the
start_at_step and end_at_step options.
2023-01-31 03:09:38 -05:00
f8f165e2c3 Add a LatentRotate node. 2023-01-31 02:28:07 -05:00
f73e57d881 Add support for textual inversion embedding for SD1.x CLIP. 2023-01-29 18:46:44 -05:00
2706c0b7a5 Some VAEs come in .pt files. 2023-01-28 12:28:29 -05:00
21eb33f233 Right category for latent upscale node. 2023-01-27 14:11:57 -05:00
2a87f6630d Some categories for the nodes. 2023-01-26 12:23:15 -05:00
c4b02059d0 Add ConditioningSetArea node.
to apply conditioning/prompts only to a specific area of the image.

Add ConditioningCombine node.
so that multiple conditioning/prompts can be applied to the image at the
same time
2023-01-26 12:06:48 -05:00
463d0d0828 Add a center crop option to latent upscale node. 2023-01-24 17:28:44 -05:00
c1eac7bab2 Add filename_prefix to SaveImage node. 2023-01-24 03:05:04 -05:00
a34cde08cb Nodes now support single line string properties.
Resize nodes automatically if they are too small because of added properties.
2023-01-24 02:10:12 -05:00
9baa48cb33 Add IS_CHANGED method to nodes to check if nodes should be executed again.
LoadImage.IS_CHANGED returns the hash of the image so it will execute again
if the image changed on the disk.
2023-01-22 21:46:16 -05:00
15f8da2849 Add a LoadImage node to load images for img2img. 2023-01-22 15:07:18 -05:00
220afe3310 Initial commit. 2023-01-16 22:37:14 -05:00