@@ -145,7 +145,7 @@ def invoke(self, context: InvocationContext) -> ModelIdentifierOutput:
145
145
146
146
@invocation (
147
147
"main_model_loader" ,
148
- title = "Main Model - SD1.5" ,
148
+ title = "Main Model - SD1.5, SD2 " ,
149
149
tags = ["model" ],
150
150
category = "model" ,
151
151
version = "1.0.4" ,
@@ -155,7 +155,7 @@ class MainModelLoaderInvocation(BaseInvocation):
155
155
156
156
model : ModelIdentifierField = InputField (
157
157
description = FieldDescriptions .main_model ,
158
- ui_model_base = BaseModelType .StableDiffusion1 ,
158
+ ui_model_base = [ BaseModelType .StableDiffusion1 , BaseModelType . StableDiffusion2 ] ,
159
159
ui_model_type = ModelType .Main ,
160
160
)
161
161
# TODO: precision?
@@ -485,7 +485,11 @@ def invoke(self, context: InvocationContext) -> SDXLLoRALoaderOutput:
485
485
486
486
487
487
@invocation (
488
- "vae_loader" , title = "VAE Model - SD1.5, SDXL, SD3, FLUX" , tags = ["vae" , "model" ], category = "model" , version = "1.0.4"
488
+ "vae_loader" ,
489
+ title = "VAE Model - SD1.5, SD2, SDXL, SD3, FLUX" ,
490
+ tags = ["vae" , "model" ],
491
+ category = "model" ,
492
+ version = "1.0.4" ,
489
493
)
490
494
class VAELoaderInvocation (BaseInvocation ):
491
495
"""Loads a VAE model, outputting a VaeLoaderOutput"""
@@ -495,6 +499,7 @@ class VAELoaderInvocation(BaseInvocation):
495
499
title = "VAE" ,
496
500
ui_model_base = [
497
501
BaseModelType .StableDiffusion1 ,
502
+ BaseModelType .StableDiffusion2 ,
498
503
BaseModelType .StableDiffusionXL ,
499
504
BaseModelType .StableDiffusion3 ,
500
505
BaseModelType .Flux ,
0 commit comments