@@ -95,7 +95,7 @@ class ControlOutput(BaseInvocationOutput):
9595 control : ControlField = OutputField (description = FieldDescriptions .control )
9696
9797
98- @invocation ("controlnet" , title = "ControlNet" , tags = ["controlnet" ], category = "controlnet" )
98+ @invocation ("controlnet" , title = "ControlNet" , tags = ["controlnet" ], category = "controlnet" , version = "1.0.0" )
9999class ControlNetInvocation (BaseInvocation ):
100100 """Collects ControlNet info to pass to other nodes"""
101101
@@ -127,7 +127,9 @@ def invoke(self, context: InvocationContext) -> ControlOutput:
127127 )
128128
129129
130- @invocation ("image_processor" , title = "Base Image Processor" , tags = ["controlnet" ], category = "controlnet" )
130+ @invocation (
131+ "image_processor" , title = "Base Image Processor" , tags = ["controlnet" ], category = "controlnet" , version = "1.0.0"
132+ )
131133class ImageProcessorInvocation (BaseInvocation ):
132134 """Base class for invocations that preprocess images for ControlNet"""
133135
@@ -171,6 +173,7 @@ def invoke(self, context: InvocationContext) -> ImageOutput:
171173 title = "Canny Processor" ,
172174 tags = ["controlnet" , "canny" ],
173175 category = "controlnet" ,
176+ version = "1.0.0" ,
174177)
175178class CannyImageProcessorInvocation (ImageProcessorInvocation ):
176179 """Canny edge detection for ControlNet"""
@@ -193,6 +196,7 @@ def run_processor(self, image):
193196 title = "HED (softedge) Processor" ,
194197 tags = ["controlnet" , "hed" , "softedge" ],
195198 category = "controlnet" ,
199+ version = "1.0.0" ,
196200)
197201class HedImageProcessorInvocation (ImageProcessorInvocation ):
198202 """Applies HED edge detection to image"""
@@ -221,6 +225,7 @@ def run_processor(self, image):
221225 title = "Lineart Processor" ,
222226 tags = ["controlnet" , "lineart" ],
223227 category = "controlnet" ,
228+ version = "1.0.0" ,
224229)
225230class LineartImageProcessorInvocation (ImageProcessorInvocation ):
226231 """Applies line art processing to image"""
@@ -242,6 +247,7 @@ def run_processor(self, image):
242247 title = "Lineart Anime Processor" ,
243248 tags = ["controlnet" , "lineart" , "anime" ],
244249 category = "controlnet" ,
250+ version = "1.0.0" ,
245251)
246252class LineartAnimeImageProcessorInvocation (ImageProcessorInvocation ):
247253 """Applies line art anime processing to image"""
@@ -264,6 +270,7 @@ def run_processor(self, image):
264270 title = "Openpose Processor" ,
265271 tags = ["controlnet" , "openpose" , "pose" ],
266272 category = "controlnet" ,
273+ version = "1.0.0" ,
267274)
268275class OpenposeImageProcessorInvocation (ImageProcessorInvocation ):
269276 """Applies Openpose processing to image"""
@@ -288,6 +295,7 @@ def run_processor(self, image):
288295 title = "Midas Depth Processor" ,
289296 tags = ["controlnet" , "midas" ],
290297 category = "controlnet" ,
298+ version = "1.0.0" ,
291299)
292300class MidasDepthImageProcessorInvocation (ImageProcessorInvocation ):
293301 """Applies Midas depth processing to image"""
@@ -314,6 +322,7 @@ def run_processor(self, image):
314322 title = "Normal BAE Processor" ,
315323 tags = ["controlnet" ],
316324 category = "controlnet" ,
325+ version = "1.0.0" ,
317326)
318327class NormalbaeImageProcessorInvocation (ImageProcessorInvocation ):
319328 """Applies NormalBae processing to image"""
@@ -329,7 +338,9 @@ def run_processor(self, image):
329338 return processed_image
330339
331340
332- @invocation ("mlsd_image_processor" , title = "MLSD Processor" , tags = ["controlnet" , "mlsd" ], category = "controlnet" )
341+ @invocation (
342+ "mlsd_image_processor" , title = "MLSD Processor" , tags = ["controlnet" , "mlsd" ], category = "controlnet" , version = "1.0.0"
343+ )
333344class MlsdImageProcessorInvocation (ImageProcessorInvocation ):
334345 """Applies MLSD processing to image"""
335346
@@ -350,7 +361,9 @@ def run_processor(self, image):
350361 return processed_image
351362
352363
353- @invocation ("pidi_image_processor" , title = "PIDI Processor" , tags = ["controlnet" , "pidi" ], category = "controlnet" )
364+ @invocation (
365+ "pidi_image_processor" , title = "PIDI Processor" , tags = ["controlnet" , "pidi" ], category = "controlnet" , version = "1.0.0"
366+ )
354367class PidiImageProcessorInvocation (ImageProcessorInvocation ):
355368 """Applies PIDI processing to image"""
356369
@@ -376,6 +389,7 @@ def run_processor(self, image):
376389 title = "Content Shuffle Processor" ,
377390 tags = ["controlnet" , "contentshuffle" ],
378391 category = "controlnet" ,
392+ version = "1.0.0" ,
379393)
380394class ContentShuffleImageProcessorInvocation (ImageProcessorInvocation ):
381395 """Applies content shuffle processing to image"""
@@ -405,6 +419,7 @@ def run_processor(self, image):
405419 title = "Zoe (Depth) Processor" ,
406420 tags = ["controlnet" , "zoe" , "depth" ],
407421 category = "controlnet" ,
422+ version = "1.0.0" ,
408423)
409424class ZoeDepthImageProcessorInvocation (ImageProcessorInvocation ):
410425 """Applies Zoe depth processing to image"""
@@ -420,6 +435,7 @@ def run_processor(self, image):
420435 title = "Mediapipe Face Processor" ,
421436 tags = ["controlnet" , "mediapipe" , "face" ],
422437 category = "controlnet" ,
438+ version = "1.0.0" ,
423439)
424440class MediapipeFaceProcessorInvocation (ImageProcessorInvocation ):
425441 """Applies mediapipe face processing to image"""
@@ -442,6 +458,7 @@ def run_processor(self, image):
442458 title = "Leres (Depth) Processor" ,
443459 tags = ["controlnet" , "leres" , "depth" ],
444460 category = "controlnet" ,
461+ version = "1.0.0" ,
445462)
446463class LeresImageProcessorInvocation (ImageProcessorInvocation ):
447464 """Applies leres processing to image"""
@@ -470,6 +487,7 @@ def run_processor(self, image):
470487 title = "Tile Resample Processor" ,
471488 tags = ["controlnet" , "tile" ],
472489 category = "controlnet" ,
490+ version = "1.0.0" ,
473491)
474492class TileResamplerProcessorInvocation (ImageProcessorInvocation ):
475493 """Tile resampler processor"""
@@ -509,6 +527,7 @@ def run_processor(self, img):
509527 title = "Segment Anything Processor" ,
510528 tags = ["controlnet" , "segmentanything" ],
511529 category = "controlnet" ,
530+ version = "1.0.0" ,
512531)
513532class SegmentAnythingProcessorInvocation (ImageProcessorInvocation ):
514533 """Applies segment anything processing to image"""
0 commit comments