ComfyUI > Nodes > ComfyUI_AutoDownloadModels > Get Models From Workflow

ComfyUI Node: Get Models From Workflow

Class Name

GetModelsFromWorkflow

Category
DownloadModel
Author
AIExplorer25 (Account age: 4006days)
Extension
ComfyUI_AutoDownloadModels
Latest Updated
2025-04-05
Github Stars
0.02K

How to Install ComfyUI_AutoDownloadModels

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

Get Models From Workflow Description

Automates model organization within workflows based on type and properties, enhancing efficiency and reducing errors.

Get Models From Workflow:

The GetModelsFromWorkflow node is designed to streamline the process of identifying and organizing machine learning models within a given workflow. Its primary function is to analyze a workflow file, extract model information, and determine the most probable folder where each model should be stored. This node is particularly beneficial for users who manage multiple models and need an efficient way to categorize them based on their types or properties. By automating the mapping of models to their respective folders, it reduces manual effort and minimizes errors in model organization. The node leverages a method that calculates the likelihood of a model belonging to a specific folder, ensuring that models are placed in the most appropriate directory. This capability is essential for maintaining an organized model repository, which can significantly enhance productivity and ease of access for AI artists and developers.

Get Models From Workflow Input Parameters:

workflow_path

The workflow_path parameter specifies the file path to the workflow that contains the models you want to analyze. This parameter is crucial as it directs the node to the correct workflow file, enabling it to extract model information accurately. The path should be a valid string pointing to the location of the workflow file on your system. There are no specific minimum or maximum values, but it must be a valid file path.

models_folder_path

The models_folder_path parameter indicates the directory where the models are stored or should be stored. This parameter helps the node determine the existing folder structure and assists in mapping models to the correct folders. It should be a valid directory path on your system. Like the workflow_path, there are no specific minimum or maximum values, but it must be a valid directory path.

Get Models From Workflow Output Parameters:

formatted_string

The formatted_string output is a string that contains the mappings of models to their probable folders. This output is essential as it provides a clear and organized representation of where each model should be stored, based on the analysis performed by the node. The string is formatted in a way that pairs each model with its corresponding folder, making it easy to understand and use for further processing or organization tasks.

Get Models From Workflow Usage Tips:

  • Ensure that the workflow_path and models_folder_path are correctly specified and point to valid locations on your system to avoid errors during execution.
  • Use this node as part of a larger workflow to automate the organization of models, especially when dealing with a large number of models that need to be categorized efficiently.

Get Models From Workflow Common Errors and Solutions:

Invalid file path

  • Explanation: This error occurs when the workflow_path or models_folder_path is not a valid path or does not exist on the system.
  • Solution: Double-check the paths provided to ensure they are correct and point to existing files or directories.

Model not found in workflow

  • Explanation: This error happens when the node cannot find any models in the specified workflow file.
  • Solution: Verify that the workflow file contains model information and that the file format is supported by the node.

Unsupported model format

  • Explanation: This error arises when the node encounters a model format that it does not recognize or support.
  • Solution: Ensure that the models in the workflow are in a format that the node can process, or consider converting them to a supported format.

Get Models From Workflow Related Nodes

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