ComfyUI > Nodes > ComfyUI-LogicUtils > Text Preview

ComfyUI Node: Text Preview

Class Name

TextPreviewNode

Category
Misc
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

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

Text Preview Description

TextPreviewNode outputs text data to the console for debugging and verification in workflows.

Text Preview:

The TextPreviewNode is designed to handle text data within a node-based workflow, primarily serving as a utility to preview text content. Although it does not display text directly within the user interface, it is structured to ensure that the state of the node is always updated when text data is processed. This node is particularly useful in scenarios where you need to verify or debug text data as it flows through a series of nodes, providing a checkpoint to print and inspect the text content. Its primary function is to output the text data to the console, which can be beneficial for debugging purposes or for confirming that the text data is being processed correctly through the workflow.

Text Preview Input Parameters:

text

The text parameter is the primary input for the TextPreviewNode. It accepts any type of text data, allowing for flexibility in the kind of text that can be processed. The parameter is designed to handle various text formats, making it versatile for different use cases. The default setting for this parameter is a generic "text" type, which is intended to be used as an output from other nodes. This means that the TextPreviewNode can seamlessly integrate into workflows where text data is generated or transformed by preceding nodes. The parameter does not have explicit minimum or maximum values, as it is meant to accommodate any text input provided by the user or other nodes in the workflow.

Text Preview Output Parameters:

The TextPreviewNode does not have any explicit output parameters defined in its RETURN_TYPES. Its primary function is to print the text input to the console for debugging purposes, rather than producing a direct output that can be used by subsequent nodes. This design choice emphasizes its role as a utility node for text inspection rather than data transformation or generation.

Text Preview Usage Tips:

  • Use the TextPreviewNode to verify the content of text data at various stages in your workflow. This can help ensure that text transformations or data manipulations are occurring as expected.
  • Integrate the TextPreviewNode into complex workflows where text data is processed through multiple nodes. It can serve as a checkpoint to confirm that the data is being passed correctly between nodes.

Text Preview Common Errors and Solutions:

Text not displaying in UI

  • Explanation: The node is designed to print text to the console rather than display it in the UI. This might be misunderstood as a malfunction.
  • Solution: Check the console output to verify the text content. The node is functioning as intended by providing console output for debugging purposes.

Unexpected text format

  • Explanation: The node accepts any type of text input, which might lead to unexpected formats if the input is not properly managed.
  • Solution: Ensure that the text input is correctly formatted before it reaches the TextPreviewNode. Use text processing nodes to adjust the format if necessary.

Text Preview Related Nodes

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