Make empty latent node work with other models. (#12062)

This commit is contained in:
comfyanonymous 2026-01-24 16:23:20 -08:00 committed by GitHub
parent 4e6a1b66a9
commit aef4e13588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,6 +594,7 @@ class Wan22(Wan21):
class HunyuanImage21(LatentFormat):
latent_channels = 64
latent_dimensions = 2
spacial_downscale_ratio = 32
scale_factor = 0.75289
latent_rgb_factors = [
@ -727,6 +728,7 @@ class HunyuanVideo15(LatentFormat):
latent_rgb_factors_bias = [ 0.0456, -0.0202, -0.0644]
latent_channels = 32
latent_dimensions = 3
spacial_downscale_ratio = 16
scale_factor = 1.03682
taesd_decoder_name = "lighttaehy1_5"