perry-alchemist / constants.py
meemeealm's picture
Upload 7 files
633c7e9 verified
Raw
History Blame Contribute Delete
1.5 kB
# constants
# --- CHARACTER CONSISTENCY ANCHOR ---
# This ensures her outfit, features, and gear remain locked panel-to-panel.
CHARACTER_ANCHOR = (
"A female alchemist, medieval dark fantasy anime style, highly detailed 2D animation. "
"She has dark hair with silver highlights, sharp features, and wears dark hooded robes "
"with intricate arcane embroidery and a leather potion belt holding vials of swirling liquids."
)
# --- DEFAULT ENVIRONMENTAL SETTING ---
# The default canvas backdrop if no alternate theme is injected by the user.
DEFAULT_SETTING = (
"In a dimly lit gothic laboratory, surrounded by stone walls and iron cauldrons. "
"Wisps of purple smoke rise from a beaker on her desk."
)
# --- ARTISTIC STYLE & LIGHTING WRAPPER ---
# Universal camera, lighting, and rendering instructions to stitch onto every generation.
GLOBAL_STYLE_MODIFIERS = (
"Dramatic chiaroscuro lighting, vibrant magical neon accents, comic line art."
)
# --- GLOBAL NEGATIVE PROMPT ---
# Crucial production guardrails to filter out AI mutations, text, and bad formatting.
GLOBAL_NEGATIVE_PROMPT = (
"3D render, photorealistic, realistic lighting, stock photo, blurry, bad anatomy, "
"extra fingers, deformed limbs, text captions, speech balloons, watermark, signature, "
"low quality, draft texture."
)
# for pipeline
# final_prompt = f"{CHARACTER_ANCHOR} {DEFAULT_SETTING} Action: [USER_PANEL_ACTION_HERE], {GLOBAL_STYLE_MODIFIERS}"