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 > comfyui-anima-toolkit > TK 触发词

ComfyUI Node: TK 触发词

Class Name

TK Trigger Words

Category
TK/loaders
Author
Ararararararaki (Account age: 442days)
Extension
comfyui-anima-toolkit
Latest Updated
2026-09-16
Github Stars
0.03K

How to Install comfyui-anima-toolkit

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

TK 触发词 Description

Manage and generate trigger words for AI art workflows, prioritizing specified words for text encoding efficiency.

TK 触发词:

The TK Trigger Words node is designed to manage and generate trigger words for use in AI art workflows, particularly in conjunction with LoRA (Low-Rank Adaptation) models. This node extracts trigger words from LoRA syntax inputs, which can be either directly connected from a LoRA node or manually entered. The primary function of this node is to streamline the process of managing trigger words by prioritizing those specified in the bridge's lora_list over default file names, ensuring that the most relevant and effective trigger words are used in text encoding processes. By separating this functionality into its own node, it avoids overcomplicating the LoRA nodes and provides a dedicated space for trigger word management, enhancing the efficiency and organization of your AI art projects.

TK 触发词 Input Parameters:

lora_syntax

This parameter accepts a string input that represents the LoRA syntax, which can be connected from a LoRA node's output or manually entered in the format <lora:name:weight>. It serves as the primary source for extracting trigger words, which are crucial for guiding the AI model's behavior. The default value is an empty string, and it supports multiline input to accommodate multiple LoRA entries.

trigger_words

This optional parameter allows you to manually add additional trigger words that will be appended to the list generated from the LoRA syntax. It accepts a string input, which can be separated by commas or spaces, and is useful for supplementing the automatically extracted trigger words with custom ones that may be specific to your project needs. The default value is an empty string, and it supports multiline input.

tw_map

This parameter is a string input that holds a JSON representation of trigger words, maintained on the front end for persistence. It is used to save and restore trigger word configurations across sessions, ensuring that your workflow remains consistent even after refreshing or reloading. The default value is an empty string, and it supports multiline input.

TK 触发词 Output Parameters:

trigger_words

The output parameter trigger_words is a string that contains a comma-separated list of unique trigger words. These words are derived from the LoRA syntax input, manually added trigger words, and any additional mappings provided. This output is essential for feeding into text encoding nodes like CLIPTextEncode, where it influences the AI model's understanding and generation of art based on the specified triggers.

TK 触发词 Usage Tips:

  • Ensure that your lora_syntax input is correctly formatted and includes all necessary LoRA entries to maximize the effectiveness of the trigger words generated.
  • Use the trigger_words parameter to add any specific or project-related trigger words that might not be covered by the LoRA syntax, enhancing the customization of your AI art outputs.
  • Regularly update and maintain your tw_map to ensure that your trigger word configurations are preserved across different sessions and projects.

TK 触发词 Common Errors and Solutions:

Invalid LoRA Syntax

  • Explanation: The lora_syntax input may not be correctly formatted, leading to errors in parsing the trigger words.
  • Solution: Double-check the syntax format and ensure it follows the <lora:name:weight> structure, with each entry separated by spaces.

Duplicate Trigger Words

  • Explanation: Manually added trigger words might duplicate those extracted from the LoRA syntax, causing redundancy.
  • Solution: Review the list of trigger words and remove any duplicates to maintain a clean and efficient set of triggers.

Missing Trigger Words in Output

  • Explanation: Some trigger words might not appear in the output if they are not correctly mapped or included in the inputs.
  • Solution: Verify that all desired trigger words are either present in the lora_syntax or added manually, and ensure the tw_map is up-to-date.

TK 触发词 Related Nodes

Go back to the extension to check out more related nodes.
comfyui-anima-toolkit
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.

TK 触发词