Commit Graph

205 Commits

Author SHA1 Message Date
Jacob Segal
91bebda537 Add support for multiple unique inpainting masks
This enables workflows like "Inpaint at full resolution" when using
batch sizes greater than 1.
2023-04-22 16:02:26 -07:00
comfyanonymous
fca9adbee2 Add GLIGEN example to README. 2023-04-20 17:30:10 -04:00
comfyanonymous
6c156642e4 Add support for GLIGEN textbox model. 2023-04-19 11:06:32 -04:00
comfyanonymous
5a6311dd04 Fix bug. 2023-04-17 18:19:57 -04:00
comfyanonymous
b9d343ce70 Add a LatentFromBatch node to pick a single latent from a batch.
Works before and after sampling.
2023-04-17 17:28:07 -04:00
comfyanonymous
24c259ae9a custom_nodes paths can now be set in the extra_model_paths.yaml 2023-04-16 01:46:43 -04:00
comfyanonymous
4df70d0f62 Fix model_management import so it doesn't get executed twice. 2023-04-15 19:04:33 -04:00
comfyanonymous
3fe8074417 Refactor: move nodes_mask_convertion nodes to nodes_mask. 2023-04-14 00:21:01 -04:00
comfyanonymous
7f6c42d878 Merge branch 'image-to-mask' of https://github.com/missionfloyd/ComfyUI
# Conflicts:
#	nodes.py
2023-04-14 00:15:48 -04:00
comfyanonymous
c98d02a0cd Revert LatentComposite. 2023-04-14 00:14:35 -04:00
comfyanonymous
e91109f681 Merge branch 'master' of https://github.com/mligaintart/ComfyUI 2023-04-14 00:12:58 -04:00
Gavroche CryptoRUSH
e891b3e251 remove extra semi-colon 2023-04-13 16:38:02 -04:00
missionfloyd
cb25768a09 Move mask conversion to separate file 2023-04-13 03:11:17 -06:00
missionfloyd
253fedcb6b Merge branch 'comfyanonymous:master' into image-to-mask 2023-04-13 03:07:08 -06:00
comfyanonymous
138e6bf4c3 Merge branch 'fix-LoadImageMask' of https://github.com/flyingshutter/ComfyUI 2023-04-12 01:24:53 -04:00
missionfloyd
4598d8967a use slice instead of torch.select() 2023-04-11 20:26:24 -06:00
missionfloyd
9ec7729bea Image/mask conversion nodes 2023-04-11 16:49:39 -06:00
comfyanonymous
acfbb83783 Rename. 2023-04-08 15:53:01 -04:00
comfyanonymous
25edb68351 Merge branch 'master' of https://github.com/city96/ComfyUI 2023-04-08 15:50:26 -04:00
comfyanonymous
88e5ccb415 Cleanup. 2023-04-07 02:31:46 -04:00
comfyanonymous
d4301d49d3 Fix loading SD1.5 diffusers checkpoint. 2023-04-07 01:30:33 -04:00
sALTaccount
9247130f31 fix loading alt folders 2023-04-06 22:02:26 -07:00
sALTaccount
8b7d1f0a4b search all diffusers paths (oops) 2023-04-06 21:48:58 -07:00
sALTaccount
0a388f2a23 allow configurable path for diffusers models 2023-04-06 21:45:08 -07:00
mligaintart
c80d164c5b Adds masking to Latent Composite, and provides new masking utilities to
allow better compositing.
2023-04-06 15:18:20 -04:00
flyingshutter
fb486c15c3 make LoadImagesMask work with non RGBA images 2023-04-06 19:02:28 +02:00
sALTaccount
7bd683c9f5 use precision determined by model management 2023-04-06 00:28:06 -07:00
sALTaccount
3badb30fb9 empty list if diffusers directory doesn't exist 2023-04-06 00:24:52 -07:00
sALTaccount
671feba9e6 diffusers loader 2023-04-05 23:57:31 -07:00
comfyanonymous
4ee5acc3a7 Add a way to set output directory with --output-directory 2023-04-05 14:29:30 -04:00
comfyanonymous
6706afcd0a Move unclip stuff out of _for_testing 2023-04-04 22:48:11 -04:00
comfyanonymous
18caacecea Merge branch 'nodes-post-processing' of https://github.com/EllangoK/ComfyUI 2023-04-04 13:51:26 -04:00
comfyanonymous
0e06be56ad Add noise augmentation setting to unCLIPConditioning. 2023-04-03 13:50:29 -04:00
EllangoK
f9f6352506 adds Blend, Blur, Dither, Sharpen nodes 2023-04-02 18:44:27 -04:00
comfyanonymous
bbd3cb4c22 Merge branch 'custom_routes' of https://github.com/pythongosssss/ComfyUI 2023-04-02 01:55:05 -04:00
comfyanonymous
b55667284c Add support for unCLIP SD2.x models.
See _for_testing/unclip in the UI for the new nodes.

