Commit Graph

278 Commits

Author SHA1 Message Date
comfyanonymous
d385b8a68d Add PatchModelAddDownscale (Kohya Deep Shrink) node.
By adding a downscale to the unet in the first timesteps this node lets
you generate images at higher resolutions with less consistency issues.
2023-11-16 13:25:46 -05:00
comfyanonymous
5514c4b8ce Invert the start and end percentages in the code.
This doesn't affect how percentages behave in the frontend but breaks
things if you relied on them in the backend.

percent_to_sigma goes from 0 to 1.0 instead of 1.0 to 0 for less confusion.

Make percent 0 return an extremely large sigma and percent 1.0 return a
zero one to fix imprecision.
2023-11-16 04:23:44 -05:00
comfyanonymous
8d8c22bba7 Lower cfg step to 0.1 in sampler nodes. 2023-11-09 17:35:17 -05:00
comfyanonymous
4d21372152 Add: advanced->model->ModelSamplingDiscrete node.
This allows changing the sampling parameters of the model (eps or vpred)
or set the model to use zsnr.
2023-11-07 03:28:53 -05:00
comfyanonymous
1d1621b03d HyperTile node, can be found in: _for_testing->HyperTile 2023-10-21 05:16:38 -04:00
comfyanonymous
459787f78f Make VAE code closer to sgm. 2023-10-17 15:18:51 -04:00
comfyanonymous
b1e0568f52 Make clear that the old CheckpointLoader is deprecated. 2023-10-15 02:22:22 -04:00
comfyanonymous
18e4504de7 Pull some small changes from the other repo. 2023-10-11 20:38:48 -04:00
comfyanonymous
241f3fd93a Change a few things in #1578. 2023-10-04 15:43:41 -04:00
MoonRide303
1c06c81343 Change channel type to MASK (reduced redundancy, increased usability) 2023-10-04 19:04:52 +02:00
MoonRide303
a138e66970 Added support for Porter-Duff image compositing 2023-10-04 19:04:48 +02:00
comfyanonymous
08f555bf47 Refactor with code from comment of #1588 2023-10-02 17:26:59 -04:00
comfyanonymous
75a26ed5ee Add a SamplerCustom Node.
This node takes a list of sigmas and a sampler object as input.

This lets people easily implement custom schedulers and samplers as nodes.

More nodes will be added to it in the future.
2023-09-27 22:21:18 -04:00
comfyanonymous
de1158883e Refactor sampling related code. 2023-09-27 16:45:22 -04:00
comfyanonymous
909338c833 Make LoadImage and LoadImageMask return masks in batch format. 2023-09-26 02:56:40 -04:00
comfyanonymous
5d97c6af3c Merge branch 'proportional-scale' of https://github.com/jn-jairo/ComfyUI 2023-09-25 12:39:53 -04:00
comfyanonymous
528589def5 1024 wasn't enough. 2023-09-25 01:46:44 -04:00
comfyanonymous
1cdafa2f28 Increase maximum batch sizes of empty image nodes. 2023-09-25 01:22:37 -04:00
comfyanonymous
70c6e04ae4 Fix typo. 2023-09-24 13:27:57 -04:00
Jairo Correa
9c57318856 Proportional scale latent and image 2023-09-24 12:08:54 -03:00
comfyanonymous
a1006587ec Implement FreeU: Free Lunch in Diffusion U-Net node.
_for_testing->FreeU
2023-09-23 00:56:09 -04:00
comfyanonymous
1108b51328 Add some nodes to add, subtract and multiply latents. 2023-09-21 22:23:01 -04:00
comfyanonymous
2e9b60dee6 Increase range of lora strengths. 2023-09-20 17:58:54 -04:00
MoonRide303
20d8e318c5 Added support for lanczos scaling 2023-09-19 10:40:38 +02:00
comfyanonymous
5fed13c849 Lower the minimum resolution of EmptyLatentImage. 2023-09-18 16:20:03 -04:00
comfyanonymous
97a7c7b43b Nodes can now control the rounding in the UI. 2023-09-17 12:49:06 -04:00
comfyanonymous
b58288668f Add a ConditioningSetAreaPercentage node. 2023-09-06 03:28:27 -04:00
comfyanonymous
b0b63eb8a3 Only return tuple of 3 args in CheckpointLoaderSimple. 2023-09-02 03:34:57 -04:00
comfyanonymous
778c290a67 Fix VAEDecodeTiled minimum. 2023-08-31 14:26:16 -04:00
comfyanonymous
845faf8e51 Clean up DiffusersLoader node. 2023-08-30 12:57:07 -04:00
comfyanonymous
c019939b9e Use the same units for tile size in VAEDecodeTiled and VAEEncodeTiled. 2023-08-29 01:51:35 -04:00
BVH
719f132e04 Reduce min tile size for encode 2023-08-28 22:39:09 +05:30
BVH
c5bd14012a Make tile size in Tiled VAE encode/decode user configurable 2023-08-28 19:57:22 +05:30
comfyanonymous
a2602fc4f9 Move controlnet code to comfy/controlnet.py 2023-08-25 17:33:04 -04:00
comfyanonymous
e26b2b6fd3 Don't hardcode node names for image upload widget. 2023-08-22 19:41:49 -04:00
pythongosssss
baf88698e1 Allow loading js extensions without copying to /web folder 2023-08-20 19:55:48 +01:00
comfyanonymous
9a0b369956 Add an EmptyImage node.
TODO: implement color picker in the frontend.
2023-08-15 17:53:10 -04:00
comfyanonymous
1e9b164275 Add node to batch images together. 2023-08-14 20:23:38 -04:00
comfyanonymous
736e2e8f49 CLIPVisionEncode can now encode multiple images. 2023-08-14 16:54:05 -04:00
comfyanonymous
3063968590 Make LatentBlend more consistent with other nodes. 2023-08-04 02:51:28 -04:00
FuamiCake
668135abb4 Add LatentBlend node, allowing for blending between two Latent inputs. 2023-08-01 01:23:14 -05:00
FuamiCake
bc6c210a8e SaveLatent reports its outputs so they are visible to API 2023-07-30 16:36:55 -05:00
comfyanonymous
8088be4f2e Add --disable-metadata argument to disable saving metadata in files. 2023-07-28 12:31:41 -04:00
comfyanonymous
2c22729cec Start is now 0.0 and end is now 1.0 for the timestep ranges. 2023-07-24 18:38:17 -04:00
comfyanonymous
857a80b857 ControlNetApplyAdvanced can now define when controlnet gets applied. 2023-07-24 17:50:49 -04:00
comfyanonymous
0ed4637a7a Add a ControlNetApplyAdvanced node.
The controlnet can be applied to the positive or negative prompt only by
connecting it correctly.
2023-07-24 13:35:20 -04:00
comfyanonymous
156b047427 Add a way to set which range of timesteps the cond gets applied to. 2023-07-24 09:25:02 -04:00
ComfyUI-Community
d9280c8353 Patch del self.loaded_lora to prevent error with persistent lora_name swapping 2023-07-15 17:11:12 -07:00
comfyanonymous
8ee8947887 Move conditioning concat node to conditioning section. 2023-07-13 21:44:56 -04:00
comfyanonymous
a85b525a8a Add a canny preprocessor node. 2023-07-13 13:26:48 -04:00