Commit Graph

131 Commits

Author SHA1 Message Date
comfyanonymous
ef7e79ec85 Fix output APNG not working with ffmpeg. 2023-11-24 18:24:19 -05:00
comfyanonymous
3aeca9e72c Fix APNG not working in ffmpeg. 2023-11-24 18:14:17 -05:00
comfyanonymous
564761ab2a Use same default fps as webp node. 2023-11-24 11:19:23 -05:00
comfyanonymous
3e33fad53d Add a node to save animated PNG files. These work in ffpmeg unlike webp. 2023-11-24 11:12:10 -05:00
comfyanonymous
9623e03e9f Fix typo. 2023-11-23 23:20:07 -05:00
comfyanonymous
838bcaa395 Nodes to properly use the SDV img2vid checkpoint.
The img2vid model is conditioned on clip vision output only which means
there's no CLIP model which is why I added a ImageOnlyCheckpointLoader to
load it. Note that the unClipCheckpointLoader can also load it because it
also has a CLIP_VISION output.

SDV_img2vid_Conditioning is the node used to pass the right conditioning
to the img2vid model.

VideoLinearCFGGuidance applies a linearly decreasing CFG scale to each
video frame from the cfg set in the sampler node to min_cfg.

SDV_img2vid_Conditioning can be found in conditioning->video_models
ImageOnlyCheckpointLoader can be found in loaders->video_models
VideoLinearCFGGuidance can be found in sampling->video_models
2023-11-23 19:48:49 -05:00
comfyanonymous
5e4d60a231 Support SVD img2vid model. 2023-11-23 19:41:33 -05:00
comfyanonymous
6a3d309f7c Fix SaveAnimatedWEBP not working when metadata is disabled. 2023-11-23 15:39:35 -05:00
comfyanonymous
b55e3ab86b Add a node to save animated webp. 2023-11-23 14:28:41 -05:00
comfyanonymous
2f876a465b Allow controlling downscale and upscale methods in PatchModelAddDownscale. 2023-11-22 03:23:16 -05:00
comfyanonymous
87d7fb04b3 Add LatentInterpolate to interpolate between latents. 2023-11-20 03:55:51 -05:00
comfyanonymous
0a37fa8a09 Add a RepeatImageBatch node. 2023-11-19 06:09:01 -05:00
comfyanonymous
476120a5a8 percent_to_sigma now returns a float instead of a tensor. 2023-11-18 23:20:29 -05:00
comfyanonymous
e07971cb86 Add ImageCrop node. 2023-11-18 04:44:17 -05:00
comfyanonymous
7676c8f41a Make deep shrink behave like it should. 2023-11-16 15:26:28 -05:00
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
702395d4ad Clean up and refactor sampler code.
This should make it much easier to write custom nodes with kdiffusion type
samplers.
2023-11-14 00:39:34 -05:00
comfyanonymous
08143aae10 Reorganize custom_sampling nodes. 2023-11-13 21:45:23 -05:00
comfyanonymous
eb5eefe3c8 Add a node to flip the sigmas for unsampling. 2023-11-13 21:45:08 -05:00
comfyanonymous
6641558406 Fix RescaleCFG for batch size > 1. 2023-11-10 22:05:25 -05:00
comfyanonymous
5b4cacf352 Working RescaleCFG node.
This was broken because of recent changes so I fixed it and moved it from
the experiments repo.
2023-11-10 20:52:10 -05:00
comfyanonymous
43dcfcd754 Support lcm models.
Use the "lcm" sampler to sample them, you also have to use the
ModelSamplingDiscrete node to set them as lcm models to use them properly.
2023-11-09 18:30:22 -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
matt3o
5cb911d521 add difference blend mode 2023-11-05 19:00:23 +01:00
comfyanonymous
4f94bce62e Increase maximum batch size in LatentRebatch. 2023-11-02 13:07:41 -04:00
tsone
121ec6ad78 Added Bayer dithering to Quantize node. 2023-10-31 22:22:40 +01:00
comfyanonymous
1d1621b03d HyperTile node, can be found in: _for_testing->HyperTile 2023-10-21 05:16:38 -04:00
comfyanonymous
512504f9b7 Implement updated FreeU as _for_testing->FreeU_V2 node 2023-10-18 02:06:49 -04:00
comfyanonymous
78a7bcc380 Support hypernetwork with mish activation function and layer norm. 2023-10-17 12:08:03 -04:00
Jairo Correa
87bdf1bbc3 Fix MaskComposite 2023-10-13 13:40:53 -03:00
Jairo Correa
ff48248d4b Fix FeatherMask 2023-10-13 12:26:54 -03:00
comfyanonymous
18e4504de7 Pull some small changes from the other repo. 2023-10-11 20:38:48 -04:00
comfyanonymous
2df37c0f6c Add a CLIPSave node to save CLIP model weights. 2023-10-10 01:24:49 -04:00
comfyanonymous
64fafcfab2 Add a VAESave node. 2023-10-09 01:42:15 -04:00
comfyanonymous
837735980f Fix SplitImageWithAlpha and JoinImageWithAlpha. 2023-10-08 15:52:10 -04:00
comfyanonymous
a84deecb7d Move _for_testing/custom_sampling nodes to sampling/custom_sampling. 2023-10-08 03:20:35 -04:00
comfyanonymous
89c54095c4 JoinImageWithAlpha now works with any mask shape. 2023-10-04 15:54:34 -04:00
comfyanonymous
241f3fd93a Change a few things in #1578. 2023-10-04 15:43:41 -04:00
MoonRide303
ff93847989 Corrected joining images with alpha (for RGBA input), and checking scaling conditions 2023-10-04 19:04:52 +02:00
MoonRide303
9f9f688bec Adding default alpha when splitting RGB images 2023-10-04 19:04:52 +02: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
e1b667e4d2 Add VPScheduler node 2023-10-01 03:48:07 -04:00
comfyanonymous
2f5c2420d2 DPMPP_SDE node. 2023-09-30 01:51:22 -04:00
comfyanonymous
74b335e72d Add ExponentialScheduler and PolyexponentialScheduler nodes. 2023-09-29 09:05:30 -04:00
Jukka Seppänen
4202776ba2 Allow GrowMask node to work with batches (for AnimateDiff) (#1623)
* Allow mask batches

This allows LatentCompositeMasked -node to work with AnimateDiff. I tried to keep old functionality too, unsure if it's correct, but both single mask and batch of masks seems to work with this change.

* Update nodes_mask.py
2023-09-28 22:01:19 -04:00
comfyanonymous
eeadcff352 Add SamplerDPMPP_2M_SDE node. 2023-09-28 21:56:23 -04:00
comfyanonymous
190719bb88 Fix SplitSigmas. 2023-09-28 01:11:22 -04:00