ComfyUI  >  Nodes  >  ComfyUI_NetDist >  Load workflow (current)

ComfyUI Node: Load workflow (current)

Class Name

LoadCurrentWorkflowJSON

Category
remote/advanced
Author
city96 (Account age: 552 days)
Extension
ComfyUI_NetDist
Latest Updated
5/22/2024
Github Stars
0.3K

How to Install ComfyUI_NetDist

Install this extension via the ComfyUI Manager by searching for  ComfyUI_NetDist
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_NetDist 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load workflow (current) Description

Fetch current workflow as JSON for AI artists, enabling seamless integration with applications for efficient workflow management.

Load workflow (current):

The LoadCurrentWorkflowJSON node is designed to fetch the current workflow or prompt as a JSON object that is compatible with API usage. This node is particularly useful for AI artists who need to capture the current state of their workflow in a structured format that can be easily shared, stored, or further processed by other tools or systems. By converting the workflow into JSON, it allows for seamless integration with various applications and services, enabling more efficient workflow management and automation.

Load workflow (current) Input Parameters:

prompt

The prompt parameter is a hidden input that represents the current workflow or prompt you are working on. This parameter is automatically managed by the system and does not require manual input. It essentially captures the state of your current workflow, which will be converted into a JSON format. There are no minimum, maximum, or default values for this parameter as it is dynamically generated based on your current workflow.

Load workflow (current) Output Parameters:

Workflow JSON

The Workflow JSON output parameter provides the current workflow or prompt in a JSON format. This JSON object encapsulates all the details of your workflow, making it easy to share, store, or process further. The output is crucial for tasks that require a structured representation of the workflow, such as API calls, data storage, or integration with other systems. The JSON format ensures that all elements of the workflow are preserved and can be accurately reconstructed when needed.

Load workflow (current) Usage Tips:

  • Use this node when you need to export your current workflow for sharing with collaborators or for integration with other tools and services.
  • Ensure that your workflow is complete and accurate before using this node to capture its state, as the JSON output will reflect the current state of your workflow.
  • Combine this node with other nodes that handle JSON data to create automated processes or pipelines that can manage and manipulate your workflow data.

Load workflow (current) Common Errors and Solutions:

Invalid JSON format

  • Explanation: This error occurs if the workflow data cannot be properly converted into JSON format.
  • Solution: Ensure that all elements of your workflow are correctly defined and do not contain any invalid characters or structures that could prevent JSON conversion.

Missing prompt data

  • Explanation: This error occurs if the prompt parameter is not properly captured or is missing.
  • Solution: Verify that your workflow is correctly set up and that the prompt parameter is being generated as expected. If the issue persists, try reloading your workflow or restarting the application.

Load workflow (current) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_NetDist
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.