258 lines
14 KiB
Python
258 lines
14 KiB
Python
from .pvl_call_openai_assistant import CallAssistantNode
|
|
from .pvl_comfydeploy_node import ComfyDeployNode
|
|
from .pvl_checkIfNone import IsConnected
|
|
from .pvl_fal_kontext_max_multi import PVL_fal_KontextMaxMulti_API
|
|
from .pvl_fal_flux_with_lora import PVL_fal_FluxWithLora_API
|
|
from .pvl_fal_flux_dev import PVL_fal_FluxDev_API
|
|
from .pvl_fal_kontext_max_single import PVL_fal_KontextMaxSingle_API
|
|
from .pvl_fal_kontext_dev_inpaint import PVL_fal_KontextDevInpaint_API
|
|
from .pvl_fal_flux_general import PVL_fal_FluxGeneral_API
|
|
from .pvl_fal_kontext_dev_lora import PVL_fal_KontextDevLora_API
|
|
from .pvl_fal_kontext_pro import PVL_fal_KontextPro_API
|
|
from .pvl_fal_flux_pro11_ultra import PVL_fal_FluxPro_v1_1_Ultra_API
|
|
from .pvl_fal_flux_pro_fill import PVL_fal_FluxPro_Fill_API
|
|
from .pvl_fal_kontext_dev import PVL_fal_Kontext_Dev_API
|
|
from .pvl_fal_lumaphoton_flash_reframe import PVL_fal_LumaPhoton_FlashReframe_API
|
|
from .pvl_fal_lumaphoton_reframe import PVL_fal_LumaPhoton_Reframe_API
|
|
from .pvl_NoneOutputNode import PVL_NoneOutputNode
|
|
from .pvl_SaveOrNot import PVL_SaveOrNot
|
|
from .pvl_ImageResize import PVL_ImageResize
|
|
from .pvl_ImageStitch import PVL_ImageStitch
|
|
from .pvl_fal_nano_banana_edit import PVL_fal_NanoBanana_API
|
|
from .pvl_stitch2size import PVL_Stitch2Size
|
|
from .pvl_crop2AR import PVL_Crop2AR
|
|
from .pvl_style_picker import PVL_StylePicker
|
|
from .pvl_google_nano_banana import PVL_Google_NanoBanana_API
|
|
from .pvl_fal_seedream4_edit import PVL_fal_SeeDream4_API
|
|
from .pvl_fal_qwen_txt2img import PVL_fal_QwenImage_API
|
|
from .pvl_fal_flux_pulid import PVL_fal_FluxPulid
|
|
from .pvl_google_nano_banana_multi_img import PVL_Google_NanoBanana_Multi_API
|
|
from .pvl_google_nano_banana_pro_multi_img import PVL_Google_NanoBanana_PRO_Multi_API
|
|
from .pvl_gemini_api import PVL_Gemini_API
|
|
from .pvl_gemini_with_fallback_api import PVL_Gemini_with_fallback_API
|
|
from .pvl_gemini_api_multi import PVL_Gemini_API_Multi
|
|
from .pvl_gemini_with_fallback_api_multi import PVL_Gemini_with_fallback_API_Multi
|
|
from .pvl_txt import PVL_Txt
|
|
from .pvl_boolean_logic import PVL_BooleanLogic
|
|
from .pvl_any2string import PVL_Any2String
|
|
from .pvl_fal_remove_bg_v2 import PVL_fal_RemoveBackground_API
|
|
from .pvl_fal_depth_anything_v2 import PVL_fal_DepthAnythingV2_API
|
|
from .pvl_google_nano_banana_mandatory_img import PVL_Google_NanoBanana_API_mandatory_IMG
|
|
from .pvl_fal_flux_with_lora_pulid import PVL_fal_FluxWithLoraPulID_API
|
|
from .pvl_fal_ministudio_avatar import PVL_fal_FluxDevPulidAvatar_API
|
|
from .pvl_comfydeploy_avatar_pulid import PVL_Comfydeploy_Avatar_PulID_API
|
|
from .pvl_gemini_api_avatar_special import PVL_Gemini_API_avatar_special
|
|
from .pvl_edge_extend import PVL_EdgeExtend
|
|
from .pvl_split_string import PVL_SplitString
|
|
from .pvl_math_condition import PVL_MathCondition
|
|
from .pvl_batch_any import PVL_BatchAny
|
|
from .pvl_string_to_number import PVL_StringToNumber
|
|
from .pvl_math import PVL_Math
|
|
from .pvl_comfydeploy_universal import PVL_ComfyDeploy_Universal
|
|
from .pvl_compare import PVL_Compare
|
|
from .pvl_image_translation_offset import PVL_Image_Translation_Offset
|
|
from .pvl_image_composite import PVL_ImageComposite
|
|
from .pvl_qwen_img_edit_inpaint import PVL_Qwen_Img_Edit_Inpaint
|
|
from .pvl_qwen_img_edit_plus import PVL_Qwen_Img_Edit_Plus
|
|
from .pvl_switch import PVL_Switch
|
|
from .pvl_switchTen import PVL_Switch_Huge
|
|
from .pvl_switch_x5 import PVL_Switch_x5
|
|
from .pvl_switch_x10 import PVL_Switch_x10
|
|
from .pvl_switch_x15 import PVL_Switch_x15
|
|
from .pvl_string_concat_x3 import PVL_StringConcatX3
|
|
from .pvl_string_concat_x8 import PVL_StringConcatX8
|
|
from .pvl_padding import PVL_Padding
|
|
from .pvl_fal_segment import PVL_fal_EvfSam_API
|
|
from .pvl_fal_segment_x5 import PVL_fal_EvfSam_X5_API
|
|
from .pvl_fal_seg_florence2 import PVL_Seg_Florence2_API
|
|
from .pvl_gemini_segmentation import PVL_GeminiSegmentation
|
|
from .pvl_fal_flux2_dev import PVL_fal_Flux2_Dev_API
|
|
from .pvl_fal_flux2_pro import PVL_fal_Flux2_Pro_API
|
|
from .pvl_fal_flux2_flex import PVL_fal_Flux2_Flex_API
|
|
from .pvl_fal_flux2_camera_ctrl import PVL_fal_Flux2_Camera_Ctrl_API
|
|
from .pvl_color_match import PVL_Color_Match
|
|
from .pvl_get_image_size import PVL_Get_Image_Size
|
|
from .pvl_text_overlay import PVL_Text_Overlay
|
|
from .pvl_fal_seedream_45 import PVL_fal_SeeDream_45_API
|
|
from .pvl_fal_flux_dev_inpaint import PVL_fal_Flux_Dev_Inpaint_API
|
|
from .pvl_img_batch_utils import PVL_ImageListToImageBatch
|
|
from .pvl_img_batch_utils import PVL_ImageBatchToImageList
|
|
from .pvl_fal_sam3_segment import PVL_fal_Sam3_Segmentation_API
|
|
from .pvl_fal_moondream3_segment import PVL_fal_Moondream3_Segment_API
|
|
from .pvl_crop_to_mask import PVL_CropToMask
|
|
from .pvl_string_utils import PVL_StringListToString
|
|
from .pvl_string_utils import PVL_StringToStringList
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"PVL Call OpenAI Assistant": CallAssistantNode,
|
|
"PVL ComfyDeploy API Caller": ComfyDeployNode,
|
|
"PVLCheckIfConnected": IsConnected,
|
|
"PVL_fal_KontextMaxMulti_API": PVL_fal_KontextMaxMulti_API,
|
|
"PVL_fal_FluxWithLora_API": PVL_fal_FluxWithLora_API,
|
|
"PVL_fal_FluxDev_API": PVL_fal_FluxDev_API,
|
|
"PVL_fal_KontextMaxSingle_API": PVL_fal_KontextMaxSingle_API,
|
|
"PVL_fal_KontextDevInpaint_API": PVL_fal_KontextDevInpaint_API,
|
|
"PVL_fal_FluxGeneral_API": PVL_fal_FluxGeneral_API,
|
|
"PVL_fal_KontextDevLora_API": PVL_fal_KontextDevLora_API,
|
|
"PVL_fal_KontextPro_API": PVL_fal_KontextPro_API,
|
|
"PVL_fal_FluxPro_v1_1_Ultra_API": PVL_fal_FluxPro_v1_1_Ultra_API,
|
|
"PVL_fal_FluxPro_Fill_API": PVL_fal_FluxPro_Fill_API,
|
|
"PVL_fal_Kontext_Dev_API": PVL_fal_Kontext_Dev_API,
|
|
"PVL_fal_LumaPhoton_FlashReframe_API": PVL_fal_LumaPhoton_FlashReframe_API,
|
|
"PVL_fal_LumaPhoton_Reframe_API": PVL_fal_LumaPhoton_Reframe_API,
|
|
"PVL_NoneOutputNode": PVL_NoneOutputNode,
|
|
"PVL_SaveOrNot": PVL_SaveOrNot,
|
|
"PVL_ImageResize": PVL_ImageResize,
|
|
"PVL_ImageStitch": PVL_ImageStitch,
|
|
"PVL_fal_NanoBanana_API": PVL_fal_NanoBanana_API,
|
|
"PVL_Stitch2Size": PVL_Stitch2Size,
|
|
"PVL_Crop2AR": PVL_Crop2AR,
|
|
"PVL_StylePicker": PVL_StylePicker,
|
|
"PVL_Google_NanoBanana_API": PVL_Google_NanoBanana_API,
|
|
"PVL_fal_SeeDream4_API": PVL_fal_SeeDream4_API,
|
|
"PVL_fal_QwenImage_API": PVL_fal_QwenImage_API,
|
|
"PVL_fal_FluxPulid": PVL_fal_FluxPulid,
|
|
"PVL_Google_NanoBanana_Multi_API": PVL_Google_NanoBanana_Multi_API,
|
|
"PVL_Google_NanoBanana_PRO_Multi_API": PVL_Google_NanoBanana_PRO_Multi_API,
|
|
"PVL_Gemini_API": PVL_Gemini_API,
|
|
"PVL_Gemini_with_fallback_API": PVL_Gemini_with_fallback_API,
|
|
"PVL_Gemini_API_Multi": PVL_Gemini_API_Multi,
|
|
"PVL_Gemini_with_fallback_API_Multi": PVL_Gemini_with_fallback_API_Multi,
|
|
"PVL_Txt": PVL_Txt,
|
|
"PVL_BooleanLogic": PVL_BooleanLogic,
|
|
"PVL_Any2String": PVL_Any2String,
|
|
"PVL_fal_RemoveBackground_API": PVL_fal_RemoveBackground_API,
|
|
"PVL_fal_DepthAnythingV2_API": PVL_fal_DepthAnythingV2_API,
|
|
"PVL_Google_NanoBanana_API_mandatory_IMG": PVL_Google_NanoBanana_API_mandatory_IMG,
|
|
"PVL_fal_FluxWithLoraPulID_API": PVL_fal_FluxWithLoraPulID_API,
|
|
"PVL_fal_FluxDevPulidAvatar_API": PVL_fal_FluxDevPulidAvatar_API,
|
|
"PVL_Comfydeploy_Avatar_PulID_API": PVL_Comfydeploy_Avatar_PulID_API,
|
|
"PVL_Gemini_API_avatar_special": PVL_Gemini_API_avatar_special,
|
|
"PVL_EdgeExtend": PVL_EdgeExtend,
|
|
"PVL_SplitString": PVL_SplitString,
|
|
"PVL_MathCondition": PVL_MathCondition,
|
|
"PVL_BatchAny": PVL_BatchAny,
|
|
"PVL_StringToNumber": PVL_StringToNumber,
|
|
"PVL_Math": PVL_Math,
|
|
"PVL_ComfyDeploy_Universal": PVL_ComfyDeploy_Universal,
|
|
"PVL Compare": PVL_Compare,
|
|
"PVL_Image_Translation_Offset": PVL_Image_Translation_Offset,
|
|
"PVL_ImageComposite": PVL_ImageComposite,
|
|
"PVL_Qwen_Img_Edit_Inpaint": PVL_Qwen_Img_Edit_Inpaint,
|
|
"PVL_Qwen_Img_Edit_Plus": PVL_Qwen_Img_Edit_Plus,
|
|
"PVL_Switch": PVL_Switch,
|
|
"PVL_Switch_Huge": PVL_Switch_Huge,
|
|
"PVL_Switch_x5": PVL_Switch_x5,
|
|
"PVL_Switch_x10": PVL_Switch_x10,
|
|
"PVL_Switch_x15": PVL_Switch_x15,
|
|
"PVL_StringConcatX3": PVL_StringConcatX3,
|
|
"PVL_StringConcatX8": PVL_StringConcatX8,
|
|
"PVL_Padding": PVL_Padding,
|
|
"PVL_fal_EvfSam_API": PVL_fal_EvfSam_API,
|
|
"PVL_fal_EvfSam_X5_API": PVL_fal_EvfSam_X5_API,
|
|
"PVL_Seg_Florence2_API": PVL_Seg_Florence2_API,
|
|
"PVL_GeminiSegmentation": PVL_GeminiSegmentation,
|
|
"PVL_fal_Flux2_Dev_API": PVL_fal_Flux2_Dev_API,
|
|
"PVL_fal_Flux2_Pro_API": PVL_fal_Flux2_Pro_API,
|
|
"PVL_fal_Flux2_Flex_API": PVL_fal_Flux2_Flex_API,
|
|
"PVL_fal_Flux2_Camera_Ctrl_API": PVL_fal_Flux2_Camera_Ctrl_API,
|
|
"PVL_Color_Match": PVL_Color_Match,
|
|
"PVL_Get_Image_Size": PVL_Get_Image_Size,
|
|
"PVL_Text_Overlay": PVL_Text_Overlay,
|
|
"PVL_fal_SeeDream_45_API": PVL_fal_SeeDream_45_API,
|
|
"PVL_fal_Flux_Dev_Inpaint_API": PVL_fal_Flux_Dev_Inpaint_API,
|
|
"PVL_ImageListToImageBatch": PVL_ImageListToImageBatch,
|
|
"PVL_ImageBatchToImageList": PVL_ImageBatchToImageList,
|
|
"PVL_fal_Sam3_Segmentation_API": PVL_fal_Sam3_Segmentation_API,
|
|
"PVL_fal_Moondream3_Segment_API": PVL_fal_Moondream3_Segment_API,
|
|
"PVL_CropToMask": PVL_CropToMask,
|
|
"PVL_StringListToString": PVL_StringListToString,
|
|
"PVL_StringToStringList": PVL_StringToStringList,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"PVL Call OpenAI Assistant": "PVL Call OpenAI Assistant",
|
|
"PVL ComfyDeploy API Caller": "PVL ComfyDeploy API Caller",
|
|
"PVLCheckIfConnected": "PVL Check If Connected",
|
|
"PVL_fal_KontextMaxMulti_API": "PVL KONTEXT MAX MULTI (fal.ai)",
|
|
"PVL_fal_FluxWithLora_API": "PVL FLUX DEV LORA (fal.ai)",
|
|
"PVL_fal_FluxDev_API": "PVL FLUX DEV (fal.ai)",
|
|
"PVL_fal_KontextMaxSingle_API": "PVL Kontext Max Single (fal.ai)",
|
|
"PVL_fal_KontextDevInpaint_API": "PVL Kontext Dev Inpaint (fal.ai)",
|
|
"PVL_fal_FluxGeneral_API": "PVL FLUX General (fal.ai)",
|
|
"PVL_fal_KontextDevLora_API": "PVL Kontext Dev LoRA (fal.ai)",
|
|
"PVL_fal_KontextPro_API": "PVL Kontext Pro (fal.ai)",
|
|
"PVL_fal_FluxPro_v1_1_Ultra_API": "PVL FluxPro1.1 Ultra (fal.ai)",
|
|
"PVL_fal_FluxPro_Fill_API": "PVL FluxPro Fill (fal.ai)",
|
|
"PVL_fal_Kontext_Dev_API": "PVL Kontext Dev (fal.ai)",
|
|
"PVL_fal_LumaPhoton_Reframe_API": "PVL LumaPhoton Reframe (fal.ai)",
|
|
"PVL_NoneOutputNode": "PVL NoneOutputNode",
|
|
"PVL_SaveOrNot": "PVL Save Or Not",
|
|
"PVL_ImageResize": "PVL Image Resize",
|
|
"PVL_ImageStitch": "PVL Image Stitch",
|
|
"PVL_fal_NanoBanana_API": "PVL FAL Nano-Banana Edit",
|
|
"PVL_Stitch2Size": "PVL Stitch 2 Size",
|
|
"PVL_Crop2AR": "PVL Crop to Aspect Ratio",
|
|
"PVL_StylePicker": "PVL StylePicker",
|
|
"PVL_Google_NanoBanana_API": "PVL Google NanoBanana API",
|
|
"PVL_fal_SeeDream4_API": "FAL SeeDream4 Edit (fal.ai)",
|
|
"PVL_fal_QwenImage_API": "PVL QwenImage txt2img (fal.ai)",
|
|
"PVL_fal_FluxPulid": "PVL Flux PuLID (fal.ai)",
|
|
"PVL_Google_NanoBanana_Multi_API": "PVL Google NanoBanana API Multi",
|
|
"PVL_Google_NanoBanana_PRO_Multi_API": "PVL Google NanoBanana PRO Multi API",
|
|
"PVL_Gemini_API": "PVL Gemini Api",
|
|
"PVL_Gemini_with_fallback_API": "PVL Gemini with fallback Api",
|
|
"PVL_Gemini_API_Multi": "PVL Gemini Api Multi",
|
|
"PVL_Gemini_with_fallback_API_Multi": "PVL Gemini with fallback Multi",
|
|
"PVL_Txt": "PVL Txt",
|
|
"PVL_BooleanLogic": "PVL BooleanLogic",
|
|
"PVL_Any2String": "PVL Any To String",
|
|
"PVL_fal_RemoveBackground_API": "PVL Remove Background V2 (fal.ai)",
|
|
"PVL_fal_DepthAnythingV2_API": "PVL Depth Anything V2 (fal.ai)",
|
|
"PVL_Google_NanoBanana_API_mandatory_IMG": "PVL Google Nano-Banana API mandatory IMG",
|
|
"PVL_fal_FluxWithLoraPulID_API": "PVL Flux Lora PulID (fal.ai)",
|
|
"PVL_fal_FluxDevPulidAvatar_API": "PVL Flux Dev Pulid Avatar (fal.ai)",
|
|
"PVL_Comfydeploy_Avatar_PulID_API": "PVL ComfyDeploy Avatar PulID API",
|
|
"PVL_Gemini_API_avatar_special": "PVL Gemini API (Avatar Special)",
|
|
"PVL_EdgeExtend": "PVL Edge Extend",
|
|
"PVL_SplitString": "PVL Split String",
|
|
"PVL_MathCondition": "PVL Math Condition",
|
|
"PVL_BatchAny": "PVL Batch Any",
|
|
"PVL_StringToNumber": "PVL String To Number",
|
|
"PVL_Math": "PVL Math",
|
|
"PVL_ComfyDeploy_Universal": "PVL ComfyDeploy Universal",
|
|
"PVL Compare": "PVL Compare",
|
|
"PVL_Image_Translation_Offset": "PVL Image Translation Offset Detector",
|
|
"PVL_ImageComposite": "PVL Image Composite",
|
|
"PVL_Qwen_Img_Edit_Inpaint": "PVL Qwen Image Edit Inpaint (fal.ai)",
|
|
"PVL_Qwen_Img_Edit_Plus": "PVL Qwen Image Edit Multi (fal.ai)",
|
|
"PVL_Switch": "PVL Switch",
|
|
"PVL_Switch_Huge": "PVL Switch Huge",
|
|
"PVL_Switch_x5": "PVL Switch x5",
|
|
"PVL_Switch_x10": "PVL Switch x10",
|
|
"PVL_Switch_x15": "PVL Switch x15",
|
|
"PVL_StringConcatX3": "PVL String Concat x3",
|
|
"PVL_StringConcatX8": "PVL String Concat x8",
|
|
"PVL_Padding": "PVL Padding",
|
|
"PVL_fal_EvfSam_API": "PVL Segment (fal.ai)",
|
|
"PVL_fal_EvfSam_X5_API": "PVL Segment X5 (fal.ai)",
|
|
"PVL_Seg_Florence2_API": "PVL Seg Florence2 (fal.ai)",
|
|
"PVL_GeminiSegmentation": "PVL Gemini 2.5 Segmentation",
|
|
"PVL_fal_Flux2_Dev_API": "PVL Flux.2 Dev (fal.ai)",
|
|
"PVL_fal_Flux2_Pro_API": "PVL Flux.2 Pro (fal.ai)",
|
|
"PVL_fal_Flux2_Flex_API": "PVL Flux.2 Flex (fal.ai)",
|
|
"PVL_fal_Flux2_Camera_Ctrl_API": "PVL Flux.2 Camera Control (fal.ai)",
|
|
"PVL_Color_Match": "PVL Color Match",
|
|
"PVL_Get_Image_Size": "PVL Get Image Size",
|
|
"PVL_Text_Overlay": "PVL Text Overlay",
|
|
"PVL_fal_SeeDream_45_API": "PVL SeeDream 4.5 (fal.ai)",
|
|
"PVL_fal_Flux_Dev_Inpaint_API": "PVL Flux Dev Inpaint (fal.ai)",
|
|
"PVL_ImageListToImageBatch": "PVL Image List to Image Batch",
|
|
"PVL_ImageBatchToImageList": "PVL Image Batch to Image List",
|
|
"PVL_fal_Sam3_Segmentation_API": "PVL Sam3 Segmentation (fal.ai)",
|
|
"PVL_fal_Moondream3_Segment_API": "PVL Moondream3 Segmentation (fal.ai)",
|
|
"PVL_CropToMask": "PVL Crop To Mask",
|
|
"PVL_StringListToString": "PVL String List To String",
|
|
"PVL_StringToStringList": "PVL String To String List",
|
|
}
|