Node CLIP Text Encode (Prompt) di ComfyUI
CLIP Text Encode turns a text prompt into CONDITIONING using the model text encoder. One node holds the positive prompt, a second one the negative prompt.
Paket node: ComfyUI core
Kategori: Conditioning dan prompt
Halaman ini belum diterjemahkan, jadi ditampilkan dalam bahasa Inggris.
Apa yang dilakukan CLIP Text Encode (Prompt)
The sampler cannot read words. CLIP Text Encode runs the prompt through the CLIP (or T5) text encoder and produces the conditioning tensors that steer the denoising. A standard workflow has two of them: the positive prompt wired to the KSampler positive input and the negative prompt wired to negative.
The text box supports ComfyUI prompt syntax: (word:1.3) raises attention on a word, (word:0.7) lowers it, plain parentheses multiply by 1.1, and embeddings are referenced as embedding:name. Prompts longer than 75 tokens are split into chunks automatically, and BREAK starts a new chunk by hand.
Input
Nama | Tipe | Artinya |
|---|---|---|
clip | CLIP | The text encoder from Load Checkpoint, Load LoRA or DualCLIPLoader. |
text | STRING | The prompt. Multi-line; can be converted to an input to feed it from another node. |
Output
Nama | Tipe | Artinya |
|---|---|---|
CONDITIONING | CONDITIONING | The encoded prompt for KSampler, ControlNet Apply or conditioning combine nodes. |
AD

Lewati penyiapan: workflow ComfyUI sudah terpasang di cloud
BitVector menjalankan workflow ComfyUI siap pakai di GPU miliknya sendiri. Tanpa instalasi, tanpa node hilang, tanpa kotak merah. Buka di ponsel atau laptop dan hasilkan dalam semenit.
Cara menggunakan CLIP Text Encode (Prompt)
- Add two CLIP Text Encode nodes and connect the CLIP output of your loader (after any LoRA) to both.
- Write the positive prompt in one and unwanted things in the other.
- Connect the first CONDITIONING to KSampler positive and the second to negative.
- Use (term:1.2) weights sparingly; 1.1 to 1.4 is the useful range.
Pengaturan dan tips
- Put the most important words first; CLIP pays more attention to the start of each 75-token chunk.
- Textual inversion embeddings: write embedding:filename (without extension) in either box; negative embeddings like easynegative go in the negative box.
- For Flux and SD3 write natural sentences; weights and tag soups work worse with T5.
- Right-click the node and choose "Convert text to input" to drive the prompt from a text node or a wildcard node.
- An empty negative prompt is fine; ComfyUI encodes an empty string.
Pemecahan masalah CLIP Text Encode (Prompt)
Token indices sequence length is longer than the specified maximum (77)
Mengapa terjadi
The prompt exceeds 75 tokens. ComfyUI splits it into chunks, the message is only a warning from the tokenizer.
Cara memperbaikinya
Nothing to fix for correctness. Shorten the prompt or use BREAK to control where the chunks split if later words get ignored.
The prompt seems ignored and the image barely changes
Mengapa terjadi
The node is wired to a CLIP that does not match the model (for example the checkpoint CLIP while the model goes through a LoRA), or cfg is 1 on an SD model so guidance has no effect.
Cara memperbaikinya
Wire the CLIP from the last loader in the chain and keep cfg between 4 and 8 for SD 1.5 and SDXL. For Flux, use Flux Guidance instead of cfg.
Error: embedding not found / "embedding:xyz" printed in the output
Mengapa terjadi
The embedding file is missing from models/embeddings or the name has a typo or extension.
Cara memperbaikinya
Copy the .pt or .safetensors file to models/embeddings and reference it by file name without extension, matching case on Linux.
Weighted words like (red:1.5) produce artifacts
Mengapa terjadi
Weights above about 1.5 push the embedding outside the range the model was trained on.
Cara memperbaikinya
Keep weights under 1.4 and repeat the concept in words instead of raising the number.
AD

Jalankan workflow ini dari ponsel Anda
Setiap workflow di halaman ini sudah terpasang di BitVector lengkap dengan model dan node kustomnya. Pilih satu, ketik prompt, selesai. Nol penyiapan, tidak ada yang perlu diunduh.
Pertanyaan tentang CLIP Text Encode (Prompt)
Do I need a negative prompt?
For SD 1.5 and SDXL it helps a lot (blurry, lowres, bad hands). Flux at cfg 1 ignores it entirely.
Why are there "CLIP Text Encode (Prompt)" and "CLIPTextEncodeSDXL" nodes?
The SDXL variant lets you set separate texts for the two SDXL encoders and target sizes. The plain node works fine for SDXL in practice.
What does BREAK do?
It ends the current 75-token chunk so the words after it start a fresh chunk with full attention.
Node terkait
Load Checkpoint
ComfyUI core
Load Checkpoint (CheckpointLoaderSimple) opens a .safetensors or .ckpt model file and hands out the three parts every workflow needs: the diffusion MODEL, the CLIP text encoder and the VAE.
KSampler
ComfyUI core
KSampler runs the denoising loop: it takes the model, prompts and a latent and produces the finished latent image, controlled by seed, steps, cfg, sampler, scheduler and denoise.
Conditioning (Combine) and (Concat)
ComfyUI core
Conditioning (Combine) merges two conditionings so the sampler is guided by both at once; Conditioning (Concat) joins the token sequences into one longer prompt. Related nodes set area, mask and timestep ranges.
CLIP Set Last Layer
ComfyUI core
CLIP Set Last Layer is the ComfyUI equivalent of "clip skip": it stops the text encoder a few layers early (-2 is the common setting for anime and Pony models).
Flux Guidance
ComfyUI core
Flux Guidance (FluxGuidance) writes the guidance value into the conditioning that Flux Dev was distilled to expect, replacing cfg; 3.5 is the default and 2 to 5 the useful range.
AD

Lelah memperbaiki node? Biarkan cloud yang mengerjakan
BitVector menjaga ratusan workflow ComfyUI tetap terpasang, terbaru, dan teruji di GPU cloud yang cepat. Tanpa Python, tanpa error CUDA, tanpa batas VRAM. Bisa dari browser apa pun.
Node ComfyUI lainnya
ComfyUI Manager
ComfyUI-Manager
ComfyUI Manager is the extension that installs, updates and fixes custom node packs and models from inside the interface, resolves missing nodes in imported workflows and snapshots your setup.
Save Image
ComfyUI core
Save Image writes the IMAGE tensor to ComfyUI/output as a PNG, with the whole workflow embedded in the file metadata so the picture can be dragged back into ComfyUI to restore the graph.
VAE Decode
ComfyUI core
VAE Decode converts the sampled LATENT into a pixel IMAGE with the VAE; VAE Decode (Tiled) does the same in tiles for very large images.
Empty Latent Image
ComfyUI core
Empty Latent Image creates the blank latent canvas (width, height, batch_size) that text-to-image sampling starts from; dimensions must be multiples of 8 and match the model family.
Load Image
ComfyUI core
Load Image reads a picture from the ComfyUI input folder (or an upload) and outputs an IMAGE tensor plus a MASK taken from the alpha channel, the starting point for img2img, inpainting, ControlNet and IP-Adapter graphs.
Load LoRA
ComfyUI core
Load LoRA (LoraLoader) applies a LoRA file to the MODEL and CLIP with separate strengths, so a style, character or concept can be added to any checkpoint without merging.

Model
Trends
.ai
© ModelTrends.ai
|
Dibuat di Jepang
|
© 2026