ComfyUI > Nodes > ComfyUI-WanVideoWrapper > WanVideo Block List

ComfyUI Node: WanVideo Block List

Class Name

WanVideoBlockList

Category
WanVideoWrapper
Author
kijai (Account age: 2871days)
Extension
ComfyUI-WanVideoWrapper
Latest Updated
2026-05-05
Github Stars
6.41K

How to Install ComfyUI-WanVideoWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-WanVideoWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-WanVideoWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

WanVideo Block List Description

Facilitates block sequence management in WanVideo framework by generating block indices from user-defined string input for precise control over selected blocks.

WanVideo Block List:

The WanVideoBlockList node is designed to facilitate the management of block sequences within the WanVideo framework. Its primary function is to generate a list of block indices based on a user-defined string input. This string can include individual block numbers or ranges, allowing for flexible and precise control over which blocks are selected for operations such as block swapping. This capability is particularly useful when you need to apply specific transformations or effects to certain segments of a video, as it allows you to specify exactly which blocks should be affected. By converting a simple string input into a structured list of integers, the node simplifies the process of block selection, making it more intuitive and accessible for users who may not be familiar with programming or scripting.

WanVideo Block List Input Parameters:

blocks

The blocks parameter is a string input that specifies which blocks to include in the list. It accepts a comma-separated list of block indices, which can be individual numbers or ranges. For example, you can input 0,2,3-5 to select blocks 0, 2, 3, 4, and 5. This parameter is crucial for defining the scope of the block operations you wish to perform. The default value is "1", and it supports multiline input, allowing for more complex configurations. Properly configuring this parameter ensures that the desired blocks are targeted for any subsequent processing or transformations.

WanVideo Block List Output Parameters:

block_list

The block_list output is an integer list that represents the parsed and expanded version of the input blocks string. This list contains all the block indices specified by the user, including any ranges that have been expanded into individual numbers. The output is essential for downstream nodes or processes that require a precise list of block indices to operate on. By providing a structured list, it enables seamless integration with other components of the WanVideo framework, ensuring that the specified blocks are correctly identified and processed.

WanVideo Block List Usage Tips:

  • Use ranges in the blocks parameter to efficiently select multiple consecutive blocks, such as 0-5 for blocks 0 through 5. - Ensure that the blocks string is correctly formatted with commas and hyphens to avoid errors in parsing.

WanVideo Block List Common Errors and Solutions:

Invalid range: '<part>'

  • Explanation: This error occurs when the input string contains a range that cannot be parsed into valid integers, such as 5-a.
  • Solution: Check the blocks input for any non-numeric characters in ranges and correct them to valid integers.

Invalid integer: '<part>'

  • Explanation: This error is raised when an individual block number in the input string is not a valid integer, such as a.
  • Solution: Ensure that all block numbers in the blocks input are valid integers and correct any typos or non-numeric entries.

WanVideo Block List Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-WanVideoWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

WanVideo Block List