From 1f255e11d235bd86a48a06eadf193a49f9c38b26 Mon Sep 17 00:00:00 2001 From: newsletternewsletter <168619624+newsletternewsletter@users.noreply.github.com> Date: Tue, 16 Dec 2025 09:53:24 +0100 Subject: [PATCH] System prompt "low-quality" for Lumina 2 (CLIPTextEncodeLumina2) This commit adds the system prompt "low-quality" for negative prompts in Lumina 2. --- comfy_extras/nodes_lumina2.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/comfy_extras/nodes_lumina2.py b/comfy_extras/nodes_lumina2.py index 89ff2397a..efced2ba2 100644 --- a/comfy_extras/nodes_lumina2.py +++ b/comfy_extras/nodes_lumina2.py @@ -69,12 +69,16 @@ class CLIPTextEncodeLumina2(io.ComfyNode): "degree of image-text alignment based on textual prompts or user prompts.", "alignment": "You are an assistant designed to generate high-quality images with the "\ "highest degree of image-text alignment based on textual prompts." + "low-quality": "You are an assistant designed to generate low-quality images "\ + "based on textual prompts." } - SYSTEM_PROMPT_TIP = "Lumina2 provide two types of system prompts:" \ + SYSTEM_PROMPT_TIP = "Lumina2 provide 3 types of system prompts:" \ "Superior: You are an assistant designed to generate superior images with the superior "\ "degree of image-text alignment based on textual prompts or user prompts. "\ "Alignment: You are an assistant designed to generate high-quality images with the highest "\ "degree of image-text alignment based on textual prompts." + "Low Quality: You are an assistant designed to generate low-quality images "\ + "based on textual prompts or user prompts." @classmethod def define_schema(cls): return io.Schema(