#!/usr/bin/env python3
"""Model sheets for the second, short-form relatable cast (no storyline, one CTA short).
Hook grounded in family-photo damage / a family argument, NOT an unverified age target.
"""
import json, pathlib
OUT = pathlib.Path(__file__).parent / "prompts" / "zimage"; OUT.mkdir(parents=True, exist_ok=True)
R = "/Users/sarthakrawool/omni-test/2026-12-07-the-argument"
STYLE = (
    "3D animated feature film character design, Pixar-style clean smooth render, "
    "stylised cartoon grown-up on realistic adult body proportions, about seven heads tall, long adult legs, clearly an adult and never a child, "
    "a soft rounded oval head and face with full rounded cheeks and a softly rounded jawline, absolutely no square head, no blocky head, no angular face, "
    "big round wide-open eyes with lots of white, soft thin eyebrows, a slightly long nose with a rounded tip, a small soft mouth, "
    "minimal texture on clothes and hair, soft studio lighting"
)
SHEET4 = (
    "A four-panel character model sheet in one single image, plain light grey background, four tall panels side by side separated by thin white lines. "
    "Left panel: a tight close-up portrait of the character's face and hair, filling the panel. "
    "Second panel: front view of the outfit from the shoulders down to the shoes, the top edge of the panel cuts through the neck so no face is in this panel. "
    "Third panel: back view, the character stands facing away from the viewer, showing the back of the hair, the back of the head and the back of the clothes, no face visible. "
    "Fourth panel: side view of the outfit from the shoulders down to the shoes, the top edge of the panel cuts through the neck so no face is in this panel. "
    "The character: "
)
CAST = {
    "priya": ("a mature adult woman in her late thirties with a soft rounded face, warm brown skin, shoulder-length wavy black hair, a plain teal raincoat over a plain cream top, dark trousers, holding a plain grey photo print, tall adult figure"),
    "sam": ("a middle-aged adult man in his early fifties with a soft rounded face, light-brown skin, short grey-flecked hair, a plain olive jacket over a plain white shirt, dark jeans, an adult man's figure"),
    "nan": ("an elderly 74-year-old grandmother with a soft rounded face, deep smile lines, warm brown skin, silver hair in a loose braid, a plain soft lavender cardigan over a plain grey dress, small elderly adult figure"),
}
for k, d in CAST.items():
    for seed in (101, 103):
        req = {"model": "z-image-turbo-8bit", "prompt": SHEET4 + d + ". " + STYLE, "width": 2048, "height": 1024,
               "seed": seed, "params": {"steps": 9}, "output": f"{R}/zimage/short_sheet4_{k}_s{seed}.png"}
        (OUT / f"short_sheet4_{k}_s{seed}.json").write_text(json.dumps(req, indent=1))
print(len(CAST)*2, "short-cast jobs ->", OUT)
