How MuAPI is actually wired
Every generation is async. POST /api/v1/{endpoint} with x-api-key, receive a request_id, poll GET /api/v1/predictions/{id}/result until completed. Optional ?webhook= on submit. Costs come back on the payload. Sandbox keys (is_test) return mocks.
SaaS starter contract
The 20+ apps share Next.js, Prisma, Google OAuth, Stripe credits, and webhook-backed MuAPI. Env: DATABASE_URL, NEXTAUTH_*, GOOGLE_*, MUAPIAPP_API_KEY, STRIPE_*, WEBHOOK_URL. Fork, brand, deploy to Vercel.
White-label vs fork
White-label is hosted by MuAPI ($49/$149/$499). You never run a server. Forks are yours: you run Next, Stripe, and Postgres. Use both — white-label for speed, a fork when you want the code.