System prompt "low-quality" for Lumina 2 (CLIPTextEncodeLumina2)

This commit adds the system prompt "low-quality" for negative prompts in Lumina 2.
This commit is contained in:
newsletternewsletter 2025-12-16 09:53:24 +01:00 committed by GitHub
parent 9304e47351
commit 1f255e11d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(