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 > Sage Utils > Text Weight

ComfyUI Node: Text Weight

Class Name

Sage_TextWeight

Category
Sage Utils/text
Author
arcum42 (Account age: 6442days)
Extension
Sage Utils
Latest Updated
2026-05-17
Github Stars
0.03K

How to Install Sage Utils

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

Applies weight to text to influence AI art generation by emphasizing or de-emphasizing elements.

Text Weight:

The Sage_TextWeight node is designed to apply a specific weight to a given text string, allowing you to emphasize or de-emphasize certain parts of your text. This can be particularly useful in AI art generation where the weight of a text prompt can influence the prominence or subtlety of elements in the generated artwork. By adjusting the weight, you can control how strongly a particular text influences the output, providing a nuanced way to guide the AI's creative process. The node is part of the Sage Utils/text category, which includes various utilities for text manipulation and enhancement.

Text Weight Input Parameters:

text

This parameter accepts the text string to which you want to apply a weight. It supports multiline input, allowing you to work with complex text prompts. The text you provide here will be the basis for the weighted output, and its content will directly influence the final result.

weight

The weight parameter determines the strength or influence of the text in the output. It is a floating-point number with a default value of 1.0, and it can range from -10.0 to 10.0, with increments of 0.05. A higher weight increases the emphasis on the text, making it more prominent in the output, while a lower weight reduces its influence. This parameter is crucial for fine-tuning the impact of your text in AI-generated art.

separator

The separator parameter defines the string that separates the weighted text from other elements in the output. By default, it is set to ", ". This allows you to customize how the weighted text is formatted and integrated with other text components, providing flexibility in how the final output is structured.

Text Weight Output Parameters:

weighted_text

The weighted_text output is a string that combines the input text with its assigned weight, formatted as (text:weight), followed by the specified separator. This output is essential for integrating weighted text into larger text prompts or compositions, enabling you to control the emphasis of different text elements in your AI art projects.

Text Weight Usage Tips:

  • Experiment with different weight values to see how they affect the prominence of text in your AI-generated art. A weight greater than 1.0 will emphasize the text, while a weight less than 1.0 will de-emphasize it.
  • Use the separator parameter to format your output in a way that best suits your project's needs. This can help in organizing complex text prompts or when combining multiple weighted texts.

Text Weight Common Errors and Solutions:

Invalid weight value

  • Explanation: The weight value provided is outside the allowed range of -10.0 to 10.0.
  • Solution: Ensure that the weight value is within the specified range. Adjust the value to be between -10.0 and 10.0.

Missing text input

  • Explanation: The text input is empty or not provided, resulting in an incomplete output.
  • Solution: Provide a valid text string in the text input parameter to generate a meaningful weighted output.

Text Weight Related Nodes

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