From ef9c458a55c0bc0900a9d5567be13303d845a3ec Mon Sep 17 00:00:00 2001 From: TenserTensor Date: Thu, 5 Mar 2026 02:39:43 +0300 Subject: [PATCH] Added nodes TT_Flux2TextEncoderNode, TT_Flux2TextEncoderContextNode, TT_CannyEdgeDetectorNode, minor bugfixes, added docs, changed version --- __init__.py | 2 +- web/docs/TT_Flux2TextEncoderContextNode.md | 27 +++++++++++++++++++ web/docs/TT_Flux2TextEncoderNode.md | 31 ++++++++++++++++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 web/docs/TT_Flux2TextEncoderContextNode.md create mode 100644 web/docs/TT_Flux2TextEncoderNode.md diff --git a/__init__.py b/__init__.py index 86de57c..0747f8d 100644 --- a/__init__.py +++ b/__init__.py @@ -9,7 +9,7 @@ __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY'] print() SEP = f"{CYAN}{'=' * 60}{RESET}" print(SEP) -print(f"{YELLOW}TenserTensor ComfyUI Nodes Pack (v1.5.6): {BRIGHT_GREEN}{NODES_COUNT} Nodes Loaded{RESET}") +print(f"{YELLOW}TenserTensor ComfyUI Nodes Pack (v1.6.12): {BRIGHT_GREEN}{NODES_COUNT} Nodes Loaded{RESET}") print(SEP) print(f"{BRIGHT_CYAN}[V] Repository: https://github.com/tenser-tensor/ComfyUI-TenserTensor{RESET}") print(f"{BRIGHT_CYAN}[V] ComfyUI Registry: https://registry.comfy.org/publishers/tenser-tensor{RESET}") diff --git a/web/docs/TT_Flux2TextEncoderContextNode.md b/web/docs/TT_Flux2TextEncoderContextNode.md new file mode 100644 index 0000000..7f96712 --- /dev/null +++ b/web/docs/TT_Flux2TextEncoderContextNode.md @@ -0,0 +1,27 @@ +## TT FLUX2 Text Encoder (Context) *TT_Flux2TextEncoderContextNode* + +*This description was generated with AI assistance. If you spot any errors, please create an issue on GitHub.* + +Context-based variant of the FLUX2 text encoder. Reads all required parameters from a Context object and writes the resulting Guider back into it. + +### Inputs + +| Parameter | Type | Required | Description | +|-----------|------------|----------|--------------------------------------------------------------------------------| +| `context` | TT_CONTEXT | Yes | Context object carrying model, CLIP, prompt, LoRA triggers, and guidance scale | + +### Outputs + +| Parameter | Type | Description | +|-----------|------------|---------------------------------------------| +| `CONTEXT` | TT_CONTEXT | Updated Context with Guider stored inside | +| `GUIDER` | GUIDER | Configured Guider with encoded conditioning | + +### Usage + +Drop-in replacement for [TT FLUX2 Text Encoder](TT_Flux2TextEncoderNode.md) in Context-based workflows. The Context must have `model`, `clip`, +`prompt`, `lora_triggers`, and `guidance` set before reaching this node. + +--- + +[View on GitHub](https://github.com/tenser-tensor/ComfyUI-TenserTensor) diff --git a/web/docs/TT_Flux2TextEncoderNode.md b/web/docs/TT_Flux2TextEncoderNode.md new file mode 100644 index 0000000..47abe3a --- /dev/null +++ b/web/docs/TT_Flux2TextEncoderNode.md @@ -0,0 +1,31 @@ +## TT FLUX2 Text Encoder *TT_Flux2TextEncoderNode* + +*This description was generated with AI assistance. If you spot any errors, please create an issue on GitHub.* + +Encodes text prompts for FLUX2 models and returns a ready-to-use Guider object. Combines prompt and LoRA trigger words into a single conditioning +step. + +### Inputs + +| Parameter | Type | Required | Description | +|-----------------|--------|----------|--------------------------------------------| +| `model` | MODEL | Yes | Diffusion model | +| `clip` | CLIP | Yes | CLIP model for text encoding | +| `prompt` | STRING | Yes | Main generation prompt | +| `lora_triggers` | STRING | No | LoRA trigger words, appended to the prompt | +| `guidance` | FLOAT | Yes | Guidance scale (CFG), default 3.5 | + +### Outputs + +| Parameter | Type | Description | +|-----------|--------|---------------------------------------------| +| `GUIDER` | GUIDER | Configured Guider with encoded conditioning | + +### Usage + +Connect to a sampler node that accepts a Guider input. The `lora_triggers` field is a convenience input — enter trigger words for any loaded LoRA +models here instead of adding them manually to the main prompt. + +--- + +[View on GitHub](https://github.com/tenser-tensor/ComfyUI-TenserTensor)