Commit Graph

81 Commits

Author SHA1 Message Date
comfyanonymous c8f1acc4eb Put image upscaling nodes in image/upscaling category. 2023-03-11 18:10:36 -05:00
comfyanonymous e33dc2b33b Add a VAEEncodeTiled node. 2023-03-11 15:28:15 -05:00
comfyanonymous 905857edd8 Take some code from chainner to implement ESRGAN and other upscale models. 2023-03-11 13:09:28 -05:00
comfyanonymous 8c4ccb55d1 Small refactor of custom node loading code. 2023-03-11 12:49:41 -05:00
comfyanonymous 1f717903bc Prevent potential int overflow in SaveImage 2023-03-11 12:48:28 -05:00
comfyanonymous 99eb777f5d Make the LoadImage node output the alpha as a mask. 2023-03-09 14:07:55 -05:00
pythongosssss fa07426569 Remove random spaces 2023-03-09 18:18:08 +00:00
pythongosssss 99abc0eb2e Changed to upload to input dir
Fixed jpg
Added dupe support
Changed to use existing nodes
2023-03-09 17:57:59 +00:00
pythongosssss 4a326a2548 Added UploadImage+Mask nodes 2023-03-08 22:07:44 +00:00
comfyanonymous 0a0c769d6d Try to fix import issue. 2023-03-06 14:41:42 -05:00
pythongosssss 09db31309a Merge remote-tracking branch 'origin/master' into frontendrefactor 2023-03-06 17:02:34 +00:00
comfyanonymous afff30fc0a Add --cpu to use the cpu for inference. 2023-03-06 10:50:50 -05:00
comfyanonymous 8515d96328 It's more logical for the StyleModelApply to append it directly. 2023-03-06 01:48:18 -05:00
comfyanonymous 7ec1dd25a2 A tiny bit of reorganizing. 2023-03-06 01:30:17 -05:00
comfyanonymous 47acb3d73e Implement support for t2i style model.
It needs the CLIPVision model so I added CLIPVisionLoader and CLIPVisionEncode.

Put the clip vision model in models/clip_vision
Put the t2i style model in models/style_models

StyleModelLoader to load it, StyleModelApply to apply it
ConditioningAppend to append the conditioning it outputs to a positive one.
2023-03-05 18:39:25 -05:00
pythongosssss bba14245cb Merge remote-tracking branch 'origin' into frontendrefactor 2023-03-03 19:30:24 +00:00
comfyanonymous b9e3f52240 stop_at_clip_layer can be set in CLIPSetLastLayer so it can be removed
from the CLIPLoader node.
2023-03-03 14:27:55 -05:00
pythongosssss 4ef4cf913f Adding built in extensions + example 2023-03-03 18:28:34 +00:00
comfyanonymous 8586515886 Move the CheckpointLoaderSimple to the right section. 2023-03-03 13:09:44 -05:00
comfyanonymous 4215206281 Add a node to set CLIP skip.
Use a more simple way to detect if the model is -v prediction.
2023-03-03 13:04:36 -05:00
comfyanonymous fed315a76a To be really simple CheckpointLoaderSimple should pick the right type. 2023-03-03 11:07:10 -05:00
comfyanonymous 94bb0375b0 New CheckpointLoaderSimple to load checkpoints without a config. 2023-03-03 03:37:35 -05:00
comfyanonymous c8ce599a8f Add a button to interrupt processing to the ui. 2023-03-02 15:24:51 -05:00
comfyanonymous 69cc75fbf8 Add a way to interrupt current processing in the backend. 2023-03-02 14:42:03 -05:00
comfyanonymous d826a0971c Outpainting actually works now. 2023-02-27 12:02:23 -05:00
pythongosssss a9c57849b7
Merge branch 'comfyanonymous:master' into socketrework 2023-02-25 12:00:22 +00:00
comfyanonymous 4e6b83a80a Add a T2IAdapterLoader node to load T2I-Adapter models.
They are loaded as CONTROL_NET objects because they are similar.
2023-02-25 01:24:56 -05:00
comfyanonymous 87b00b37f6 Added an experimental VAEDecodeTiled.
This decodes the image with the VAE in tiles which should be faster and
use less vram.

It's in the _for_testing section so I might change/remove it or even
add the functionality to the regular VAEDecode node depending on how
well it performs which means don't depend too much on it.
2023-02-24 02:10:10 -05:00
pythongosssss 9bd7bfa648
Added workflow history
Moved socket output updates to all node executions
Made image rendering on nodes more generic
2023-02-23 20:12:57 +00:00
pythongosssss 2816eb236d
Merge branch 'comfyanonymous:master' into socketrework 2023-02-23 20:07:30 +00:00
comfyanonymous 62df8dd62a Add a node to load diff controlnets. 2023-02-22 23:22:03 -05:00
comfyanonymous 3ae61a2bca Add a node to invert the colours of images.
Might be useful for controlnets.
2023-02-22 21:57:56 -05:00
pythongosssss a52aa9f4b5
Moved api out to server
Reworked sockets to use socketio
Added progress to nodes
Added highlight to active node
Added preview to saveimage node
2023-02-21 19:29:49 +00:00
comfyanonymous d80af7ca30 ControlNetApply now stacks.
It can be used to apply multiple control nets at the same time.
2023-02-21 01:18:53 -05:00
comfyanonymous 8683ea4248 Merge branch 'master' into m957ymj75urz-dynamic-prompting 2023-02-20 23:49:55 -05:00
comfyanonymous a3d0b56c61 Fix for relative imports in custom nodes. 2023-02-19 12:00:05 -05:00
m957ymj75urz e2e5c4c5b0 Add basic dynamic prompting with seeding on CLIPTextEncode node 2023-02-17 22:37:03 +01:00
comfyanonymous 71354c7c57 Sort images on LoadImageMask node. 2023-02-17 13:17:09 -05:00
comfyanonymous 1688f5024d Fix a few issues with the custom_nodes PR.
There only needs to be one example in the folder.
2023-02-17 11:19:49 -05:00
Fannovel16 fa66ece26b
Merge branch 'comfyanonymous:master' into master 2023-02-17 18:02:52 +07:00
Hacker 17082006 1c5fe809c2 . 2023-02-17 17:59:16 +07:00
comfyanonymous 638f924546 Sort the list of input images. 2023-02-16 21:01:46 -05:00
comfyanonymous 6135a21ee8 Add a way to control controlnet strength. 2023-02-16 18:08:01 -05:00
comfyanonymous 4efa67fa12 Add ControlNet support. 2023-02-16 10:38:08 -05:00
comfyanonymous bc69fb5245 Use inpaint models the proper way by using VAEEncodeForInpaint. 2023-02-15 20:44:51 -05:00
comfyanonymous e87a8669b6 Add a LoadImageMask node to load one colour channel in an image as a mask. 2023-02-15 17:39:42 -05:00
comfyanonymous d75003001a Add a SetLatentNoiseMask node.
LATENT is now a dict that can contain properties.
2023-02-15 16:58:55 -05:00
Hacker 17082006 e1a047971b Edit comment 2023-02-15 21:50:18 +07:00
Hacker 17082006 7da0147d8a Done custom_node import error fixing 2023-02-15 21:48:10 +07:00
Hacker 17082006 b67b6920d1 Fix bug 2023-02-15 21:15:54 +07:00