Case study
AImajin: Multimodal AI Workflow Proof
AImajin is applied AI media R&D from Frumu, built to explore image and video generation workflows, prompt orchestration, creative automation, review loops, and polished user-facing AI interfaces.
Problem
- AI media generation is not a single prompt call: useful systems need prompt refinement, provider orchestration, media storage, review loops, and usable artifacts.
- Image and video jobs are long-running and spiky, so the workflow needs real-time progress, resilient retries, and clear user feedback.
- A polished AI product requires secure auth, billing/subscriptions, reliable job processing, and cost-aware infrastructure.
Solution
- Built AImajin as a React Native (Expo) application for AI image editing/generation and AI video workflows.
- Implemented a Django backend (DRF + ASGI/Channels) with async job processing (Celery + Redis).
- Used Nginx as a reverse proxy for TLS termination and WebSocket proxying.
- Integrated Supabase (auth + Postgres) and RevenueCat (IAP + webhooks).
- Integrated Cloudflare R2 for media storage and Cloudflare Vectorize for vector search.
- Integrated multiple AI providers (Replicate, OpenRouter, FAL, Gemini) behind a single backend interface.
- Instrumented error tracking with Sentry (backend + workers).
Architecture
Results
Shipped to Google Play
Production app with 100+ downloads and 4+ star rating
Real-time generation UX
WebSocket progress updates for AI jobs taking 10–60s
Sub-£50/month hosting
Cost-aware infrastructure on Hetzner with Docker Swarm
RevenueCat integrated
Subscription billing with webhook-driven entitlements
How this maps to client use cases
- Multimodal business workflows where images, video, or creative assets need to move from input to generation to reviewable output.
- AI-assisted content generation systems that require prompt orchestration, approval loops, reusable pipelines, and media processing.
- Teams moving from prototype image/video scripts to maintainable backend services with queues, monitoring, storage, and cost controls.