Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-HyMotion > HY-Motion Save NPZ

ComfyUI Node: HY-Motion Save NPZ

Class Name

HYMotionSaveNPZ

Category
HY-Motion/utils
Author
Aero-Ex (Account age: 1460days)
Extension
ComfyUI-HyMotion
Latest Updated
2026-05-27
Github Stars
0.03K

How to Install ComfyUI-HyMotion

Install this extension via the ComfyUI Manager by searching for ComfyUI-HyMotion
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HyMotion 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

HY-Motion Save NPZ Description

Facilitates saving motion data in NPZ format for efficient storage and retrieval.

HY-Motion Save NPZ:

The HYMotionSaveNPZ node is designed to facilitate the saving of motion data in the NPZ format, which is a compressed file format used by NumPy to store multiple arrays. This node is particularly useful for preserving motion data generated by the HYMotionSampler, allowing for easy persistence and debugging. By saving motion data in NPZ format, you can efficiently store complex data structures, such as keypoints, rotations, and metadata, in a single file. This capability is essential for workflows that require the storage and retrieval of motion data for further analysis or processing. The node's primary function is to convert motion data into a format that is both space-efficient and easy to load back into the system when needed.

HY-Motion Save NPZ Input Parameters:

motion_data

This parameter represents the motion data that you want to save. It is expected to be in the format provided by the HYMotionSampler, which includes keypoints, rotations, and other relevant metadata. The motion data is crucial as it forms the core content of the NPZ file, and its accuracy and completeness directly impact the usefulness of the saved file. There are no specific minimum or maximum values for this parameter, but it should be a valid instance of HYMOTION_DATA.

output_dir

The output_dir parameter specifies the subdirectory within the ComfyUI output folder where the NPZ files will be saved. By default, this is set to "hymotion_npz". This parameter allows you to organize your saved files systematically, making it easier to locate and manage them later. The directory should be a valid string path, and while there are no strict limits on its length, it should conform to the file system's path length restrictions.

filename_prefix

This parameter determines the prefix for the filenames of the NPZ files. The default value is "motion", and it is used to help identify the contents of the file, such as keypoints, rotations, and metadata. The prefix is appended to the filenames, allowing for easy identification and categorization of different motion data files. It should be a string that is descriptive enough to convey the file's contents but concise enough to maintain readability.

HY-Motion Save NPZ Output Parameters:

npz_paths

The npz_paths output parameter provides the paths to the NPZ files that have been saved. This output is crucial as it confirms the successful execution of the save operation and provides a direct reference to the location of the saved files. The paths are returned as strings, and they can be used to access the files for further processing or analysis. This output ensures that you have a clear record of where your motion data has been stored.

HY-Motion Save NPZ Usage Tips:

  • Ensure that the motion_data parameter is correctly formatted and contains all necessary information before attempting to save it, as incomplete data may lead to errors or unusable files.
  • Use descriptive and consistent filename_prefix values to make it easier to identify and categorize your saved NPZ files, especially when dealing with large datasets or multiple projects.

HY-Motion Save NPZ Common Errors and Solutions:

NPZ file not found: <npz_name>

  • Explanation: This error occurs when the specified NPZ file cannot be found at the expected location. It may be due to an incorrect path or the file not being saved correctly.
  • Solution: Verify that the output_dir and filename_prefix parameters are set correctly and that the file path is accurate. Ensure that the file was saved successfully and check the directory for the presence of the file.

[HY-Motion] npz_path is empty.

  • Explanation: This error indicates that the path provided for the NPZ file is empty, which means the system cannot locate the file to save or load.
  • Solution: Ensure that a valid path is provided for the NPZ file. Double-check the output_dir and filename_prefix parameters to ensure they are not empty and are correctly specified.

HY-Motion Save NPZ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HyMotion
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.

HY-Motion Save NPZ