#!/bin/bash
# Generate luxury dark/gold/neon product images for Koshkooli Smart Home
mkdir -p /home/z/my-project/public/images
cd /home/z/my-project/public/images

STYLE="luxury product photography, matte black background with subtle gold bokeh, elegant dark studio scene, cinematic rim lighting, soft cyan and violet neon glow accents, ultra premium feel, high quality, detailed, centered composition, no text"

gen() {
  local file="$1"; local prompt="$2"; local size="$3"
  if [ -f "$file" ] && [ $(stat -c%s "$file") -gt 30000 ]; then echo "SKIP $file"; return; fi
  z-ai image -p "$prompt, $STYLE" -o "./$file" -s "$size" && echo "OK $file" || echo "FAIL $file"
}

# Hero - luxury smart living room at night
gen hero.png "wide cinematic interior of an ultra luxury modern smart home living room at night, floor to ceiling windows, warm golden ambient lighting mixed with cyan neon LED strips, elegant dark marble and black walnut, motorized curtains glowing softly, smart wall touch panel glowing, moody atmospheric, architectural photography, high quality, detailed" 1440x720 &

# Products (square)
gen smart-lock.png "premium matte black smart door lock with fingerprint sensor and golden accents mounted on elegant dark wooden door, glowing touch keypad" 1024x1024 &
gen touch-switch.png "elegant smart glass touch light switch panel on dark wall, glowing amber backlight and gold trim, minimalist luxury" 1024x1024 &
gen touch-panel.png "luxury smart home control touch panel tablet mounted on dark wall, glowing screen interface with golden and cyan UI glow, elegant" 1024x1024 &
wait
gen thermostat.png "premium round smart thermostat with black glass and brushed gold metal ring mounted on dark wall, glowing minimal temperature display" 1024x1024 &
gen smart-curtain.png "luxury motorized electric curtains with sheer fabric in elegant dark penthouse, golden dusk light, automated curtain rail glowing subtly" 1024x1024 &
gen video-intercom.png "premium smart video intercom door station with camera and glowing touch screen, matte black with gold ring, on dark marble wall" 1024x1024 &
wait
gen security-cam.png "elegant security surveillance camera with matte black body and gold lens ring, subtle red status glow, on dark luxurious interior wall, security concept" 1024x1024 &
gen audio-system.png "premium ceiling speaker and wall audio panel with golden accents, dark luxury interior, subtle cyan sound wave glow" 1024x1024 &
gen smart-socket.png "luxury smart wall power socket outlet with black glass plate and gold frame, subtle glowing edge, on dark wall" 1024x1024 &
wait
gen robot-vacuum.png "premium robot vacuum cleaner in ultra luxury dark living room, black glossy body with gold trim, glowing cyan laser sensor" 1024x1024 &
gen showroom.png "luxury smart home showroom interior at night with various smart home devices on display shelves, golden spotlights, cyan neon accents, dark elegant atmosphere" 1344x768 &
wait
echo "--- RESULTS ---"
for f in *.png; do echo "$f : $(stat -c%s "$f") bytes"; done
