🔡 CLIP Text Encode
CLIP Text Encode (SDVN)
- clip
- positive
- negative
- prompt
The pitch here is simple: one node that encodes your positive and negative prompts at the same time, with translation and a big library of style presets built in. Stock ComfyUI makes you drop two separate CLIP Text Encode nodes - one for positive, one for negative - and wire both. This folds them into a single box that spits out both conditionings, which is a small thing that quietly declutters every graph you build.
Under the hood it's still ordinary CLIP encoding - it takes the clip from your checkpoint or dual-CLIP loader and turns text into the CONDITIONING the sampler steers on - but it stacks three conveniences on top. First, the two prompt fields: positive and negative, both multiline, both encoded in one pass, both coming out as their own CONDITIONING. Second, translate, a picker of 108 languages that runs your text through Google Translate before it hits CLIP, so you can write in your own language and let the node hand English to the model. Third, style, an enormous dropdown of 219 curated presets - entries like 1.5-BasePrompt, XL-BasePrompt, and a long run of Kamph_... cards for skin, Ghibli, vector art and the like - that append a pre-baked chunk of prompt text so you're not retyping the same quality tags every time. There's also a seed, which is there for the pack's dynamic-prompt support: if you write wildcard syntax in the prompt, the seed decides which variant you get.
The inputs a beginner actually touches are just positive, negative, and clip. Set the two prompts, feed it CLIP, done. The outputs are positive and negative CONDITIONING - wire those into your KSampler's matching slots - plus a prompt STRING that gives you back the final text after translation and style expansion, which is handy for logging what actually got sent or for feeding the same resolved prompt somewhere else.
One take worth having: the negative prompt is only doing work on models that use one. On Flux, and on distilled/Turbo models running at CFG 1, the negative is ignored by design - the architecture doesn't consume it - so a beautifully crafted negative here changes nothing on a Flux graph. That's not a bug in the node, it's the model; just don't waste your time tuning a negative that the sampler is going to throw away. On SD 1.5 and SDXL, where negatives matter, it's genuinely convenient to have both in one place.
Installing it comes with the pack. Search SDVN_Comfy_node in ComfyUI Manager, or cd ComfyUI/custom_nodes && git clone https://github.com/StableDiffusionVN/SDVN_Comfy_node, then pip install -r custom_nodes/SDVN_Comfy_node/requirements.txt from your ComfyUI root and restart. If you want the dynamic-prompt wildcards to actually fire, you'll also want the Dynamicprompts node installed - the README lists it as a companion for exactly this feature.
A note on expectations, since you probably found this page by searching the node name: this is a pack out of the Vietnamese Stable Diffusion community (stablediffusion.vn), and it barely registers in English-language r/comfyui or r/StableDiffusion discussion - so if you go looking for a pile of community workflows and hot takes, you won't find much. That's fine. It's a quality-of-life encoder, and the way to evaluate it is to drop it in and see if the two-prompts-plus-styles-plus-translate combo saves you clicks. For a lot of people building the same graph over and over, it does. If you don't use the styles or the translation, though, the stock two-node approach is perfectly good and you're not missing anything by staying on it.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| positive | STRING | Prompt tích cực mô tả nội dung bạn muốn sinh ra. | |
| negative | STRING | Prompt tiêu cực để loại trừ nội dung không mong muốn. | |
| style | COMBO | None | Chọn style mẫu có sẵn để thêm vào prompt. |
| translate | COMBO | Ngôn ngữ dịch prompt. | |
| seed | INT | 00–18446744073709550000 | Seed ngẫu nhiên cho prompt. |
| clip | CLIP | Mô hình CLIP dùng để mã hóa prompt. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| positive | CONDITIONING | Điều kiện chứa văn bản đã mã hóa để hướng dẫn mô hình sinh ảnh. |
| negative | CONDITIONING | — |
| prompt | STRING | — |