AV ComfyUI Manual
24 / 64
Files
24
DEPTH · CANNY

Map source is selected once; the stack is then applied sequentially

Control 456 drives Depth switch 542 and Canny switch 732 at the same time. The actual Canny topology differs from wording in the older Markdown and is therefore documented with an erratum.

CONFIRMEDThe routes below are verified against node input links in HANSEN_WORKFLOW_SPEC.json
DEPTH + CANNY · SWITCH 456

Two maps converge into a sequential ControlNet stack

DEPTHstrength 0.36
25 → 784 → 542 input 1
79 → 38 → 542 input 2
model 21 · preview 39
CANNYstrength 0.31
79 → 785 → 732 input 1
79 → 165 → 732 input 2
model 23 · preview 167
542Depth source
417Depth stack
419Canny stack
418Apply to 5 / 6
01 · DEPTH

Node 542 selects external depth or DepthAnythingV2

ModeRoutePreview / model
456 = 1 · current25 V_1_d.jpg → resize 784 → image1 of 542ControlNet model 21
456 = 279 BASE → DepthAnythingV2 38 → image2 of 542Preview 39 · model 21
After selection542 → stack 417strength 723 = 0.36 · start 0 · end 1
02 · CANNY

Canny input 1 comes from BASE IMAGE, not node 25

CONFIRMED

Derived topology

Input links of 732 are 785 and 165; node 25 does not connect to 732.

NOT CONFIRMED

Old wording

06_CONTROLNET.md described node 25 as the external Canny source. Until the raw JSON is available, that claim is treated as incorrect/unconfirmed.

ModeRoutePreview / model
456 = 1 · current79 BASE → resize 785 → image1 of 732ControlNet model 23
456 = 279 BASE → Edge Filter 165 → image2 of 732Preview 167 · model 23
After selection732 → stack 419strength 722 = 0.31 · start 0 · end 1
03 · APPLY ORDER

Depth 417 passes its stack to Canny 419, then 418 applies it to both conditioning streams

The stack order is confirmed by links: 417 → 419 → 418. Apply ControlNet Stack 418 receives positive 5, negative 6 and completed stack 419, then feeds KSampler 1 twice.

04 · QA

Verify the map before SDXL sampling

  • For generated depth, inspect preview 39 first.
  • For generated edge, inspect preview 167 first.
  • Verify the effective value of control 456 on both switches.
  • Verify that resize 784/785 does not distort aspect ratio relative to BASE.
  • Only then analyze sampler 1.