Nodes/ComfyUI-WanAnimatePlus/WanAnimatePlus TextEncodeCached
ComfyUI Node

WanAnimatePlus TextEncodeCached

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.

By wuwukaka·Created 3 months ago·Updated 22 days ago· 402
WanAnimatePlus TextEncodeCached
  • extender_args
  • text_embeds
  • negative_text_embeds
  • positive_prompt
model_name
precisionbf16
positive_prompt
negative_prompt
quantizationdisabled
use_disk_cachetrue
devicegpu
CategoryWanAnimatePlus

Inputs (8)

NameTypeDefaultDescription
model_nameCOMBOThese models are loaded from 'ComfyUI/models/text_encoders'
precisionCOMBObf162 options: fp32, bf16
positive_promptSTRING
negative_promptSTRING
quantizationCOMBOdisabledoptional quantization method
use_disk_cacheBOOLEANtrueCache the text embeddings to disk for faster re-use, under the custom_nodes/ComfyUI-WanVideoWrapper/text_embed_cache directory
deviceCOMBOgpuDevice to run the text encoding on.
extender_argsoptWANVIDEOPROMPTEXTENDER_ARGSUse this node to extend the prompt with additional text.

Outputs (3)

NameTypeDescription
text_embedsWANVIDEOTEXTEMBEDSThe text embeddings for both prompts
negative_text_embedsWANVIDEOTEXTEMBEDSThe text embeddings for the negative prompt only (for NAG)
positive_promptSTRINGPositive prompt to display prompt extender results