ComfyUI > Nodes > TIPO-extension > TIPO Format

ComfyUI Node: TIPO Format

Class Name

TIPOFormat

Category
utils/promptgen
Author
KohakuBlueleaf (Account age: 1885days)
Extension
TIPO-extension
Latest Updated
2025-03-05
Github Stars
0.42K

How to Install TIPO-extension

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

TIPO Format Description

Customize and structure AI art prompts with TIPOFormat node for refined outputs.

TIPO Format:

The TIPOFormat node is designed to facilitate the customization and structuring of prompts for AI art generation, providing a flexible framework to define and organize various elements of a prompt. This node allows you to specify a format that can include special tags, characters, copyrights, artist information, and other metadata, ensuring that the generated art aligns with your creative vision. By using TIPOFormat, you can enhance the quality and specificity of the prompts, leading to more refined and targeted outputs. The node's primary goal is to streamline the prompt creation process, making it easier to incorporate detailed and structured information that can guide the AI in producing desired artistic results.

TIPO Format Input Parameters:

tags

This parameter allows you to input specific tags that will be included in the prompt. Tags can be used to highlight particular themes, styles, or elements you want to emphasize in the generated art. The default value is an empty string, and it supports multiline input to accommodate multiple tags.

nl_prompt

The nl_prompt parameter is used to input a natural language prompt that provides a more descriptive and narrative context for the AI to follow. This can help in generating art that aligns closely with a detailed description. The default value is an empty string, and it supports multiline input.

ban_tags

This parameter specifies tags that should be excluded from the prompt. By listing tags here, you can prevent certain elements or styles from being included in the generated art. The default value is an empty string, and it supports multiline input.

tipo_model

The tipo_model parameter allows you to select a model from a predefined list of available models. This selection determines the AI model that will be used for generating the art. The default option is the first model in the list.

format

This parameter defines the structure and elements of the prompt using a specific format. It includes placeholders for various components such as special tags, characters, copyrights, and more. The default format is a multiline string that outlines the order and inclusion of these elements.

width

The width parameter sets the width of the generated image. It accepts integer values with a default of 1024 and a maximum of 16384, allowing for a wide range of image sizes.

height

Similar to the width, the height parameter determines the height of the generated image. It also accepts integer values with a default of 1024 and a maximum of 16384.

temperature

This parameter controls the randomness of the AI's output. A lower temperature results in more deterministic outputs, while a higher temperature allows for more creativity and variation. The default value is 0.5, with a step of 0.01.

top_p

The top_p parameter is used for nucleus sampling, which limits the sampling pool to a subset of the most probable tokens. The default value is 0.95, with a step of 0.01, allowing for fine-tuning of the output's diversity.

min_p

This parameter sets the minimum probability threshold for sampling, ensuring that only tokens above a certain probability are considered. The default value is 0.05, with a step of 0.01.

top_k

The top_k parameter limits the sampling pool to the top k most probable tokens, providing another way to control the diversity of the output. The default value is 80.

tag_length

This parameter allows you to specify the desired length of the tags, with options ranging from "very_short" to "very_long." The default setting is "long," which provides a balanced level of detail.

nl_length

Similar to tag_length, this parameter determines the length of the natural language prompt, with options from "very_short" to "very_long." The default is "long," offering a comprehensive description.

seed

The seed parameter sets the random seed for the generation process, ensuring reproducibility of results. The default value is 1234.

device

This parameter specifies the computing device to be used for generation, with options for "cpu" and "cuda." The default is "cuda," which leverages GPU acceleration for faster processing.

TIPO Format Output Parameters:

formatted_prompt

The formatted_prompt output provides the final structured prompt based on the input parameters and format. This output is crucial as it serves as the direct input for the AI model, guiding the generation process with the specified structure and elements.

TIPO Format Usage Tips:

  • Experiment with different format structures to see how they influence the generated art. Customizing the order and inclusion of elements can lead to varied and interesting results.
  • Use the temperature, top_p, and top_k parameters to fine-tune the creativity and diversity of the output. Adjusting these settings can help achieve the desired balance between randomness and determinism.
  • Consider using the ban_tags parameter to exclude unwanted elements from the prompt, ensuring that the generated art aligns with your specific preferences.

TIPO Format Common Errors and Solutions:

"Unknown timing: <timing>"

  • Explanation: This error occurs when an invalid timing option is selected for the processing timing.
  • Solution: Ensure that the timing parameter is set to a valid option, such as "BEFORE" or "AFTER," as specified in the node's documentation.

"Invalid model selection"

  • Explanation: This error indicates that the selected model is not available in the predefined list.
  • Solution: Verify that the tipo_model parameter is set to one of the available models listed in the node's options.

"Format string is empty or invalid"

  • Explanation: This error suggests that the format string provided is either empty or does not follow the expected structure.
  • Solution: Check the format parameter to ensure it contains a valid structure with the necessary placeholders and elements.

TIPO Format Related Nodes

Go back to the extension to check out more related nodes.
TIPO-extension
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 Playground, enabling artists to harness the latest AI tools to create incredible art.