ComfyUI Node
Detail transfer
Add a detail source's fine lightness detail (its high-pass) to an image, at a fixed gain or at the gain that makes the result's fine detail match a reference region's.
Detail transfer
- image
- detail_source
- mask
- reference_image
- reference_mask
- ui_widget
- image
- report
- image_list
◄radius4►
◄modematch_reference►
◄strength1.00►
Category✨ LF Nodes/Texture
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Image(s) to receive detail (sRGB). | |
| detail_source | IMAGE | Image whose fine lightness detail is added: one for all images or one per image, same H,W. | |
| radius | INT | 41–256 | Detail finer than this many pixels (box blur radius) is transferred and measured. |
| mode | COMBO | match_reference | match_reference: choose the gain so the result's fine detail matches reference_image's; fixed: use strength. |
| strength | FLOAT | 1.000–10 | Gain on the source's detail in fixed mode (1.0 adds it as is). Ignored by match_reference. |
| maskopt | MASK | Where detail is added and measured; values weight it. Defaults to the whole image. | |
| reference_imageopt | IMAGE | Image whose fine detail spread the result should match (match_reference). | |
| reference_maskopt | MASK | The region of reference_image to measure. Defaults to the whole image. | |
| ui_widgetopt | LF_COMPARE | [object Object] | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Image batch with the detail added to L*; zero-weight pixels and alpha are unchanged. |
| report | JSON | lf.detail-transfer.v1: the fine-detail spreads measured and the gain used, per image. |
| image_list | IMAGE | The same images as an authoritative list. |