ComfyUI > Nodes > ComfyUI_NetDist_Plus > Load workflow (image upload)

ComfyUI Node: Load workflow (image upload)

Class Name

LoadWorkflowJSON

Category
remote/advanced
Author
nux1111 (Account age: 1218days)
Extension
ComfyUI_NetDist_Plus
Latest Updated
2024-08-27
Github Stars
0.04K

How to Install ComfyUI_NetDist_Plus

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

Load workflow (image upload) Description

Facilitates loading and integrating workflow data in JSON format for AI art projects.

Load workflow (image upload):

The LoadWorkflowJSON node is designed to facilitate the loading of workflow data in JSON format, either from disk or through image uploads. This node is particularly useful for AI artists who need to manage and manipulate complex workflows without delving into the technical intricacies of JSON handling. By leveraging this node, you can seamlessly integrate workflow data into your projects, ensuring that all necessary configurations and parameters are accurately loaded and ready for use. The primary goal of this node is to streamline the process of accessing and utilizing workflow data, making it an essential tool for enhancing productivity and creativity in AI art projects.

Load workflow (image upload) Input Parameters:

image

The image parameter allows you to select an image file from which the workflow JSON data will be extracted. This parameter is particularly useful when the workflow data is embedded within the metadata of an image file, such as EXIF data. The node supports various image formats, including .png, .jpg, .jpeg, and .webp. When you provide an image file, the node attempts to extract the workflow JSON from the UserComment field within the EXIF data. This approach is beneficial for scenarios where workflow data is shared or stored alongside visual content. There are no specific minimum or maximum values for this parameter, but it is essential to ensure that the selected image contains the necessary metadata for successful extraction.

Load workflow (image upload) Output Parameters:

Workflow JSON

The Workflow JSON output parameter provides the extracted workflow data in JSON format. This output is crucial as it represents the structured data that defines the workflow, including all configurations and parameters necessary for execution. The JSON data can be used directly in your projects, allowing for seamless integration and manipulation of workflows. This output is particularly valuable for AI artists who need to ensure that their workflows are accurately represented and ready for further processing or execution.

Load workflow (image upload) Usage Tips:

  • Ensure that the image files you select contain the necessary EXIF metadata with the UserComment field populated with valid JSON data to avoid extraction errors.
  • Regularly verify the integrity of your JSON data by using the VALIDATE_INPUTS method to ensure that the workflow files are correctly formatted and accessible.

Load workflow (image upload) Common Errors and Solutions:

Image file not found: <image_path>

  • Explanation: This error occurs when the specified image file cannot be located in the directory.
  • Solution: Verify that the image file exists in the specified directory and that the file path is correct.

No EXIF data found in the image

  • Explanation: The node could not find any EXIF metadata in the provided image file.
  • Solution: Ensure that the image file contains EXIF metadata with the necessary workflow information.

No UserComment found in EXIF data

  • Explanation: The EXIF metadata does not contain a UserComment field, which is required for extracting the workflow JSON.
  • Solution: Check that the image file's EXIF data includes a UserComment field with valid JSON content.

No 'prompt' field found in UserComment data

  • Explanation: The JSON data extracted from the UserComment field does not contain a prompt field, which is expected for workflow processing.
  • Solution: Ensure that the JSON data within the UserComment field is correctly formatted and includes a prompt field.

Load workflow (image upload) Related Nodes

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

Load workflow (image upload)