Nodes/ComfyUI-Qwen2_5-VL/Qwen2_5_VL_Run_Advanced
ComfyUI Node

Qwen2_5_VL_Run_Advanced

A ComfyUI node in Qwen2_5-VL with 12 inputs and 1 output.

By MakkiShizu·Created about a year ago·Updated 11 months ago· 20
Qwen2_5_VL_Run_Advanced
  • Qwen2_5_VL_model
  • image
  • video
  • BatchImage
  • text
system_text
text
video_decode_methodtorchvision
max_new_tokens128
min_pixels256
max_pixels1280
total_pixels20480
seed1
CategoryQwen2_5-VL

Inputs (12)

NameTypeDefaultDescription
system_textSTRING
textSTRING
Qwen2_5_VL_modelQWEN2_5_VL_MODEL
video_decode_methodCOMBOtorchvision3 options: torchvision, decord, torchcodec
max_new_tokensINT1281–1024
min_pixelsINT25664–1280Define min_pixels and max_pixels: Images will be resized to maintain their aspect ratio within the range of min_pixels and max_pixels.
max_pixelsINT128064–2048Define min_pixels and max_pixels: Images will be resized to maintain their aspect ratio within the range of min_pixels and max_pixels.
total_pixelsINT204801–24576We recommend setting appropriate values for the min_pixels and max_pixels parameters based on available GPU memory and the specific application scenario to restrict the resolution of individual frames in the video. Alternatively, you can use the total_pixels parameter to limit the total number of tokens in the video (it is recommended to set this value below 24576 * 28 * 28 to avoid excessively long input sequences). For more details on parameter usage and processing logic, please refer to the fetch_video function in qwen_vl_utils/vision_process.py.
seedINT11–18446744073709550000
imageoptIMAGE
videooptVIDEO
BatchImageoptBatchImage

Outputs (1)

NameTypeDescription
textSTRING