ComfyUI > Nodes > Basic data handling > output dir

ComfyUI Node: output dir

Class Name

Basic data handling: PathOutputDir

Category
Basic/Path
Author
StableLlama (Account age: 861days)
Extension
Basic data handling
Latest Updated
2026-05-07
Github Stars
0.04K

How to Install Basic data handling

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

output dir Description

PathOutputDir node retrieves ComfyUI's output directory path, aiding automated image workflows.

output dir:

The PathOutputDir node is designed to provide you with the output directory path used by ComfyUI, a tool often utilized for managing and processing images. This node is particularly useful for AI artists who need to automate or streamline their workflow by programmatically accessing the location where output images are stored. By using this node, you can easily retrieve the directory path without manually navigating through your file system, thus saving time and reducing the potential for errors. The primary function of this node is to return the path as a string, which can then be used in subsequent operations or nodes that require knowledge of the output directory.

output dir Input Parameters:

output dir Output Parameters:

output_path

The output_path parameter is a string that represents the directory path where ComfyUI stores output images. This output is crucial for tasks that involve further processing or organization of generated images, as it allows you to programmatically access and manipulate files within the output directory. Understanding the location of your output files can help in automating tasks such as batch processing, file management, or integration with other tools and scripts.

output dir Usage Tips:

  • Use the PathOutputDir node in conjunction with other nodes that require file paths to streamline your workflow and ensure that all operations are directed to the correct output location.
  • Consider integrating this node into a larger automation script to dynamically handle output files, such as moving them to a different directory or uploading them to a cloud service.

output dir Common Errors and Solutions:

Directory not found

  • Explanation: This error may occur if the output directory path returned by the node does not exist or has been moved.
  • Solution: Verify that the ComfyUI output directory exists and has not been altered. If necessary, update the directory path in your ComfyUI settings or recreate the directory.

Permission denied

  • Explanation: This error indicates that the application does not have the necessary permissions to access the output directory.
  • Solution: Ensure that your application has the appropriate permissions to read from and write to the output directory. You may need to adjust your system's file permissions or run the application with elevated privileges.

output dir Related Nodes

Go back to the extension to check out more related nodes.
Basic data handling
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.

output dir