Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

Merge remote-tracking branch 'origin/feat/krea2-edit-references' into feat/krea2-edit-references-ui

Alexander Eichhorn75a8340e53a7
diff --cc docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdx
index 01ff6d8919,0253be6bbb..f88125e397
--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdx
+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/krea-2.mdx
@@@ -254,10 -225,13 +256,14 @@@ Nothing in a LoRA file says which kind
figures with reference images can mean the LoRA was trained with isolated references: turn the cache on.
:::caution[Limits]
-- At most **3** reference images. Both the prompt node and the denoise node refuse more.
+- At most **3** reference images. Both the prompt node and the denoise node refuse more, and the Generate
+ panel accepts three.
- The denoise node refuses a prompt that was encoded with a different number of reference images than it
- has reference latents, for the positive prompt and, when CFG is above 1, the negative prompt.
+ has reference latents: the positive prompt, and the negative prompt when a step between Denoising Start
+ and Denoising End has CFG above 1. Only the number is checked, not which images or their order, so give
+ the prompt and the denoise node the same images in the same order.
+ - With references, each of those prompts must be a single prompt. The denoise node refuses a collection of
+ several, because each would add the reference images to the text again.
- With the K/V cache off, every reference adds about **4096 tokens per megapixel** to every transformer
pass. A 1 megapixel reference doubles the image sequence of a 1024² generation, so each step takes at
least twice as long and needs more VRAM. The memory reserved for the transformer accounts for the extra tokens.