Paste a script โ get a directed, quality-controlled picture book.
Psimplicity is an AI Script โ Image pipeline with a built-in AI Art Director. It splits any script into scenes, generates a styled image for every scene, then critiques each image on 8 dimensions and automatically re-rolls the ones that don't pass โ with targeted prompt surgery, not blind retries. You stay the boss: every frame gets ๐/๐ buttons, and your verdict overrides the critic.
A real output frame โ generated, critiqued, and re-rolled automatically in one run.
your script โโโถ Parse (LLM splits it into scenes)
โโโถ Story Bible (shared characters, palette, world)
โโโถ for every scene:
Generate image โโถ AI Art Director critique (8 scores)
โฒ โ
โโโ prompt surgery โโโ fail (< 7.0)
best attempt always kept โโถ your ๐/๐ final say
- 8-dimension scoring โ relevance, concept, style, composition, artifact-free, text accuracy, continuity, character fidelity. Pass bar: 7.0/10.
- Feedback that teaches โ approve/reject any frame; overrides are logged into the QC report next to the AI's scores.
- Cost gate โ see the estimated $ before you generate, set a hard budget ceiling, watch live spend (LLM and image cost) during the run.
- Multi-provider โ Gemini (Nano Banana / Imagen), OpenAI (GPT-Image, DALLยทE), Seedream via OpenRouter; parser/critic on Gemini, GPT-4o, Claude, DeepSeek, Qwen, and more.
- 12 style presets โ Pixar/DreamWorks, Watercolor Storybook, Anime Epic, Noir Thriller, Cinematic Documentary, Retro Synthwave, and more. Plus a Brand DNA mode that extracts a visual identity from your own reference images.
| Results UI | Score breakdown | Cost gate |
|---|---|---|
![]() |
![]() |
![]() |
Real numbers from the run in these screenshots: a 4-scene story โ 12 images generated through the QC loop โ $0.55 total, ~9 minutes, zero hand-editing.
You need Python 3.10+ and one free API key.
- Download ZIP or
git clone https://github.com/psigho/psimplicity.git - Double-click
engine/START.batโ it checks Python, asks for your API key, installs dependencies, and launches the app
git clone https://github.com/psigho/psimplicity.git
cd psimplicity/engine
# 1. environment
python -m venv .venv
# Windows: .venv\Scripts\activate macOS/Linux: source .venv/bin/activate
pip install -r requirements.txt
# 2. keys โ copy the template and paste at least ONE key
cp .env.example .env
# GEMINI_API_KEY โ free at https://aistudio.google.com/apikey (covers parser + critic + images)
# OPENAI_API_KEY / OPENROUTER_API_KEY โ optional extras
# 3. run
python -m streamlit run app.pyThe app opens at http://localhost:8501.
- Click โ in the sidebar and name a project
- Pick a Style Preset (try Pixar / DreamWorks) and set Target Scenes (0 = auto)
- Open ๐ธ Cost estimate & budget โ check the estimate, set a ceiling if you want a hard cap
- Paste your script and hit ๐ Generate Images
- Review the gallery: open ๐ Score Breakdown on any frame, ๐/๐ anything, โก Regenerate with extra direction, then Collect Approved
Every run is saved to engine/output/run_<project>_<timestamp>/ with all attempts, finals, qc_report.json (full scores + your feedback) and llm_calls.jsonl (per-call cost telemetry).
You bring your own API keys; Psimplicity shows you the price before and during every run. Ballpark with default settings (Gemini image engine at ~$0.04/image): a 4-scene run โ $0.50โ0.70. The budget ceiling aborts a run gracefully if it ever crosses your number.
engine/ the app (Streamlit UI + pipeline modules)
app.py UI
modules/ orchestrator, LLM gateway, art director, costing, providersโฆ
style_presets/ 12 visual styles (JSON โ add your own!)
tests/ offline unit tests (pytest, no API spend)
model_catalog.json, oga_models_reference.json reference data (not loaded at runtime)
web/ optional marketing site (Vite/React) โ not needed to run the app
Drop a JSON into engine/style_presets/:
{
"name": "My Style",
"art_style": "hand-painted gouache, thick brushstrokes",
"color_palette": "warm terracotta, deep teal, cream highlights",
"mood_keywords": ["cozy", "nostalgic", "soft light"]
}It appears in the sidebar on next launch.
cd engine
pip install -r requirements-dev.txt
pytest # 45 offline tests โ no API calls, no spendMIT โ use it, fork it, ship with it. If you build something cool, share it back with the community. ๐


