AI Story Generator
Problem: Generate coherent short stories from minimal user input without breaking when API credits run out.
Stack: Node.js, Vercel Serverless Functions, Replicate API, Vanilla JavaScript.
Outcome: Built a resilient generation flow with explicit 402 handling and clear fallback messaging.
Impact: Fallback keeps the demo usable even when credits are exhausted.
Designed a reliable failover path so users always get a story, even with API limits.