Files
EthanfelandClaude Opus 4.8 13b79b3fc0 Initial release: Text Encode (Krea2) node
Vision-aware text conditioning for the Krea2/K2 model (Qwen3-VL-4B text
encoder). Forces the Krea2 descriptor template even with images, omits the
no-op VAE input (Krea2 has no reference-latent pathway), and accepts an
unbounded, auto-growing set of image+mask reference pairs. Optional per-image
mask crops the image to the masked bounding box before the vision encoder.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 03:09:21 +02:00

9 lines
334 B
Python

"""ComfyUI-Krea2TexTEncoder — vision-aware text conditioning for the Krea2 / K2 model."""
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
# Serves web/ as a frontend extension (auto-growing image inputs).
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]