ImagineIf is a platform where users collaboratively write stories, one 280-character segment at a time, and AI generates a visual for each contribution automatically.
Each story starts with an "Imagine if..." prompt. Anyone can continue a chain — the AI produces an image for every new segment using FLUX-dev (Replicate as primary, fal.ai as fallback). Stories can branch based on contributor choices.
Tech stack: React Native/Expo (web PWA + iOS + Android), FastAPI backend, MariaDB, Celery+Redis for async image gen, Groq/Llama for moderation and translation, FLUX-dev for visuals.
What's live today:
Web: https://imagineif.app
iOS: https://apps.apple.com/app/imagineif-story-chains/id67597222...
Android in closed testing
22 language support with automatic translation pipeline
The hardest part technically was building a reliable dual-provider image pipeline that degrades gracefully without blocking the user's contribution flow — a failed image generation shouldn't interrupt the writing experience.
Happy to answer questions about the architecture or the solo-founder experience.