# mm-gateway: One Provider-Neutral API for Image, Video, and Music Generation

> Source: <https://dev.to/sloth-os/mm-gateway-one-provider-neutral-api-for-image-video-and-music-generation-2k5h>
> Published: 2026-08-14 09:32:30+00:00

Every generative-AI app I worked on hit the same wall. Pick a backend — OpenAI for images, Volcengine for video, Mureka for music — and before long the app is *full* of that provider's SDK quirks: its field names, its sync-vs-async polling loop, its error shapes. Then if want to swap one backend, or add a second one for failover, and it's a rewrite.

** mm-gateway** is an open-source Python gateway that sits in front of that mess. One provider-neutral contract — over

The idea is simple: **provider wire formats never appear in application code.** Every request goes through a strict, modality-specific envelope — an ordered list of *typed input parts* plus *provider-neutral parameters* — and each backend adapter translates that to its native SDK or REST shape.

For more information, visit [https://github.com/sloth-os/mm-gateway](https://github.com/sloth-os/mm-gateway)
