ComfyUI > Nodes > comfyUI-tool-2lab > input Text (2lab)

ComfyUI Node: input Text (2lab)

Class Name

InputText (2lab)

Category
🦊2lab/pack
Author
AI2lab (Account age: 222days)
Extension
comfyUI-tool-2lab
Latest Updated
2024-07-18
Github Stars
0.01K

How to Install comfyUI-tool-2lab

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

input Text (2lab) Description

Node for inputting text data into AI art projects, supporting multiline input and export options.

InputText (2lab):

The InputText (2lab) node is designed to allow you to input text data into your AI art projects. This node is particularly useful for providing short prompts or descriptions that can be used in various text-based operations within your project. It supports multiline text input, making it versatile for different types of textual data. The node ensures that the text input does not exceed a specified maximum length, which is ideal for maintaining concise and relevant prompts. Additionally, it offers options to export the text data, making it easy to integrate with other nodes or external systems.

InputText (2lab) Input Parameters:

text

This parameter allows you to input the text data that you want to use in your project. It supports multiline input, making it suitable for more complex text entries. The default value is an empty string. The text should not exceed the maximum length specified by the system to ensure it is concise and relevant.

type

This parameter specifies the type of text input. Currently, it supports the option "short," which is the default value. This helps in categorizing the text input for different use cases within your project.

desc

This parameter provides a description or label for the text input. The default value is "提示词," which means "prompt" in Chinese. This helps in identifying the purpose of the text input within the node.

export

This boolean parameter determines whether the text data should be exported for use in other nodes or external systems. The default value is True, enabling easy integration and data flow within your project.

InputText (2lab) Output Parameters:

text

The output parameter "text" returns the text data that you have input into the node. This output can be used in subsequent nodes or processes within your project, allowing for seamless integration and utilization of the text data.

InputText (2lab) Usage Tips:

  • Ensure that your text input does not exceed the maximum length to avoid errors and maintain concise prompts.
  • Use the "desc" parameter to provide meaningful descriptions for your text inputs, making it easier to identify their purpose within your project.
  • Enable the "export" option if you plan to use the text data in other nodes or external systems, ensuring smooth data flow and integration.

InputText (2lab) Common Errors and Solutions:

text too long. max length is <MAX_TEXT_LENGTH>

  • Explanation: This error occurs when the input text exceeds the maximum allowed length.
  • Solution: Shorten your text input to ensure it is within the allowed length.

Invalid type value

  • Explanation: This error occurs if an unsupported value is provided for the "type" parameter.
  • Solution: Ensure that the "type" parameter is set to "short," as it is the only supported value currently.

Missing required parameters

  • Explanation: This error occurs if any of the required parameters are not provided.
  • Solution: Ensure that all required parameters (text, type, desc, export) are provided with valid values.

input Text (2lab) Related Nodes

Go back to the extension to check out more related nodes.
comfyUI-tool-2lab
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.