My approach: I generate everything in "Fast" mode first to quickly iterate and find the best results, then I selectively upscale only the videos worth keeping by reusing the same seed.
Generation Modalities
πβ‘οΈπ₯ Text-to-Video Create completely new videos from scratch using text prompts.
πΌοΈβ‘οΈπ₯ Image-to-Video Animate static reference images using text prompts.
πΌοΈπΌοΈβ‘οΈπ₯ First-Last-Frame-to-Video Generates a coherent video sequence that bridges a defined starting and ending image.
π₯β‘οΈπ₯ Video-to-Video Generates synchronized audio and speech driven by video visuals. Offers options to pass through or entirely regenerate the source video.
Audio Input Settings
π No Audio Input No external audio file used. The AI generates new audio based on your text prompt.
π Audio Input Upload an existing voice or music file to drive the animation and lip-sync.
π VRAM Optimization & Long Videos
βοΈ Chunking Settings for Longer Videos
Adjust ffn_chunks based on your video length (at 24fps):
10 seconds (240 frames): ffn_chunks=1-2
15 seconds (360 frames): ffn_chunks=2-4
20 seconds (480 frames): ffn_chunks=4-6
25 seconds (600 frames): ffn_chunks=8-10
33 seconds (800 frames): ffn_chunks=12-16
If you encounter OOM (Out of Memory) errors:
Increase ffn_chunks value
Reduce resolution slightly
Description
v2.46 β Negative Promt + PROMPT ENHANCER
v2.45 β Small fixes, plus new model links for distilled-1.1 with improved aesthetics and better audio over v1.0, and gemma3-12B-hereticx-sikaworld-ltx-2, a fully uncensored LTX-2 text encoder, higher embedding variance, stronger motion output, and BF16-protected layers 0β1, 44β47, all LayerNorms, and biases for better spatial stability, facial symmetry, and anatomical coherence.
v2.43 β FLF2V: added Ignore first frame, use end frame only
v2.41 β Multiple LoRAs loader added
* Added an optional 2x Frame Interpolation during the upscaling process.
* implemented the Clownshark Sampler for better results.
* Integrated RTX Video Super Resolution Node for fast video upscaling in seconds.
FAQ
Comments (26)
Wow, incredible 2.4 update, thank you!!
please can anyone help me with this error MathExpression|pysssss
Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
error log
# ComfyUI Error Report
## Error Details
- Node ID: 92:278
- Node Type: MathExpression|pysssss
- Exception Type: TypeError
- Exception Message: Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
## Stack Trace
```
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 333, in get_output_data
return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 307, in asyncmap_node_over_list
await process_inputs(input_dict, i)
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 241, in evaluate
r = eval_expr(node)
^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 185, in eval_expr
return eval_op(node, node.left, node.right)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 175, in eval_op
l = eval_expr(l)
^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 202, in eval_expr
raise TypeError(
```
## System Information
- ComfyUI Version: 0.16.4
- Arguments: C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\main.py --user-directory C:\Users\agraw\Documents\ComfyUI\user --input-directory C:\Users\agraw\Documents\ComfyUI\input --output-directory C:\Users\agraw\Documents\ComfyUI\output --front-end-root C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app --base-directory C:\Users\agraw\Documents\ComfyUI --database-url sqlite:///C:/Users/agraw/Documents/ComfyUI/user/comfyui.db --extra-model-paths-config C:\Users\agraw\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 --enable-manager
- OS: win32
- Python Version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
- Embedded Python: false
- PyTorch Version: 2.8.0+cu129
## Devices
- Name: cuda:0 NVIDIA GeForce RTX 5070 Ti : cudaMallocAsync
- Type: cuda
- VRAM Total: 17094475776
- VRAM Free: 15645802496
- Torch VRAM Total: 0
- Torch VRAM Free: 0
## Logs
```
2026-03-12T21:34:01.746711 - Adding extra search path custom_nodes C:\Users\agraw\Documents\ComfyUI\custom_nodes
2026-03-12T21:34:01.746711 - Adding extra search path download_model_base C:\Users\agraw\Documents\ComfyUI\models
2026-03-12T21:34:01.746711 - Adding extra search path custom_nodes C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes
2026-03-12T21:34:01.746711 - Setting output directory to: C:\Users\agraw\Documents\ComfyUI\output
2026-03-12T21:34:01.746711 - Setting input directory to: C:\Users\agraw\Documents\ComfyUI\input
2026-03-12T21:34:01.746711 - Setting user directory to: C:\Users\agraw\Documents\ComfyUI\user
2026-03-12T21:34:01.838710 - C:\Users\agraw\Documents\ComfyUI\.venv\Lib\site-packages\requests\__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (7.0.1)/charset_normalizer (3.4.5) doesn't match a supported version!
warnings.warn(
2026-03-12T21:34:02.079207 - [START] Security scan2026-03-12T21:34:02.079207 -
2026-03-12T21:34:03.005207 - [DONE] Security scan2026-03-12T21:34:03.005207 -
2026-03-12T21:34:03.008208 - ** ComfyUI startup time:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - 2026-03-12 21:34:03.0072026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** Platform:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - Windows2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** Python version:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** Python executable:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\Documents\ComfyUI\.venv\Scripts\python.exe2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** ComfyUI Path:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** ComfyUI Base Folder Path:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** User directory:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\Documents\ComfyUI\user2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** ComfyUI-Manager config path:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\Documents\ComfyUI\user\__manager\config.ini2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.008208 - ** Log path:2026-03-12T21:34:03.008208 - 2026-03-12T21:34:03.008208 - C:\Users\agraw\Documents\ComfyUI\user\comfyui.log2026-03-12T21:34:03.008208 -
2026-03-12T21:34:03.860211 - [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
2026-03-12T21:34:03.860211 - [PRE] ComfyUI-Manager
2026-03-12T21:34:07.423517 - WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.
2026-03-12T21:34:07.423517 - Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
2026-03-12T21:34:07.423517 - Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
2026-03-12T21:34:07.423517 - Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
2026-03-12T21:34:07.437517 - Checkpoint files will always be loaded safely.
2026-03-12T21:34:07.519276 - Total VRAM 16303 MB, total RAM 65080 MB
2026-03-12T21:34:07.519276 - pytorch version: 2.8.0+cu129
2026-03-12T21:34:07.519276 - Set vram state to: NORMAL_VRAM
2026-03-12T21:34:07.519276 - Device: cuda:0 NVIDIA GeForce RTX 5070 Ti : cudaMallocAsync
2026-03-12T21:34:07.534277 - Using async weight offloading with 2 streams
2026-03-12T21:34:07.535277 - Enabled pinned memory 29286.0
2026-03-12T21:34:07.875142 - Using pytorch attention
2026-03-12T21:34:11.316374 - DynamicVRAM support detected and enabled
2026-03-12T21:34:11.316374 - Python version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
2026-03-12T21:34:11.316374 - ComfyUI version: 0.16.4
2026-03-12T21:34:11.345373 - [Prompt Server] web root: C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app
2026-03-12T21:34:11.345373 - [START] ComfyUI-Manager
2026-03-12T21:34:11.475850 - [ComfyUI-Manager] network_mode: public
2026-03-12T21:34:11.485792 - [ComfyUI-Manager] The matrix sharing feature has been disabled because the matrix-nio dependency is not installed.
To use this feature, please run the following command:
C:\Users\agraw\Documents\ComfyUI\.venv\Scripts\python.exe -m pip install matrix-nio
2026-03-12T21:34:14.168490 - [34m[ComfyUI-Easy-Use] server: [0mv1.3.6 [92mLoaded[0m2026-03-12T21:34:14.168490 -
2026-03-12T21:34:14.168490 - [34m[ComfyUI-Easy-Use] web root: [0mC:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 [92mLoaded[0m2026-03-12T21:34:14.168490 -
2026-03-12T21:34:14.979697 - C:\Users\agraw\Documents\ComfyUI\.venv\Lib\site-packages\timm\models\layers\__init__.py:49: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
2026-03-12T21:34:15.043344 - Error loading C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-rmbg\py\AILab_SAM3Segment.py: No module named 'triton'2026-03-12T21:34:15.043344 -
2026-03-12T21:34:15.070352 - Error loading C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-rmbg\py\AILab_SAM3Segment.py: No module named 'triton'2026-03-12T21:34:15.070352 -
2026-03-12T21:34:15.072352 - [34m[ComfyUI-RMBG][0m v[93m3.0.0[0m | [93m42 nodes[0m [92mLoaded[0m2026-03-12T21:34:15.072352 -
2026-03-12T21:34:15.442576 - Traceback (most recent call last):
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\nodes.py", line 2223, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in callwith_frames_removed
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\__init__.py", line 6, in <module>
from . import conditioning
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\conditioning.py", line 24, in <module>
from .beta.constants import MAX_STEPS
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\beta\__init__.py", line 2, in <module>
from . import rk_sampler_beta
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\beta\rk_sampler_beta.py", line 19, in <module>
from .rk_noise_sampler_beta import RK_NoiseSampler
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\beta\rk_noise_sampler_beta.py", line 12, in <module>
from .noise_classes import NOISE_GENERATOR_CLASSES, NOISE_GENERATOR_CLASSES_SIMPLE
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main\beta\noise_classes.py", line 9, in <module>
import pywt
ModuleNotFoundError: No module named 'pywt'
2026-03-12T21:34:15.443576 - Cannot import C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main module for custom nodes: No module named 'pywt'
2026-03-12T21:34:15.468233 -
2026-03-12T21:34:15.468233 - [92m[rgthree-comfy] Loaded 48 magnificent nodes. π[0m2026-03-12T21:34:15.468233 -
2026-03-12T21:34:15.468233 -
2026-03-12T21:34:15.468233 - [33m[rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
[0m2026-03-12T21:34:15.468233 -
2026-03-12T21:34:15.470232 -
Import times for custom nodes:
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes\websocket_image_save.py
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui_ttp_toolset
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\Comfyui_TTP_Toolset-main
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui_essentials
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\ComfyMath-main
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-kjnodes
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\rgthree-comfy
2026-03-12T21:34:15.470232 - 0.0 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-videohelpersuite
2026-03-12T21:34:15.470232 - 0.1 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\ComfyUI-LTXVideo-master
2026-03-12T21:34:15.470232 - 0.1 seconds (IMPORT FAILED): C:\Users\agraw\Documents\ComfyUI\custom_nodes\RES4LYF-main
2026-03-12T21:34:15.470232 - 0.2 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui_nvidia_rtx_nodes
2026-03-12T21:34:15.470232 - 0.8 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-rmbg
2026-03-12T21:34:15.470232 - 1.5 seconds: C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-easy-use
2026-03-12T21:34:15.470232 -
2026-03-12T21:34:15.483830 - Context impl SQLiteImpl.
2026-03-12T21:34:15.483830 - Will assume non-transactional DDL.
2026-03-12T21:34:15.560462 - Assets scan(roots=['models']) completed in 0.073s (created=0, skipped_existing=15, orphans_pruned=0, total_seen=17)
2026-03-12T21:34:15.675852 - Starting server
2026-03-12T21:34:15.676853 - To see the GUI go to: http://127.0.0.1:8000
2026-03-12T21:34:16.608477 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-03-12T21:34:16.612478 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/widgetInputs.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-03-12T21:34:16.966698 - [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
2026-03-12T21:34:18.785018 - [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-03-12T21:34:18.829023 - FETCH DATA from: C:\Users\agraw\Documents\ComfyUI\.venv\Lib\site-packages\comfyui_manager\custom-node-list.json2026-03-12T21:34:18.829023 - 2026-03-12T21:34:18.840527 - [DONE]2026-03-12T21:34:18.841527 -
2026-03-12T21:36:12.602123 - FETCH ComfyRegistry Data [DONE]
2026-03-12T21:36:12.710639 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2026-03-12T21:36:12.729643 - FETCH DATA from: C:\Users\agraw\Documents\ComfyUI\user\__manager\cache\1514988643_custom-node-list.json2026-03-12T21:36:12.729643 - 2026-03-12T21:36:12.735644 - [DONE]2026-03-12T21:36:12.735644 -
2026-03-12T21:36:12.991192 - [ComfyUI-Manager] All startup tasks have been completed.
2026-03-12T21:36:53.390517 - got prompt
2026-03-12T21:36:53.405517 - WARNING: [WinError 2] The system cannot find the file specified: 'C:\\Users\\agraw\\Documents\\ComfyUI\\input\\7d236bd5.mp4'
2026-03-12T21:36:53.453026 - !!! Exception during processing !!! Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:36:53.456026 - Traceback (most recent call last):
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 333, in get_output_data
return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 307, in asyncmap_node_over_list
await process_inputs(input_dict, i)
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 241, in evaluate
r = eval_expr(node)
^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 185, in eval_expr
return eval_op(node, node.left, node.right)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 175, in eval_op
l = eval_expr(l)
^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 202, in eval_expr
raise TypeError(
TypeError: Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:36:53.457029 - Prompt executed in 0.06 seconds
2026-03-12T21:41:04.125307 - got prompt
2026-03-12T21:41:04.142303 - WARNING: [WinError 2] The system cannot find the file specified: 'C:\\Users\\agraw\\Documents\\ComfyUI\\input\\7d236bd5.mp4'
2026-03-12T21:41:04.186310 - !!! Exception during processing !!! Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:41:04.187309 - Traceback (most recent call last):
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 333, in get_output_data
return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 307, in asyncmap_node_over_list
await process_inputs(input_dict, i)
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 241, in evaluate
r = eval_expr(node)
^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 185, in eval_expr
return eval_op(node, node.left, node.right)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 175, in eval_op
l = eval_expr(l)
^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 202, in eval_expr
raise TypeError(
TypeError: Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:41:04.189309 - Prompt executed in 0.05 seconds
2026-03-12T21:44:08.676399 - got prompt
2026-03-12T21:44:08.694400 - WARNING: [WinError 2] The system cannot find the file specified: 'C:\\Users\\agraw\\Documents\\ComfyUI\\input\\7d236bd5.mp4'
2026-03-12T21:44:08.739909 - !!! Exception during processing !!! Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:44:08.740909 - Traceback (most recent call last):
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 333, in get_output_data
return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 307, in asyncmap_node_over_list
await process_inputs(input_dict, i)
File "C:\Users\agraw\AppData\Local\Programs\ComfyUI\resources\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 241, in evaluate
r = eval_expr(node)
^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 185, in eval_expr
return eval_op(node, node.left, node.right)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 175, in eval_op
l = eval_expr(l)
^^^^^^^^^^^^
File "C:\Users\agraw\Documents\ComfyUI\custom_nodes\comfyui-custom-scripts\py\math_expression.py", line 202, in eval_expr
raise TypeError(
TypeError: Compex types (LATENT/IMAGE) need to reference their width/height, e.g. a.width
2026-03-12T21:44:08.742909 - Prompt executed in 0.06 seconds
```
Thanks for the awesome workflow. Would love to see a new workflow that includes a multi-lora loader.
I tried the 2.4 and 2.3 workflow but I can't seem to get any input used. Maximum the image. But the video or audioinput is ignored. In the 2.3 workflow it ignored all and just made a random video. Any idea what I do wrong?
Thank you so much for this GREAT workflow.
Love it!
This is a great workflow! possible to add middle frame as well?
please add the option to add multiple lora at once
Do you think you would ever add a version using?
https://github.com/willmiao/ComfyUI-Lora-Manager
Thank GodοΌand could add capability of reference end frame onlyοΌ
Difference between v2.3 and v2.4? You don't give any details...
The new comfyui update breaks the subgraph menus/options, just a heads up.
Please add an option to disable RTX Video Super Resolution
EDIT: Still broken for me, but did a little more digging. The problem below appears to be stopping in the two "Clear VRAM + Cache" nodes inside the "Text to Video" node when I try to run this workflow. Not sure why.
- - - - -
Trying to use this workflow on an updated ComfyUI (not sure if that matters, but I only just started trying to use this workflow yesterday). I am getting the following error even though I have a prompt entered:
got prompt
Failed to validate prompt for output 92:318:552:
* easy clearCacheAll 92:318:551:
- Required input is missing: anything
Output will be ignored
Failed to validate prompt for output 92:275:
* easy clearCacheAll 92:526:553:
- Required input is missing: anything
Output will be ignored
Failed to validate prompt for output 141:
Output will be ignored
Failed to validate prompt for output 92:526:553:
* (prompt):
- Required input is missing: anything
Output will be ignored
Failed to validate prompt for output 92:526:554:
Output will be ignored
Failed to validate prompt for output 92:318:551:
* (prompt):
- Required input is missing: anything
Output will be ignored
Prompt executed in 0.02 seconds
I have many other workflows working fine, including other LTX 2.3 workflows, so my ComfyUI install itself is sound. Not sure why I'm getting this error once it gets to the Text to Video node.
how can i get 'female_0_kmh.mp3'file???
So does this workflow just not work with the most recent version of ComfyUI?
Help for those who make mistakes like and you have Comfy UI Desktop:
Failed to validate prompt for output 92:318:552:
* easy clearCacheAll 92:318:551:
- Required input is missing: anything
1) download dist-desktop.zip version 1.39.19
https://github.com/Comfy-Org/ComfyUI_frontend/releases
2) Go to Comfy UI\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app (Everyone has their own path to the Comfy UI folder, but inside the structure is as described)
3) Delete all files and folders (assets, cursor, extensions e.t.c)
4) Unzip all files from dist-desktop.zip to folder (desktop_app)
Problem like: TypeError: RTXVideoSuperResolution.execute() missing 1 required positional argument: 'resize_type'
The problem is related to the fact that the RTX Video Super Resolution node has been updated, and therefore the old one currently presented in the workflow does not work. There are 2 ways to solve the problem
1) Replace the resize_type value from 2 to scale by multiplier and you should have a new row in the node with the scale value, set it to 2
2) Remove the old node from the workflow and replace it with a new one by connecting it to the same location
every time i reload/run this workflow, my 'anything' inputs to the Clear VRAM + Cache subgraphs (within the main Text to Video (LTX 2.3 Distilled subgraph) get disconnected, then i get errors. Anyone else having this problem? i've never seen this happen, but i keep saving this workflow then next time i load it the latents that are typically sent to the 'anything' input on those subgraphs is disconnected, then i have to reconnect them, then it works again. not sure what's going on
A nice simple workflow!
What does this error mean?
TypeError: CreateVideo.execute() missing 1 required positional argument: 'images'
File "/workspace/ComfyUI/execution.py", line 525, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/execution.py", line 334, in get_output_data
return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/execution.py", line 308, in asyncmap_node_over_list
await process_inputs(input_dict, i)
File "/workspace/ComfyUI/execution.py", line 296, in process_inputs
result = f(**inputs)
File "/workspace/ComfyUI/comfy_api/internal/__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
File "/workspace/ComfyUI/comfy_api/latest/_io.py", line 1764, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
Could not get beyond this error, fresh and latest comfyui
Which is tied to the cache clear all node
- Required input is missing: anything
How can we display previews?
Even though I've selected T2V, I'm being prompted to Load Image. Does this mean T2V can't be used without some reference data? Or does it temporarily erase the data using bypass?
Great workflow, I'm impressed. I hope there will be an option to add a middle frame or multiple frames when that becomes possible.
Does the latest update work latest Comfyui update - frontend fix no longer required ?
Thanks for all the great work, using this WF all the time.
This is my favorite LTX workflow, but every time I change tabs in ComfyUI the LORAs I've selected get cleared out... is there some way to prevent this?
Also, is there a way to set a negative prompt?
When I try to use this workflow, the video length is set to 0 seconds, and I can't change it. I also can't add loras. It just seems locked. Everything is up do date. What's the issue?