Repository navigation
v1.0.0: Initial Official Release - Layered Prompting & Real-Time Token Validation
We are thrilled to announce the official v1.0.0 release of ComfyUI-Text-Driven-Workflows!
This release establishes a production-ready ecosystem designed to streamline prompt management, introduce modular control over long prompt stacks, and integrate real-time visual safety metrics for Stable Diffusion workflows.
🚀 Key Highlights & New Innovations
1. Prompt Token Counter (Text-Driven) — New!
Never blindly cross the "75-token wall" again. This node introduces a lightning-fast, highly optimized approximation algorithm tailored for Stable Diffusion 1.5 and SDXL to monitor prompt length on every generation run.
- Canvas 2D Native Rendering: Completely bypasses brittle HTML text-box limitations. The color code is painted directly onto the node canvas, rendering seamlessly through pan and zoom cycles.
- Dynamic Traffic-Light System:
- Green (≤ 65 tokens): Safe zone. Prompt fits perfectly in the first text encoder chunk.
- Yellow (66–75 tokens): Warning zone. Approaching the physical chunk limits.
- Red (≥ 76 tokens): Critical danger zone. Visually warns that text will be sliced into downstream sections, risking degraded attention weights or image breakdown.
2. Text Line Prompt (Text-Driven) — New!
An innovative IDE-like prompt editing core that transforms multi-line prompts into a highly interactive, structural array.
- Bi-Directional Real-Time Sync: Modifying multipliers or toggling active/inactive states via the GUI dropdown menu automatically rewires and rewrites the raw text field instantly.
- Smart Muting: Deactivating specific lines automatically prepends
//to comment them out, smoothly bypassing backend execution while preserving your prompt blueprints.
📦 Complete Node Ecosystem (9 Specialized Nodes)
With this release, the suite provides a fully balanced array of 9 core nodes categorized under text-driven logic:
- Join Strings: Concatenates fragments utilizing ComfyUI V3 native Autogrow.
- Math (Int): Advanced sign-aware integer arithmetic core with zero-division safety.
- Multi Prompts: Expands or shrinks up to 10 weighted, independently-toggled prompt slots.
- Prompt Line: Seamlessly extracts array lines to drive high-performance batch generation runs.
- Prompt Token Counter: [Featured] Real-time color-coded chunk validation.
- Resolution Selector: externo aspect ratio manager with out-of-the-box SDXL presets.
- Single Prompt: Precision multiplier weighting container with standard syntax generation.
- Text Line Prompt: [Featured] Interactive multi-line string component tuning.
- Text Line Selector: Studio-grade database selector to swap massive staging and direction plans via label arrays.
⚙️ Infrastructure & Package Ecosystem Compatibility
- pyproject.toml Integration: Formally implemented standardized version metadata tracking. This repository is now fully structured for automated parsing by the ComfyUI Manager and the ComfyUI Registry systems, enabling flawless user updates going forward.
Thank you to the community and developers whose rigorous logical feedback and architectural adherence made this milestone release a bulletproof reality! Time to build smarter, text-driven workflows.