@@ -86,6 +86,12 @@ def __ne__(self, __value: object) -> bool:
8686 f' - Defines the height of the image.\n \n '
8787)})
8888
89+ # VIDEO
90+ TYPE_VIDEO_IN = ('VIDEO' , {'tooltip' : (
91+ f' Video Input\n { "-" * TOOLTIP_UNDERLINE } \n '
92+ f' - The video input.\n \n '
93+ )})
94+
8995# LATENT
9096TYPE_LATENT_IN = ('LATENT' , {'tooltip' : (
9197 f' Latent Image\n { "-" * TOOLTIP_UNDERLINE } \n '
@@ -291,6 +297,11 @@ def pad_label(label):
291297 f' - This field is not functional. It is just a label for the group of settings below.\n \n '
292298)})
293299
300+ TYPE_FLOWSTATE_LABEL_SAVING = ('STRING' , {'default' : pad_label ('💾 File Save Settings' ), 'tooltip' : (
301+ f' Label\n { "-" * TOOLTIP_UNDERLINE } \n '
302+ f' - This field is not functional. It is just a label for the group of settings below.\n \n '
303+ )})
304+
294305TYPE_FLOWSTATE_LABEL_SAMPLING = ('STRING' , {'default' : pad_label ('🧪 Sampling Settings' ), 'tooltip' : (
295306 f' Label\n { "-" * TOOLTIP_UNDERLINE } \n '
296307 f' - This field is not functional. It is just a label for the group of settings below.\n \n '
@@ -316,6 +327,11 @@ def pad_label(label):
316327# FLOWSTATE CREATOR GENERIC TYPES
317328##
318329
330+ # BOOLEAN
331+ TYPE_SEED_SELECT = ('BOOLEAN' , {'default' : True , 'tooltip' : (
332+ f' Fixed Output\n { "-" * TOOLTIP_UNDERLINE } \n '
333+ f' - Choose to get the same output every time or get variations.\n \n '
334+ )})
319335
320336# SAGE ATTENTION
321337enabled_sage_modes = [
@@ -344,44 +360,56 @@ def pad_label(label):
344360
345361
346362# VIDEO
347- TYPE_NUM_VIDEO_FRAMES = ('INT' , {'default' : 48 , 'min' : 1 , 'max' : nodes .MAX_RESOLUTION , 'step' : 1 , 'tooltip' : (
363+ TYPE_NUM_VIDEO_FRAMES = ('INT' , {'default' : 25 , 'min' : 1 , 'max' : nodes .MAX_RESOLUTION , 'step' : 1 , 'tooltip' : (
348364 f' Number of Video Frames\n { "-" * TOOLTIP_UNDERLINE } \n '
349365 f' - The number of frames you want in your final video.\n \n '
350366)})
351-
352-
353- ##
354- # FLOWSTATE VIDEO CREATOR
355- ##
356367TYPE_FPS = ('INT' , {'default' : 12 , 'min' : 1 , 'max' : 120 , 'tooltip' : (
357368 f' Frames Per Second\n { "-" * TOOLTIP_UNDERLINE } \n '
358369 f' - The number of frames per second in the created video.\n \n '
359370)})
360- TYPE_FRAMES_IN = ('IMAGE' , {'tooltip' : (
361- f' Video Frames\n { "-" * TOOLTIP_UNDERLINE } \n '
362- f' - The frames used to create the video.\n \n '
363- )})
364371TYPE_AUDIO_IN = ('AUDIO' , {'tooltip' : (
365372 f' Video Audio\n { "-" * TOOLTIP_UNDERLINE } \n '
366373 f' - Optional audio to be added to the video.\n \n '
367374)})
368- TYPE_FILENAME_PREFIX = ('STRING' , {'default' : 'video/ComyUI' , 'tooltip' : (
369- f' Filename Prefix\n { "-" * TOOLTIP_UNDERLINE } \n '
370- f' - The prefix for the file to save.\n '
371- f' - This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.\n \n '
372- )})
373375TYPE_VIDEO_FORMAT = (['mp4' , 'auto' ], {
374376 'tooltip' : (
375377 f' Video Format\n { "-" * TOOLTIP_UNDERLINE } \n '
376378 f' - The format to save the video as.\n \n '
377379 )
378380})
381+ TYPE_SAVE_VIDEO_TYPE = (['mp4' , 'gif' ], {
382+ 'tooltip' : (
383+ f' Video Save Type\n { "-" * TOOLTIP_UNDERLINE } \n '
384+ f' - Save the video as an MP4 or a GIF.\n \n '
385+ )
386+ })
379387TYPE_VIDEO_CODEC = (['h264' , 'auto' ], {
380388 'tooltip' : (
381389 f' Video Codec\n { "-" * TOOLTIP_UNDERLINE } \n '
382390 f' - The codec to use for the video.\n \n '
383391 )
384392})
393+ TYPE_FRAMES_IN = ('IMAGE' , {'tooltip' : (
394+ f' Video Frames\n { "-" * TOOLTIP_UNDERLINE } \n '
395+ f' - The frames used to create the video.\n \n '
396+ )})
397+ TYPE_BOOLEAN_SAVE_VIDEO = ('BOOLEAN' , {'default' : False , 'tooltip' : (
398+ f' Save Video\n { "-" * TOOLTIP_UNDERLINE } \n '
399+ f' - Choose whether to save the video.\n \n '
400+ )})
401+ TYPE_FILENAME_PREFIX = ('STRING' , {'default' : 'video/WANStudio' , 'tooltip' : (
402+ f' Filename Prefix\n { "-" * TOOLTIP_UNDERLINE } \n '
403+ f' - The prefix for the file to save.\n '
404+ f' - This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.\n \n '
405+ )})
406+
407+
408+ ##
409+ # FLOWSTATE VIDEO CREATOR
410+ ##
411+
412+ # NONE
385413
386414
387415##
@@ -510,7 +538,13 @@ def pad_label(label):
510538 f' CLIP Vision Output\n { "-" * TOOLTIP_UNDERLINE } \n '
511539 f' - Optionally, use a CLIP Vision model.\n \n '
512540)})
513- TYPE_WAN_STUDIO_OUT = ('IMAGE' , 'LATENT' )
541+ TYPE_WAN_STUDIO_OUT = ('VIDEO' , )
542+ TYPE_WAN_STUDIO_FILENAME_PREFIX = ('STRING' , {'default' : 'video/FlowState_WANStudio' , 'tooltip' : (
543+ f' Filename Prefix\n { "-" * TOOLTIP_UNDERLINE } \n '
544+ f' - The prefix for the file to save.\n '
545+ f' - This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.\n '
546+ f' - This is ignored if you choose not to save the video.\n \n '
547+ )})
514548
515549
516550##
0 commit comments