Krea 2 Regional Multi-LoRA — Multi-Character + Bounding-Box Layout Control By Fedor

詳細

モデル説明

# Krea 2 Regional Multi-LoRA — Multi-Character + Bounding-Box Layout Control

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.

## What it does

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.

Pair it with an Ideogram 4-style prompt builder and every box does double duty:

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

- LoRA boxes additionally lock in a specific trained identity on top of that placement.

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.

## Features

- Unlimited regions — 2 characters or 10, add a row per box

- Region rows auto-sync to the boxes you draw (draw a box, a row appears)

- Hard per-region LoRA masking (activation-delta injection)

- Bounding-box layout control for non-LoRA elements too

- fp8-safe — never touches quantized model weights

- Runs at Krea 2's native CFG 1

## Requirements

- ComfyUI with Krea 2 support (recent build)

- Models: krea2_turbo_bf16 (UNet), qwen3vl_4b_bf16 (CLIP, type krea2), qwen_image_vae (VAE)

- Custom node: ComfyUI-Krea2-Regional-MultiLoRA (this workflow's node)

- ComfyUI-KJNodes (for the box-drawing prompt builder)

- Character LoRAs trained against Krea 2 (e.g. via ai-toolkit)

## How to use

1. Write your scene prompt in the box builder (setting/lighting/camera — not the characters).

2. Draw one box per element, in order. Rows appear automatically in the LoRA node.

3. Assign a LoRA to each character box; leave object/scenery boxes as plain descriptions.

4. Sampler: euler / bong_tangent / 8–12 steps / CFG 1.

5. Queue.

## Tips

- Keep character boxes from overlapping to avoid bleed.

- If seams show, raise seam_feather a touch (0.12–0.15).

- Row order must match box order (row 1 = first box drawn).

- Character LoRAs must be Krea 2-trained — FLUX/SDXL LoRAs load but look wrong.

## Node + workflow (GitHub)

Full source, install instructions, and the example workflow:

https://github.com/CliffNodes/Krea2-Multi-Character-Lora-Node-w-bounding-box

License: MIT.

このモデルで生成された画像