Added nodes TT_SdxlClipTextEncoderNode, TT_SdxlClipTextEncoderContextNode, TT_Flux1ClipTextEncoderNode, TT_Flux1ClipTextEncoderContextNode, minor bugfixes and refactoring, added docs, changed version

This commit is contained in:
TenserTensor
2026-03-05 14:57:25 +03:00
parent ef9c458a55
commit 79d323f10f
12 changed files with 328 additions and 6 deletions
+39
View File
@@ -0,0 +1,39 @@
## TT SDXL CLIP Text Encoder *TT_SdxlClipTextEncoderNode*
*This description was generated with AI assistance. If you spot any errors, please create an issue on GitHub.*
Encodes positive and negative text prompts for SDXL models using dual CLIP encoders (CLIP-L and CLIP-G) with aesthetic score and resolution
conditioning.
### Inputs
| Parameter | Type | Required | Description |
|-------------------|--------|----------|--------------------------------------------------------|
| `clip` | CLIP | Yes | Dual CLIP model (CLIP-L + CLIP-G) |
| `clip_l_positive` | STRING | Yes | CLIP-L positive prompt |
| `clip_g_positive` | STRING | Yes | CLIP-G positive prompt |
| `clip_l_negative` | STRING | Yes | CLIP-L negative prompt |
| `clip_g_negative` | STRING | Yes | CLIP-G negative prompt |
| `ascore_positive` | FLOAT | Yes | Aesthetic score for positive conditioning, default 9.0 |
| `ascore_negative` | FLOAT | Yes | Aesthetic score for negative conditioning, default 6.0 |
| `width` | INT | Yes | Source image width |
| `height` | INT | Yes | Source image height |
| `target_width` | INT | Yes | Target output width |
| `target_height` | INT | Yes | Target output height |
### Outputs
| Parameter | Type | Description |
|------------|--------------|-----------------------|
| `POSITIVE` | CONDITIONING | Positive conditioning |
| `NEGATIVE` | CONDITIONING | Negative conditioning |
### Usage
Connect `POSITIVE` and `NEGATIVE` outputs to a sampler. Set `width`/`height` to match your source image dimensions and `target_width`/`target_height`
to your desired output resolution. Higher `ascore_positive` (8–10) steers generation toward higher aesthetic quality; lower `ascore_negative` (4–6)
pushes away from low-quality outputs.
---
[View on GitHub](https://github.com/tenser-tensor/ComfyUI-TenserTensor)