ComfyUI > Nodes > Prompt Info

ComfyUI Extension: Prompt Info

Repo Name

cg-prompt-info

Author
chrisgoringe (Account age: 4223 days)
Nodes
View all nodes(4)
Latest Updated
2024-05-22
Github Stars
0.03K

How to Install Prompt Info

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

Prompt Info Description

Prompt Info is a ComfyUI extension that enhances user experience by providing detailed information about prompts. It helps users understand and manage prompt settings, improving workflow efficiency and customization.

cg-prompt-info Introduction

The cg-prompt-info extension is designed to help AI artists easily retrieve specific information from previously generated images. When working with ComfyUI, every saved image contains the workflow that produced it. However, sometimes you might only need to know specific details like the prompt used, the checkpoint, or other parameters, without loading the entire workflow. This extension provides a set of nodes that allow you to extract and view this information quickly and conveniently.

How cg-prompt-info Works

The extension works by leveraging the metadata stored within images generated by ComfyUI. When an image is saved, ComfyUI embeds the entire workflow into the image file. The cg-prompt-info extension can read this embedded data and extract specific pieces of information for you.

Basic Principles

  1. Loading the Image: Use the Load Image With Info node to load an image. This node not only loads the image but also extracts the embedded workflow information.
  2. Extracting Information: Connect the output of the Load Image With Info node to the Extract Info node. This node allows you to select and view specific details from the workflow, such as prompts, checkpoints, or other parameters.
  3. Convenient Viewing: For a more user-friendly experience, the Hunt Info node can be used to browse through the available information more conveniently.

cg-prompt-info Features

Load Image With Info

  • Function: Loads an image and extracts the embedded workflow information.
  • Usage: Simply load your image using this node. It provides an additional output called info that contains the extracted data.

Extract Info

  • Function: Allows you to select and view specific pieces of information from the extracted workflow data.
  • Usage: Connect the info output from the Load Image With Info node to the Extract Info node. You can then choose from a list of available nodes and view their input and output values.
  • Customization: The outputs of the Extract Info node are available as strings, and if possible, also as floats and integers. This allows you to use the extracted values in further processing.

Hunt Info

  • Function: Provides a more convenient way to browse through the available information.
  • Usage: Use this node if you prefer a more user-friendly interface to explore the extracted data.

Adding More Info

  • Function: Adds extra data to the image when saving, ensuring that more comprehensive information is stored.
  • Usage: Place this node just before saving your image. It will add all the output values of every node that has already been executed, including outputs that are not normally stored.

What's Stored?

The extension primarily stores values that can be represented as strings, integers, or floats. Large objects like checkpoints, images, or latents are not stored directly. Instead, you get a string representation, typically the first 30 characters, which is usually enough to identify the item.

What's New with cg-prompt-info

Recent Updates

  • Version 1.1: Improved the user interface for the Hunt Info node, making it easier to navigate through the available information.
  • Version 1.0: Initial release with the core functionality of loading images, extracting information, and adding extra data before saving.

Troubleshooting cg-prompt-info

Common Issues and Solutions

  1. Issue: The Load Image With Info node does not extract any information.
  • Solution: Ensure that the image was generated and saved using ComfyUI, as the workflow data is embedded by ComfyUI during the save process.
  1. Issue: The Extract Info node does not display the expected values.
  • Solution: Verify that the info output from the Load Image With Info node is correctly connected to the Extract Info node. Also, ensure that the image contains the specific information you are looking for.

Frequently Asked Questions

  • Q: Can I use this extension with images not generated by ComfyUI?
  • A: No, the extension relies on the workflow data embedded by ComfyUI. Images generated by other tools will not contain this data.
  • Q: What types of data can be extracted?
  • A: You can extract prompts, checkpoints, LoRA settings, and other parameters stored as strings, integers, or floats.

Learn More about cg-prompt-info

For additional resources, tutorials, and community support, you can visit the following links:

  • cg-prompt-info GitHub Repository: Find the latest updates, report issues, and contribute to the project.
  • ComfyUI Documentation: Learn more about how ComfyUI works and how to integrate it with cg-prompt-info.
  • Community Forums: Join discussions with other AI artists and developers, share your experiences, and get help with any issues you encounter. By using cg-prompt-info, you can streamline your workflow, easily access important information, and enhance your overall experience with ComfyUI.

Prompt Info Related 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.