Added nodes TT_Flux2TextEncoderNode, TT_Flux2TextEncoderContextNode, TT_CannyEdgeDetectorNode, minor bugfixes, added docs, changed version

This commit is contained in:
TenserTensor
2026-03-05 02:39:43 +03:00
parent 916eb89d7e
commit ef9c458a55
3 changed files with 59 additions and 1 deletions
+1 -1
View File
@@ -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}")
@@ -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)
+31
View File
@@ -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)