ComfyUI  >  Nodes  >  Save Image with Generation Metadata >  Int Literal

ComfyUI Node: Int Literal

Class Name

Int Literal

Category
ImageSaverTools/utils
Author
Girish Gopaul (Account age: 4247 days)
Extension
Save Image with Generation Metadata
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install Save Image with Generation Metadata

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

Int Literal Description

Node for inputting integer values with range and default value, aiding in managing numerical data efficiently.

Int Literal:

The Int Literal node is designed to provide a straightforward way to input integer values into your workflow. This node is particularly useful when you need to specify a constant integer value that can be used in various operations or configurations within your AI art generation process. By allowing you to define an integer with a specific range and default value, it ensures that the input is both flexible and controlled, making it easier to manage and manipulate numerical data in your projects.

Int Literal Input Parameters:

int

The int parameter represents the integer value you wish to input. This parameter allows you to specify a constant integer that can be used in subsequent nodes or operations. The value of this parameter can range from a minimum of 0 to a maximum of 1,000,000, with a default value set to 0. This flexibility ensures that you can tailor the integer input to suit the specific needs of your project, whether you require a small or large numerical value.

Int Literal Output Parameters:

INT

The output parameter INT represents the integer value that you have specified in the input parameter. This output can be used in various nodes and operations within your workflow, allowing you to integrate a constant integer value seamlessly into your AI art generation process. The output ensures that the specified integer is readily available for any subsequent computations or configurations.

Int Literal Usage Tips:

  • Use the Int Literal node to set fixed numerical values that can be referenced throughout your workflow, ensuring consistency and ease of adjustment.
  • When working with nodes that require integer inputs, such as size or iteration counts, the Int Literal node can provide a clear and manageable way to input these values.

Int Literal Common Errors and Solutions:

"Value out of range"

  • Explanation: The integer value specified is outside the allowed range of 0 to 1,000,000.
  • Solution: Ensure that the integer value you input is within the specified range. Adjust the value to be between 0 and 1,000,000.

"Invalid input type"

  • Explanation: The input provided is not an integer.
  • Solution: Verify that the input value is an integer. If you are using a variable or expression, ensure it evaluates to an integer.

Int Literal Related Nodes

Go back to the extension to check out more related nodes.
Save Image with Generation Metadata
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.