Files
lynclee 746a7ed91a feat: MultiReferenceLatent — up to 6 reference images in one node
Inject up to 6 reference images into conditioning for FLUX.2 (and other
edit models consuming reference_latents) in a single node. Each image has
its own strength (0 = skip), built-in VAE encode, all inputs optional so
one static workflow covers 0–6 references without bypass or rewiring.

Independent implementation based on ComfyUI's public native ReferenceLatent
mechanism.
2026-06-04 06:01:52 -07:00

13 lines
375 B
JavaScript

import { app } from "../../scripts/app.js";
// 给 Multi Reference Latent 节点一个固定配色,方便在画布上认出来。
app.registerExtension({
name: "comfyui.multi_referencelatent",
nodeCreated(node) {
if (node.comfyClass === "MultiReferenceLatent") {
node.color = "#2a3a4a";
node.bgcolor = "#1f2a35";
}
},
});