🤖 AI Summary
MediaRouter is a 100% open-source, self-hosted gateway that unifies multiple AI video-generation providers (OpenAI Sora 2, Runway Gen‑3/4, Kling AI and more) behind a single OpenAI-compatible API. It promises no vendor lock‑in (bring your own API keys), real‑time cost tracking, encrypted key storage (Fernet), and a one‑command Docker Compose setup that spins up a FastAPI backend and React frontend (localhost:3000/3001) in ~30 seconds. The project already supports Sora 2 (including synced audio), Runway and Kling with public APIs and lists Sora pricing (~$0.10/sec) and model mappings; it exposes the familiar POST /v1/video/generations flow and an interactive /docs endpoint.
For ML engineers and teams this matters because it gives full control over keys, data, and costs while enabling consistent workflows across providers—useful for reproducibility, compliance, A/Bing models, and fallback/resilience strategies. Technically, MediaRouter is extensible via a provider adapter interface (add providers by implementing VideoProvider), includes usage analytics (costs, durations, success rates), a video gallery, and secure config (.env-managed encryption keys). It's MIT‑licensed, community-driven, and supports local development (uvicorn, hot reload, tests) or production Docker deployments — a practical option for teams wanting flexible, auditable multi-provider video generation without locking into proprietary gateways.
Loading comments...
login to comment
loading comments...
no comments yet