WanVideo TextEncode Cached

WanVideoTextEncodeCached

Encodes text prompts into text embeddings. This node loads and completely unloads the T5 after done, leaving no VRAM or RAM imprint. If prompts have been cached before T5 is not loaded at all. negative output is meant to be used with NAG, it contains only negative prompt embeddings. Additionally you can provide a Qwen LLM model to extend the positive prompt with either one of the original Wan templates or a custom system prompt.

Pack: ComfyUI-WanVideoWrapper

custom_nodes.ComfyUI-WanVideoWrapper

Inputs (8)

NameTypeRequired
model_nameCOMBOrequired
precisionCOMBOrequired
positive_promptSTRINGrequired
negative_promptSTRINGrequired
quantizationCOMBOrequired
use_disk_cacheBOOLEANrequired
deviceCOMBOrequired
extender_argsWANVIDEOPROMPTEXTENDER_ARGSoptional

Outputs (3)

NameType
text_embedsWANVIDEOTEXTEMBEDS
negative_text_embedsWANVIDEOTEXTEMBEDS
positive_promptSTRING