Model
Trends
.ai
Model
Trends
.ai
model AI sumber terbuka terbaik

Nod Apply ControlNet dalam ComfyUI

Apply ControlNet attaches a guide image and a loaded ControlNet to the positive and negative CONDITIONING with strength and start/end percentages, so the sampler follows edges, depth or pose from the guide.
Pek nod: ComfyUI core
Kategori: ControlNet dan guidance
Halaman ini belum diterjemahkan, jadi ia dipaparkan dalam bahasa Inggeris.

Apa yang dilakukan Apply ControlNet

Apply ControlNet (the newer ControlNetApplyAdvanced, shown as Apply ControlNet) takes positive and negative conditioning, a CONTROL_NET, the preprocessed guide IMAGE and, on recent versions, the VAE. It returns new conditioning that carries the control signal to the sampler. strength scales the influence (1.0 full), start_percent and end_percent limit the control to a part of the sampling, for example 0.0-0.6 so the composition is set early but the model finishes details freely.
The guide image must already be in the form the ControlNet expects: a Canny ControlNet wants white edges on black, a Depth ControlNet wants a grey depth map, OpenPose wants the coloured skeleton. Preprocessors from the ControlNet Aux pack produce these from a photo. For Tile ControlNets the guide is the picture itself, often blurred or downscaled.

Input

Nama
Jenis
Apakah ia
positive / negative
CONDITIONING
From the CLIP Text Encode nodes.
control_net
CONTROL_NET
From Load ControlNet Model.
image
IMAGE
The preprocessed guide (edges, depth, pose, or the picture for Tile).
vae
VAE
Optional on recent versions; required by some Flux and Union ControlNets.
strength
FLOAT
0-2, how strongly the guide is followed. 0.6-1.0 is usual.
start_percent / end_percent
FLOAT
Portion of the sampling where the control is active.

Output

Nama
Jenis
Apakah ia
positive
CONDITIONING
Controlled positive conditioning for KSampler.
negative
CONDITIONING
Controlled negative conditioning for KSampler.
AD
Langkau persediaan: aliran kerja ComfyUI prapasang di awan
BitVector menjalankan aliran kerja ComfyUI sedia ada pada GPU-nya sendiri. Tiada pemasangan, tiada nod yang hilang, tiada kotak merah. Buka di telefon atau komputer riba anda dan jana dalam seminit.

Cara menggunakan Apply ControlNet

  1. Load a photo with Load Image and run it through a preprocessor (Canny Edge, Depth Anything, DWPose).
  2. Load the matching ControlNet with Load ControlNet Model.
  3. Add Apply ControlNet; connect positive, negative, control_net and the guide image.
  4. Set strength 0.8 and end_percent 0.8 as a starting point.
  5. Connect the two outputs to KSampler positive and negative; keep the latent size matching the guide ratio.

Tetapan dan petua

  • Chain several Apply ControlNet nodes (pose + depth) by feeding the outputs of one into the next.
  • Lower end_percent (0.5-0.7) frees the model to add detail and avoids a stiff, traced look.
  • Keep the guide image at the same aspect ratio as the latent; it is resized to fit.
  • For Tile upscaling use strength 0.5-0.8 so detail can still change.
  • Preview the preprocessor output: a black or noisy guide explains most "no effect" cases.

Penyelesaian masalah Apply ControlNet

The result ignores the guide

Mengapa ia berlaku
strength near 0, end_percent too low, a black guide image, or a Union ControlNet without a type.

Cara membaikinya
Preview the guide, set strength 0.8-1.0 and end_percent 1.0 to test, then relax. Add SetUnionControlNetType for union models.

Error: mat1 and mat2 shapes cannot be multiplied / ControlNet mismatch

Mengapa ia berlaku
The ControlNet family does not match the checkpoint (SD 1.5 vs SDXL vs Flux).

Cara membaikinya
Use a ControlNet for the same family as the checkpoint.

Burned, high-contrast, posterised image

Mengapa ia berlaku
strength above 1 with a strong ControlNet (Canny or Lineart) and high cfg.

Cara membaikinya
Strength 0.6-0.9, end_percent 0.7, cfg in the model's normal range.

Old workflow shows "Apply ControlNet (OLD)"

Mengapa ia berlaku
The single-conditioning node was renamed; it still works but lacks start/end control and the negative pass.

Cara membaikinya
Replace it with Apply ControlNet and connect both positive and negative.

Flux ControlNet error about missing vae

Mengapa ia berlaku
Some Flux and Union ControlNets need the VAE to encode the guide.

Cara membaikinya
Connect the VAE output of Load VAE to the vae input of Apply ControlNet.

AD
Jalankan aliran kerja ini dari telefon anda
Setiap aliran kerja di halaman ini telah prapasang di BitVector dengan model dan nod tersuai sedia ada. Pilih satu, taip prompt, selesai. Tiada persediaan, tiada apa untuk dimuat turun.

Soalan tentang Apply ControlNet

Do I have to preprocess the image?

Yes, except for Tile and Inpaint ControlNets, which take the picture itself. Each ControlNet is trained for one kind of map.

Can I use ControlNet with img2img?

Yes. The latent comes from VAE Encode, the control from this node; the two are independent.

How many ControlNets can I stack?

As many as VRAM allows; two or three is common. Each adds memory and time.

Nod berkaitan

Load ControlNet Model
ComfyUI core
Load ControlNet Model reads a ControlNet (or T2I-Adapter / ControlNet Union) file from models/controlnet and outputs a CONTROL_NET object for Apply ControlNet.
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.
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.
CLIP Text Encode (Prompt)
ComfyUI core
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.
Ultimate SD Upscale
ComfyUI_UltimateSDUpscale
Ultimate SD Upscale enlarges a picture with an ESRGAN model, then re-samples it tile by tile through the diffusion model with your prompt at low denoise, adding real detail at 2x-4x without running out of VRAM.
AD
Penat membaiki nod? Biarkan awan melakukannya
BitVector mengekalkan beratus-ratus aliran kerja ComfyUI yang dipasang, dikemas kini dan diuji pada GPU awan yang pantas. Tiada Python, tiada ralat CUDA, tiada had VRAM. Berfungsi dari mana-mana pelayar.

Lagi nod ComfyUI

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.
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.
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 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.