ComfyUI > Nodes > camera-comfyUI > SaveTrajectory

ComfyUI Node: SaveTrajectory

Class Name

SaveTrajectory

Category
Camera/Trajectory
Author
Alexankharin (Account age: 2779days)
Extension
camera-comfyUI
Latest Updated
2025-12-26
Github Stars
0.03K

How to Install camera-comfyUI

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

SaveTrajectory Description

Facilitates saving trajectory tensors (N,4,4) to `.npy` for AI animation data management.

SaveTrajectory:

The SaveTrajectory node is designed to facilitate the storage of trajectory data in a structured format, specifically saving a trajectory tensor of shape (N,4,4) to a .npy file. This node is particularly useful for AI artists and developers working with camera movements or animations, as it allows for the preservation of complex trajectory data in a format that is both efficient and easy to reload for future use. By saving the trajectory data in the ComfyUI output directory, it ensures that the data is organized and accessible for subsequent processing or analysis. This capability is essential for projects that require precise control over camera paths or motion sequences, enabling users to maintain consistency and accuracy in their visual outputs.

SaveTrajectory Input Parameters:

The context does not provide specific input parameters for the SaveTrajectory node. Typically, such a node would require a trajectory tensor as input, but without explicit details, we cannot enumerate them here.

SaveTrajectory Output Parameters:

The context does not provide specific output parameters for the SaveTrajectory node. Generally, the output would be a confirmation of the file save operation, but without explicit details, we cannot enumerate them here.

SaveTrajectory Usage Tips:

  • Ensure that the trajectory tensor is correctly formatted as (N,4,4) before attempting to save it using this node. This will prevent errors and ensure that the data is stored correctly.
  • Utilize the ComfyUI output directory to keep your saved trajectory files organized and easily accessible for future use or analysis.

SaveTrajectory Common Errors and Solutions:

Invalid trajectory file format

  • Explanation: This error occurs when the trajectory tensor does not conform to the expected shape of (N,4,4).
  • Solution: Verify that your trajectory data is correctly formatted before passing it to the SaveTrajectory node. Ensure that the tensor dimensions match the required shape.

Output directory not found

  • Explanation: This error may arise if the ComfyUI output directory is not correctly set or accessible.
  • Solution: Check the configuration of your ComfyUI setup to ensure that the output directory is correctly specified and accessible. Adjust permissions if necessary to allow file writing.

SaveTrajectory Related Nodes

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