New kg_krea_v10 package with KG Krea 2 Image Guide Card V10 and KG Krea 2 Reference Stack Encoder V10. V9 is untouched; packets stay V9-compatible and the two versions cross-connect via the shared KG_KREA_REFERENCE link type. Card: quick recipes for the four previously manual-only roles (palette, environment, framing, mood board), guide direction (counter-example guidance via negative delta targets with symmetric layer clamping), per-card timing, and manual structure/finish layer dials. Stack: balance budget for hot multi-card stacks, content-keyed study cache that makes strength/timing tweaks compose-only, a plain-language stack report output, and a prepared-reference contact sheet output. The full guard's prompt rewriter gains an ES/FR/DE/PT/IT starter vocabulary. Web extension covers the V10 nodes; tests/test_krea_v10.py pins the V10 label surface, packet compatibility, direction/timing/balance math, cache behavior, and the multilingual guard.
26 lines
1013 B
Python
26 lines
1013 B
Python
"""ComfyUI Krea Reference custom nodes.
|
|
|
|
This package registers the Krea 2 V9 and V10 reference-stack nodes.
|
|
"""
|
|
|
|
from .kg_krea_v9 import KGKrea2ImageGuideCardV9, KGTextEncodeKreaImageReferencesV9
|
|
from .kg_krea_v10 import KGKrea2ImageGuideCardV10, KGTextEncodeKreaImageReferencesV10
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"KGKrea2ImageGuideCardV9": KGKrea2ImageGuideCardV9,
|
|
"KGTextEncodeKreaImageReferencesV9": KGTextEncodeKreaImageReferencesV9,
|
|
"KGKrea2ImageGuideCardV10": KGKrea2ImageGuideCardV10,
|
|
"KGTextEncodeKreaImageReferencesV10": KGTextEncodeKreaImageReferencesV10,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"KGKrea2ImageGuideCardV9": "KG Krea 2 Image Guide Card V9",
|
|
"KGTextEncodeKreaImageReferencesV9": "KG Krea 2 Reference Stack Encoder V9",
|
|
"KGKrea2ImageGuideCardV10": "KG Krea 2 Image Guide Card V10",
|
|
"KGTextEncodeKreaImageReferencesV10": "KG Krea 2 Reference Stack Encoder V10",
|
|
}
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|