I'll build AMPLIFY — a cinematic prompt-enhancement lab with a local enhancement engine, streaming output, and rich motion graphics. Let me check the base files and install the animation/icon libraries.
Now I'll build the app. Starting with the HTML shell (fonts, title, meta), the Tailwind v4 theme in CSS, and the core enhancement engine — a sophisticated local AI-style prompt transformation system.
Shell and theme are in. Now the heart of the app — the local enhancement engine with intent detection, mode-specific transformation stacks, structured output sections, and an analysis report.
The intent-resolution expression was over-complicated. Simplifying it:
Let me inspect that area of the file:
Found it — <<< is an invalid operator. Fixing to a proper integer coercion:
Engine fixed. Now the visual layer — the particle neural-mesh background canvas, the navbar, and the cinematic hero.
Now the hero, marquee, features, and footer components:
Now the centerpiece — the interactive enhancer studio with controls, streaming output, analysis report, and history. This is the largest component:
Now composing everything in App.tsx and checking main.tsx:
Composition is done. Let me clean up a few small issues: an invalid font-700 class in Navbar, a conflicting animation utility in the Hero gradient text, and the label-color lookup bug in Enhancer's streaming renderer.
Now let's build to verify everything compiles:
Build passes. Adding one UX refinement — on mobile, auto-scroll to the output panel when the enhance run fires:
All three edits applied (the interim lint warning resolved once the ref got used). Final verification build:
AMPLIFY — Prompt Enhancement Engine is live and building cleanly. Here's what was delivered:
The Tool (fully functional, 100% local)
A real prompt-transformation engine written from scratch in src/lib/enhancer.ts:
- Intent autopsy — regex-based detection routes your input to image, code, writing, marketing, research, or general stacks (or pick manually)
- Structural expansion — rebuilds crude input into labeled
ROLE / OBJECTIVE / CONTEXT / CONSTRAINTS / VOICE / FORMAT / QUALITY BAR / DEEP REASONING sections
- Model calibration — GPT (iterative outlining), Claude (
<thinking> blocks), Midjourney (--ar --stylize params), SDXL (negative prompts + sampler config), DALL·E settings
- Image-gen mode composes subject + composition + lighting + lens + palette + style + mood from curated language pools
- 3 intensities (Subtle / Balanced / Extreme), 6 voices, seeded RNG so every re-roll produces a fresh-but-coherent variant
- Analysis report: detail gain, animated clarity-index bar, and staggered "components injected" chips
The Experience
- Streaming output — typewriter reveal with blinking cursor, per-label accent colors (lime for objectives, cyan for context…)
- Processing theater — rolling status lines ("expanding semantic context…", "compressing entropy…") with progress segments and a scanline sweep
- Copy,
.txt download, re-roll, original/enhanced toggle, and a localStorage recent-runs history
⌘/Ctrl + ↵ shortcut, seed chips, live char/word/token meter
Motion Graphics
- Interactive particle neural-mesh canvas with mouse repulsion + drifting aurora orbs + masked grid + film grain
- Cinematic hero: line-masked headline reveals, animated gradient text, scramble-text eyebrow, count-up stats, rotating text-seal
- Tilted infinite marquee with outlined type, spotlight-hover tilt cards, spring-animated segmented controls, butter-smooth
[0.16,1,0.3,1] easing throughout
Typography: Space Grotesk display / Inter body / JetBrains Mono for prompt text — all on a deep-void palette with neon-lime, violet, and cyan accents.
Files built: index.html, src/index.css, src/lib/enhancer.ts, src/components/Background.tsx, src/components/Navbar.tsx, src/components/Hero.tsx, src/components/Marquee.tsx, src/components/Features.tsx, src/components/Footer.tsx, src/components/Enhancer.tsx, src/App.tsx