Sentinel7 commited on
Commit
883090d
Β·
verified Β·
1 Parent(s): 37fa6e2

Upload 2758211/3103801/README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. 2758211/3103801/README.md +119 -0
2758211/3103801/README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - bounding box
5
+ - custom_node
6
+ - krea2
7
+ - lora
8
+ - multi-lora
9
+ - tool
10
+ - workflow
11
+ ---
12
+
13
+ # Krea 2 Regional Multi-LoRA β€” Multi-Character + Bounding-Box Layout Control By Fedor - v1.0 - 3103801
14
+
15
+ **Model Type**: Workflows
16
+
17
+ **Base Model**: Krea 2
18
+
19
+ **Trigger Words**: None
20
+
21
+ **Tags**: bounding box, custom_node, krea2, lora, multi-lora, tool, workflow
22
+
23
+ ## Gallery
24
+
25
+ <table>
26
+ <tr>
27
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/354c12ef-93b3-4f41-aceb-95d7066df13f/original=true/135892100.jpeg" width="200"></td>
28
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4e19ff04-c852-44c8-a341-cd0b7f439d11/original=true/135892101.jpeg" width="200"></td>
29
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c83f0642-e64a-4ae0-8680-8b9f0ac6db84/original=true/135892102.jpeg" width="200"></td>
30
+ </tr>
31
+ <tr>
32
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/eb777fd0-aca6-435a-b070-3cf140a03592/original=true/135892105.jpeg" width="200"></td>
33
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/54dfc69a-71b4-42c7-8123-1d550cabf774/original=true/135893091.jpeg" width="200"></td>
34
+ </tr>
35
+ </table>
36
+
37
+ ## Description
38
+
39
+ # Krea 2 Regional Multi-LoRA β€” Multi-Character + Bounding-Box Layout Control
40
+
41
+ Put **multiple character LoRAs in a single Krea 2 image**, each one locked to its own bounding box β€” no bleed, no merged faces, no averaging. And it's not just for LoRAs: draw and describe boxes for **objects, props, backgrounds, and extra subjects** too, exactly like Ideogram 4's bounding-box prompting.
42
+
43
+ ## What it does
44
+
45
+ Normal LoRA loading applies everywhere, so two character LoRAs smear into each other. This node injects each LoRA's effect **only into the image tokens inside its box, at forward time** β€” outside the box the effect is multiplied by zero. It's a hard spatial guarantee, not an attention-bias nudge the model can ignore.
46
+
47
+ Pair it with an Ideogram 4-style prompt builder and every box does double duty:
48
+
49
+ - **Every box** places its described content via Krea 2's Qwen3-VL text encoder (a table, a neon sign, a dog on the left β€” Krea 2 honors the placement).
50
+
51
+ - **LoRA boxes** additionally lock in a specific trained identity on top of that placement.
52
+
53
+ Sketch the whole scene as boxes, describe each one, and drop LoRAs into the boxes that need a precise face. Objects and characters, all placed by the same boxes.
54
+
55
+ ## Features
56
+
57
+ - Unlimited regions β€” 2 characters or 10, add a row per box
58
+
59
+ - Region rows auto-sync to the boxes you draw (draw a box, a row appears)
60
+
61
+ - Hard per-region LoRA masking (activation-delta injection)
62
+
63
+ - Bounding-box layout control for non-LoRA elements too
64
+
65
+ - fp8-safe β€” never touches quantized model weights
66
+
67
+ - Runs at Krea 2's native CFG 1
68
+
69
+ ## Requirements
70
+
71
+ - ComfyUI with Krea 2 support (recent build)
72
+
73
+ - Models: `krea2_turbo_bf16` (UNet), `qwen3vl_4b_bf16` (CLIP, type krea2), `qwen_image_vae` (VAE)
74
+
75
+ - Custom node: **ComfyUI-Krea2-Regional-MultiLoRA** (this workflow's node)
76
+
77
+ - ComfyUI-KJNodes (for the box-drawing prompt builder)
78
+
79
+ - Character LoRAs trained against Krea 2 (e.g. via ai-toolkit)
80
+
81
+ ## How to use
82
+
83
+ 1. Write your scene prompt in the box builder (setting/lighting/camera β€” not the characters).
84
+
85
+ 2. Draw one box per element, in order. Rows appear automatically in the LoRA node.
86
+
87
+ 3. Assign a LoRA to each character box; leave object/scenery boxes as plain descriptions.
88
+
89
+ 4. Sampler: euler / bong\_tangent / 8–12 steps / CFG 1.
90
+
91
+ 5. Queue.
92
+
93
+ ## Tips
94
+
95
+ - Keep character boxes from overlapping to avoid bleed.
96
+
97
+ - If seams show, raise `seam_feather` a touch (0.12–0.15).
98
+
99
+ - Row order must match box order (row 1 = first box drawn).
100
+
101
+ - Character LoRAs must be Krea 2-trained β€” FLUX/SDXL LoRAs load but look wrong.
102
+
103
+ ## Node + workflow (GitHub)
104
+
105
+ Full source, install instructions, and the example workflow:
106
+
107
+ <https://github.com/CliffNodes/Krea2-Multi-Character-Lora-Node-w-bounding-box>
108
+
109
+ License: MIT.
110
+
111
+ ---
112
+
113
+ Author: [ftrbzmogul355](https://civitai.com/user/ftrbzmogul355)
114
+
115
+ Model: [CivitAI Model Page](https://civitai.com/models/2758211?modelVersionId=3103801)
116
+
117
+ Archive: [CivArchive Page](https://civarchive.com/models/2758211?modelVersionId=3103801)
118
+
119
+ <!-- Version: 20260706_upload -->