The product needed a unified way to offer AI-generated images and videos to mobile users, with reliable auth, billing, content moderation, and operations tooling, not a collection of one-off scripts.
Mobile clients call Node.js REST APIs that orchestrate generation jobs across OpenAI, Kling AI, Seedance, and Nano Banana. Async jobs and storage on Google Cloud keep long-running video work off the request path. Firebase secures sessions and persists generation history.
Provider-specific adapters normalize prompts, aspect ratios, and webhooks. Rate limits and quotas are enforced server-side before paid APIs are hit. An admin panel covers users, content review, and usage analytics so support sees the same truth as the app.
The hard parts were coordinating providers with different latencies and failure modes, controlling cloud cost at scale, and keeping the admin view consistent with what users see. The result is a platform that can sell subscriptions, not a demo that generates one still.

