ComfyUI > Nodes > Bmad Nodes > Get Models

ComfyUI Node: Get Models

Class Name

Get Models

Category
Bmad/dump
Author
bmad4ever (Account age: 3591days)
Extension
Bmad Nodes
Latest Updated
2024-08-02
Github Stars
0.05K

How to Install Bmad Nodes

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

Get Models Description

Efficiently manage and retrieve AI art generation models by specifying types and generating JSON file for quick access.

Get Models:

The Get Models node is designed to help you efficiently manage and retrieve various types of models used in AI art generation. This node allows you to specify the type of models you want to list, such as checkpoints, embeddings, or controlnet models, and then generates a JSON file containing the filenames of the selected models. This functionality is particularly useful for organizing and accessing your model files, ensuring that you can quickly find and utilize the models you need for your creative projects. By automating the process of listing model files, the Get Models node saves you time and effort, allowing you to focus more on your artistic endeavors.

Get Models Input Parameters:

dump

The dump parameter allows you to specify the type of models you want to list. You can choose from a variety of options, including all models, checkpoints, clip, clip_vision, configs, controlnet, diffusers, embeddings, gligen, hypernetworks, loras, style_models, upscale_models, and vae. The default value is all models, which will list all available models. Selecting a specific option will generate a JSON file containing only the filenames of the chosen model type. This parameter helps you tailor the output to your specific needs, making it easier to manage and access your model files.

Get Models Output Parameters:

None

This node does not produce any direct output parameters. Instead, it generates a JSON file in the specified output directory, containing the filenames of the selected models. This file can then be used for further processing or reference in your AI art projects.

Get Models Usage Tips:

  • To list all available models, simply use the default dump parameter value all models.
  • If you are only interested in a specific type of model, such as checkpoints or embeddings, select the corresponding option from the dump parameter to generate a more focused list.
  • Use the generated JSON file to quickly locate and load the models you need for your projects, streamlining your workflow and saving time.

Get Models Common Errors and Solutions:

"FileNotFoundError: [Errno 2] No such file or directory"

  • Explanation: This error occurs when the specified output directory does not exist.
  • Solution: Ensure that the output directory specified in the node's configuration exists and is accessible. You may need to create the directory if it does not already exist.

"PermissionError: [Errno 13] Permission denied"

  • Explanation: This error occurs when the node does not have the necessary permissions to write to the output directory.
  • Solution: Check the permissions of the output directory and ensure that the node has write access. You may need to adjust the directory's permissions or run the node with elevated privileges.

"ValueError: Invalid dump option"

  • Explanation: This error occurs when an invalid value is provided for the dump parameter.
  • Solution: Ensure that the value provided for the dump parameter is one of the valid options listed in the node's documentation. Double-check for any typos or incorrect values.

Get Models Related Nodes

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