ComfyUI-Krea2T-Enhancer:
ComfyUI-Krea2T-Enhancer is a model-patching node intended to adjust how a compatible Krea2 diffusion model uses text information during image generation. It attaches a wrapper that temporarily changes the model’s text-fusion behavior while the diffusion model runs, then restores the original behavior afterward. Its goal is to improve prompt adherence, but the supplied source does not establish a guaranteed visual improvement or specify which prompt types benefit most. The node checks the model before applying the enhancement; when the model does not match the expected Krea2 text-fusion layout, generation continues without the enhancement.
ComfyUI-Krea2T-Enhancer Input Parameters:
model
The ComfyUI MODEL you want to pass through the enhancer. This is the model object used for generation, not a prompt or image. The node clones it and attaches the enhancer to the clone, so you can route the resulting model into the rest of your workflow while retaining the original model connection for comparison. There is no default, minimum, or maximum value; you must connect a MODEL. The enhancement runs only if the connected diffusion model matches the Krea2 text-fusion layout expected by the wrapper.
enabled
A BOOLEAN switch that controls whether the attached enhancement takes effect during generation. The default is True; the available options are True and False. With True, the wrapper can apply the enhancement to a compatible model. With False, the wrapper calls the model’s usual execution path, which lets you compare results without removing the node from your workflow. Disabling it does not remove the wrapper from the returned model.
strength
A FLOAT that controls the enhancement’s intensity. The default is 1.0, the minimum is 0.0, the maximum is 2.0, and the interface step is 0.05. The node bounds the value to that range; if it cannot convert the value to a finite number, it uses 1.0. At 0.0, the wrapper uses the model’s usual execution path. Values above 0.0 are passed to the text-fusion enhancement, but the supplied source does not establish a particular visual result for any setting, so compare outputs in your own workflow.
debug
A BOOLEAN switch for diagnostic console messages. The default is False; the available options are True and False. When enabled, the node prints a message when it attaches the wrapper and may print information during generation, including the configured strength and measurements from the enhancement. The configuration limits those generation-time diagnostic prints to eight. Debugging is for checking what the node is doing; it is not an image-quality control.
ComfyUI-Krea2T-Enhancer Output Parameters:
model
The single MODEL output is a clone of the connected model with the enhancer wrapper and its settings attached. Connect this output wherever your workflow expects the model for generation. It is not a generated image or a separate text-conditioning value. If enabled is False, strength is 0.0, or the diffusion model does not match the expected Krea2 text-fusion layout, the wrapper follows the model’s usual execution path rather than applying the enhancement.
ComfyUI-Krea2T-Enhancer Usage Tips:
- Connect the output
modelto your generation workflow; leaving the original model connected downstream will not use this node’s settings. - Start with the default
strengthof1.0and compare images using the same prompt and other generation settings. Changestrengthin small increments so you can judge whether it helps your particular result. - Toggle
enabledbetweenTrueandFalsefor a straightforward comparison without rewiring the workflow. You can also setstrengthto0.0to bypass the enhancement. - Turn on
debugwhen you need to check whether the node attached or why it was skipped. Turn it off for routine runs to avoid extra console messages. - Use a model with the expected Krea2 text-fusion layout. The wrapper checks for that layout and skips the enhancement when it does not match.
ComfyUI-Krea2T-Enhancer Common Errors and Solutions:
[Krea2TEnhancer] skipped: diffusion model does not match Krea2 text-fusion layout
- Explanation: This is a diagnostic skip message, not a generation error. It appears only when
debugis enabled and the diffusion model does not match the layout the enhancer expects. The model continues through its usual execution path. - Solution: Check that
modelis connected to the intended compatible Krea2 model. If you are using a different model architecture, expect this node to leave it unenhanced.
[Krea2TEnhancer] attached enabled=False strength=...
- Explanation: This is a diagnostic attachment message, not an error. It means the node attached its wrapper but
enabledisFalse, so the enhancement will not take effect. - Solution: Set
enabledtoTruewhen you want to test the enhancement.
[Krea2TEnhancer] attached enabled=True strength=0.000
- Explanation: This is a diagnostic attachment message, not an error. A strength of
0.0makes the wrapper use the model’s usual execution path even though the enhancement is enabled. - Solution: Set
strengthabove0.0to test the enhancement; the default is1.0.
No visible change despite enabling the node
- Explanation: The supplied code does not guarantee a visible difference. The wrapper may skip an incompatible model, or your workflow may still be using the original model connection instead of this node’s output.
- Solution: Confirm that the output
modelfeeds the generation path, check thatenabledisTrueandstrengthis above0.0, then enabledebugand look for a skip message. Compare runs with otherwise unchanged generation settings.
