3 Commits

Author SHA1 Message Date
sakuradairong
f9bb1b8eb7 chore: fix import order in gui.py 2026-06-23 16:07:19 +08:00
sakuradairong
10bbaa3061 refactor(gui): redesign to professional tool-style layout
- Left vertical toolbar with icon buttons (PS/Figma inspired)
- Central large canvas for image preview with dark theme
- Collapsible side panels (Prompt, Settings, References, Output)
- Professional dark color scheme (#1a1a1a base)
- Fix prompt_optimizer checkbox not connected to variable
- Fix Callable import from collections.abc
2026-06-23 16:05:42 +08:00
sakuradairong
993ee3ff7b feat: initial commit — image generation SDK + CLI + GUI
Includes:
- SDK: ImageModel, ImageRequest, ImageResponse (image-01 / image-01-live)
- CLI: argparse front-end with all API params + --print-json + --api-key
- GUI: tkinter desktop app with preview, multi-image nav, API key field
- Build: scripts/build.py → single-file exe via PyInstaller
- Multi-source API key resolution: CLI flag > config file > env > .env
- 74 tests, ruff clean
2026-06-22 02:34:29 +08:00