ComfyUI extension for video-based prompting and processing with support for various models and video processing capabilities
A ComfyUI extension that provides video sequence analysis and prompting using advanced multimodal LLMs. This extension uses the Qwen2.5-VL models from Alibaba to analyze video sequences and generate detailed descriptions.
This extension requires transformers 4.49.0 or above to work properly. Earlier versions (including 4.48.0) will cause errors.
This method handles dependency conflicts automatically:
custom_nodes
directory:cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI-IF_VideoPrompts.git
cd ComfyUI-IF_VideoPrompts
python install.py
custom_nodes
directory:cd ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI-IF_VideoPrompts.git
# Install compatible autoawq version WITHOUT dependencies to prevent transformers downgrade
# If you want to use AWQ to save VRAM and up to 3x faster inference
# you need to install triton and autoawq
# Then install other dependencies
pip install -r requirements.txt
pip install --no-deps --no-build-isolation autoawq
I also have precompiled wheels for FA2 sageattention and triton for windows 10 for cu126 and pytorch 2.6.3 and python 12+ https://huggingface.co/impactframes/ComfyUI_desktop_wheels_win_cp12_cu126/tree/main
If you want to install the dependencies directly with pip:
pip install transformers>=4.49.0 opencv-python decord huggingface_hub pillow torch numpy tokenizers safetensors accelerate tqdm psutil packaging
pip install --no-deps --no-build-isolation autoawq
The extension supports the following Qwen2.5-VL models:
AWQ quantized models are recommended for better performance.
You can define your own presets by adding them to the presets/profiles.json
file.
If you encounter this error, try the following:
This extension requires transformers version 4.49.0 or higher. Earlier versions (including 4.48.0) will not work.
If autoawq or other packages downgrade your transformers version, follow these steps:
# Uninstall both packages
pip uninstall -y autoawq transformers
# Install specific transformers version first
pip install transformers==4.49.0
# Then install compatible autoawq WITHOUT dependencies
pip install --no-deps autoawq==0.2.8
if you have some fuckery with the LD_libray whatever do:
pip uninstall bitsandbytes -y
pip install bitsandbytes
If you're missing dependencies, use the installation script:
python install.py
This extension uses the following components:
Support If you find this tool useful, please consider supporting my work by:
Starring the repository on GitHub: ComfyUI-IF_VideoPrompts Subscribing to my YouTube channel: Impact Frames Follow me on X: Impact Frames X Thank You! <img src="https://count.getloli.com/get/@IFAIVideoPrompts_comfy?theme=moebooru" alt=":IFAIVideoPrompts_comfy" />