Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > LLM Text Processor > LLM Text Processor

ComfyUI Node: LLM Text Processor

Class Name

LLMTextProcessor

Category
LLM Text Processor
Author
kingmaniya (Account age: 4939days)
Extension
LLM Text Processor
Latest Updated
2026-04-23
Github Stars
0.02K

How to Install LLM Text Processor

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

LLM Text Processor Description

Specialized node for text processing with large language models in ComfyUI, streamlining interaction and enhancing workflow efficiency.

LLM Text Processor:

The LLMTextProcessor is a specialized node designed to facilitate the processing of text using large language models (LLMs) within the ComfyUI framework. Its primary purpose is to streamline the interaction with LLMs by executing commands and parsing their responses efficiently. This node is particularly beneficial for users who need to extract meaningful insights from model outputs, as it can separate the final response from any reasoning or performance metrics included in the output. By leveraging this node, you can enhance your workflow by automating the text processing tasks, ensuring that the outputs are clean and ready for further analysis or integration into other systems. The LLMTextProcessor is an essential tool for AI artists and developers looking to harness the power of LLMs without delving into the complexities of command-line interfaces or manual parsing.

LLM Text Processor Input Parameters:

image

This optional parameter allows you to input an image, either as a single file or a batch, to be processed alongside the text input. The image is passed to the llama.cpp framework, which can utilize it for multimodal processing if supported. This feature is particularly useful when you want to incorporate visual context into your text processing tasks. There are no specific minimum or maximum values, as it depends on the image size and format supported by the framework.

enable_processing

This boolean parameter determines whether the node should perform its standard processing operations. When set to True, the node processes the input text as usual, extracting and returning the relevant outputs. If set to False, the node bypasses its processing logic and directly forwards the input prompt as the response. This can be useful for debugging or when you want to quickly pass through the input without modification. The default value is True.

extra_args

This string parameter allows you to specify additional advanced parameters for the llama.cpp framework. These parameters can be used to fine-tune the behavior of the text processing, such as adjusting model settings or performance options. The parameter is optional and should be left empty for standard use. It does not support multiline input, and there are no predefined minimum or maximum values, as the valid options depend on the llama.cpp framework's capabilities.

LLM Text Processor Output Parameters:

RESPONSE

This output parameter provides the final model response with any reasoning blocks removed. It represents the core output of the LLM after processing the input text, making it ready for direct use or further analysis. The RESPONSE is crucial for obtaining the distilled insights or answers generated by the model, free from any additional context or explanations.

REASONING

The REASONING output parameter contains any extracted reasoning present in the model's output. This includes any intermediate thoughts or explanations the model might have generated during its processing. Understanding the reasoning can be valuable for gaining insights into the model's decision-making process or for debugging purposes.

PERF

This parameter outputs the performance metrics related to the llama.cpp prompt and generation speed. It provides information on how efficiently the model processed the input, which can be useful for optimizing performance or comparing different configurations. The PERF output helps you understand the computational cost and time associated with the text processing task.

LLM Text Processor Usage Tips:

  • To optimize performance, ensure that the enable_processing parameter is set to True only when necessary, as disabling it can speed up the workflow by bypassing processing.
  • Utilize the extra_args parameter to experiment with different llama.cpp settings, which can help you achieve better results for specific tasks or datasets.

LLM Text Processor Common Errors and Solutions:

"Selected mmproj does not match the text model"

  • Explanation: This error occurs when there is a mismatch between the selected mmproj file and the text model's embedding dimensions.
  • Solution: Ensure that the mmproj file you are using corresponds to the selected GGUF model. Verify the embedding dimensions and select the appropriate mmproj file.

"Invalid command or timeout"

  • Explanation: This error might occur if the command sent to the llama.cpp framework is incorrect or if the processing exceeds the specified timeout.
  • Solution: Double-check the command syntax and ensure that all required parameters are correctly specified. Consider increasing the timeout if the processing is expected to take longer.

LLM Text Processor Related Nodes

Go back to the extension to check out more related nodes.
LLM Text Processor
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.

LLM Text Processor