unCLIPCheckpointLoader is used to load them.

unCLIPConditioning is used to add the image cond and takes as input a
CLIPVisionEncode output which has been moved to the conditioning section.
2023-04-01 23:19:15 -04:00
pythongosssss
5048e1e484 Merge remote-tracking branch 'origin/master' into custom_routes 2023-04-01 12:44:40 +01:00
pythongosssss
86f7d35883 Tweak server/custom node load order
- Load custom nodes after creating server
 - Add routes after loading custom nodes
Custom nodes can now add routes via PromptServer.instance
2023-04-01 12:44:29 +01:00
comfyanonymous
7da8d5f9f5 Add a TomePatchModel node to the _for_testing section.
Tome increases sampling speed at the expense of quality.
2023-03-31 17:19:58 -04:00
City
e3d748d912 Add human-readable name support for custom nodes 2023-03-31 07:05:17 +02:00
City
dd438a9d3b Add human-readable names for nodes 2023-03-30 23:13:58 +02:00
Silversith
ec0201e32a Bugfix/include optional node inputs (#271)
* Minor changes and extra nodes

* Added Preview Image for Nodes

* Add a delete images button on main floating menu

* Add a confirmation dialog

* Remove DeleteAll, Remove Custom KSampler, Remove Image List

* Remove Image and Custom Json Load

* Remove Custom Nodes

* remove patch.diff
2023-03-27 01:16:22 -04:00
comfyanonymous
200431f6ef Style. 2023-03-26 15:17:53 -04:00
m957ymj75urz
dfd2379df7 compute %width% and %height% in filepath when saving 2023-03-26 13:10:20 +02:00
comfyanonymous
71e7d96dcc Allow negative Lora strengths. 2023-03-25 21:31:39 -04:00
comfyanonymous
578af3b348 Merge branch 'allow-symbolic-link' of https://github.com/jn-jairo/ComfyUI 2023-03-25 17:30:22 -04:00
comfyanonymous
8c565a2344 Set default value of feathering to 40. 2023-03-25 04:49:58 -04:00
Guo Y.K
3d1d82571f nodes: ImagePadForOutpaint: clean imports 2023-03-25 16:32:48 +08:00
Guo Y.K
bd10592890 nodes: ImagePadForOutpaint: fix feathering, ignore edges not expanded 2023-03-25 16:27:47 +08:00
Guo Y.K
2a62c41ba5 nodes: add feathering to to ImagePadForOutpaint 2023-03-24 22:39:33 +08:00
Jairo Correa
875e280bb3 Allow output folder to be a symbolic link 2023-03-23 21:25:21 -03:00
Guo Y.K
51536ab543 nodes: add ImagePadForOutpaint 2023-03-23 23:33:35 +08:00
comfyanonymous
70d7791299 Lower PNG compression for more speed.
After some quick tests compress_level=4 seems to give the best compression
performance ratio for stable diffusion images.

It's 10x faster than max compression for an image size increase of only
2.5%.
2023-03-23 00:40:48 -04:00
comfyanonymous
22bbcbc73c Increase max res to 8192x8192 since 4096x4096 wasn't enough for some. 2023-03-22 12:22:48 -04:00
comfyanonymous
186e1324bd Fix bug with CLIPLoader. 2023-03-21 03:11:18 -04:00
comfyanonymous
757a39cdd9 Small fix. 2023-03-20 14:55:28 -04:00
comfyanonymous
8cdef9e8a1 Merge branch 'save-images' of https://github.com/m957ymj75urz/ComfyUI 2023-03-20 14:29:45 -04:00
m957ymj75urz
0581bd923f rework payload from server 2023-03-19 12:54:29 +01:00
comfyanonymous
06c7a9b406 Support multiple paths for embeddings. 2023-03-18 03:08:43 -04:00
comfyanonymous
d5bf8038c8 Merge T2IAdapterLoader and ControlNetLoader.
Workflows will be auto updated.
2023-03-17 18:17:59 -04:00
comfyanonymous
ee6cca1d0f Add folder_paths so models can be in multiple paths. 2023-03-17 18:01:11 -04:00
comfyanonymous
c34d4e939d Fix VAEEncodeForInpaint modifying source image. 2023-03-16 17:10:08 -04:00
m957ymj75urz
d0a98fc078 fixes for specific paths 2023-03-16 19:48:59 +01:00
comfyanonymous
46d01dd049 Fix bug when applying controlnet to negative prompt. 2023-03-15 17:58:13 -04:00
m957ymj75urz
66981a5bea resolve conflict with the new PreviewImage node 2023-03-15 12:10:45 +01:00
m957ymj75urz
ccf24a189e Merge branch 'master' into save-images 2023-03-15 10:48:15 +00:00
comfyanonymous
30be467b41 Make it more clear the recommended way to update the standalone build. 2023-03-14 19:14:18 -04:00
pythongosssss
dabe6816b7 tidy 2023-03-14 19:42:28 +00:00
pythongosssss
e8ef9a9210 Changed flag to new node 2023-03-14 19:28:07 +00:00
m957ymj75urz
dc041b42fc switch to realpath to check path traversal 2023-03-14 09:27:53 +01:00
m957ymj75urz
7f2412a064 remove subfolder widget and use filename_prefix 2023-03-14 09:08:54 +01:00
pythongosssss
0c128cb91d Added ability to save images to temp dir 2023-03-13 19:34:05 +00:00
m957ymj75urz
ffee6171dd fix makedirs on save 2023-03-12 20:23:46 +01:00
m957ymj75urz
dff33fe111 can specify a subfolder in the SaveImage node 2023-03-12 19:51:39 +01:00
comfyanonymous
9c4c183708 Put image upscaling nodes in image/upscaling category. 2023-03-11 18:10:36 -05:00
comfyanonymous
d777b2f4a9 Add a VAEEncodeTiled node. 2023-03-11 15:28:15 -05:00
comfyanonymous
b5cde7df94 Take some code from chainner to implement ESRGAN and other upscale models. 2023-03-11 13:09:28 -05:00
comfyanonymous
6b035cc30e Small refactor of custom node loading code. 2023-03-11 12:49:41 -05:00
comfyanonymous
c5f4e07c34 Prevent potential int overflow in SaveImage 2023-03-11 12:48:28 -05:00
comfyanonymous
40ac0f9184 Make the LoadImage node output the alpha as a mask. 2023-03-09 14:07:55 -05:00
pythongosssss
f8c053a5c7 Remove random spaces 2023-03-09 18:18:08 +00:00
pythongosssss
9ee1eb8dc5 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
1fcec7070e Added UploadImage+Mask nodes 2023-03-08 22:07:44 +00:00
comfyanonymous
0ed76ebbd9 Try to fix import issue. 2023-03-06 14:41:42 -05:00
pythongosssss
ec1cfb55fe Merge remote-tracking branch 'origin/master' into frontendrefactor 2023-03-06 17:02:34 +00:00
comfyanonymous
ca7e2e3827 Add --cpu to use the cpu for inference. 2023-03-06 10:50:50 -05:00
comfyanonymous
4d6ea1bdae It's more logical for the StyleModelApply to append it directly. 2023-03-06 01:48:18 -05:00
comfyanonymous
75f54df180 A tiny bit of reorganizing. 2023-03-06 01:30:17 -05:00
comfyanonymous
663fa6eafd 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
c2ee650ce4 Merge remote-tracking branch 'origin' into frontendrefactor 2023-03-03 19:30:24 +00:00
comfyanonymous
1500dd58c4 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
dfe25a9eaa Adding built in extensions + example 2023-03-03 18:28:34 +00:00
comfyanonymous
f21b0255a0 Move the CheckpointLoaderSimple to the right section. 2023-03-03 13:09:44 -05:00
comfyanonymous
c195dab61c 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
5608730809 To be really simple CheckpointLoaderSimple should pick the right type. 2023-03-03 11:07:10 -05:00
comfyanonymous
8a2699b47d New CheckpointLoaderSimple to load checkpoints without a config. 2023-03-03 03:37:35 -05:00
comfyanonymous
40fe09c7b8 Add a button to interrupt processing to the ui. 2023-03-02 15:24:51 -05:00
comfyanonymous
b59b82a73b Add a way to interrupt current processing in the backend. 2023-03-02 14:42:03 -05:00
comfyanonymous
573b8c18fe Outpainting actually works now. 2023-02-27 12:02:23 -05:00
pythongosssss
de0b83f6ac Merge branch 'comfyanonymous:master' into socketrework 2023-02-25 12:00:22 +00:00