ComfyUI > Nodes > ComfyUI Civitai Gallery > Civitai Models Gallery

ComfyUI Node: Civitai Models Gallery

Class Name

CivitaiModelsGalleryNode

Category
📜Asset Gallery/Civitai
Author
Firetheft (Account age: 1440days)
Extension
ComfyUI Civitai Gallery
Latest Updated
2025-12-02
Github Stars
0.09K

How to Install ComfyUI Civitai Gallery

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

Civitai Models Gallery Description

Facilitates exploration and selection of AI models from Civitai platform, providing detailed information for integration into creative workflows.

The CivitaiModelsGalleryNode is designed to facilitate the exploration and selection of AI models from the Civitai platform, which is a repository for various AI models. This node allows you to access detailed information about selected models, making it easier to integrate them into your creative workflows. By providing a structured way to retrieve and display model data, the node enhances your ability to make informed decisions about which models to use for specific artistic projects. Its primary function is to parse and present model information in a user-friendly format, ensuring that you have all the necessary details at your fingertips.

unique_id

This parameter serves as a unique identifier for the node instance. It is crucial for distinguishing between different instances of the node, especially when multiple nodes are used in a workflow. The unique_id does not have a default value and must be set to ensure proper node operation.

selection_data

The selection_data parameter is a JSON-formatted string that contains information about the selected model. It is used to parse and extract model details that the node will process. The default value is an empty JSON object ({}), and it is designed to be multiline and force input, meaning you must provide valid JSON data for the node to function correctly.

This parameter is an additional identifier that can be used to link the node to a specific widget or interface element within the Civitai Models Gallery. It is a string parameter with no default value, and it is not multiline. This parameter helps in maintaining a connection between the node and the user interface, ensuring seamless interaction.

model_info

The model_info output parameter provides a JSON-formatted string containing detailed information about the selected model. This output is crucial for understanding the model's characteristics, such as its name, creator, tags, and other metadata. The information is presented in a structured format, making it easy to read and interpret, thus aiding in the decision-making process for model selection.

  • Ensure that the selection_data parameter is correctly formatted as a JSON string to avoid parsing errors and to ensure accurate model information retrieval.
  • Utilize the unique_id and civitai_models_gallery_unique_id_widget parameters to maintain clear and organized workflows, especially when dealing with multiple nodes or complex projects.

JSONDecodeError

  • Explanation: This error occurs when the selection_data parameter contains invalid JSON, preventing the node from parsing the model information.
  • Solution: Verify that the selection_data is a properly formatted JSON string. Use online JSON validators to check and correct any syntax errors.

Missing unique_id

  • Explanation: The node requires a unique_id to function correctly, and a missing or duplicate ID can cause conflicts or unexpected behavior.
  • Solution: Ensure that each instance of the node has a unique unique_id assigned. Double-check your workflow to avoid duplicate IDs.

Empty model_info output

  • Explanation: If the model_info output is empty, it may indicate that the selection_data does not contain valid or complete model information.
  • Solution: Review the selection_data to ensure it includes all necessary details about the selected model. Update the data as needed to provide comprehensive model information.

Civitai Models Gallery Related Nodes

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