Video API for developers | Mux
Mux helps teams ship high-performance and cost-effective video in minutes, not months. Build better video into anything from websites to platforms to AI workflows.
- File type
- Web page
- Queried
- 00
- Source
- mux.com
Full article
Showing the full article.
# Video API for developers | Mux Skip to content Mux Logo Toggle Mux Brand Popover Toggle navigation menu * Product * Solutions * Developers * Pricing * Blog Talk to us Talk to us Log in Log in Technical preview Mux Robots # Video for developers Mux helps teams do more with video. Stream it, moderate it, search it, analyze it, transform it. Build cost-effectively in minutes, not months. Get started Get started Read our docs Read our docs ## Trusted by top [Image 1: [Image 2: [Image 3: [Image 4: [Image 5: [Image 6:
[Image 7: [Image 8: [Image 9: [Image 10: [Image 11: [Image 12: [Image 13: [Image 14: [Image 15: [Image 16: [Image 17: [Image 18: [Image 19: [Image 20: auto=format&fit=max&w=3840) ## Features #### Unlock the data in your video More than just content, video contains a boatload of data for you to build with. Select a video to see Mux in action. Try another [Image jpg%3Ftime%3D0&w=3840&q=75) Show the code ## Embedding a video with Mux is simple React component Web component Iframe embed ``` import MuxPlayer from '@mux/mux-player-react'; <MuxPlayer playbackId="61zK4LlhV9P00tpGpsH7Fc00T58eR7m63b" metadata={{"video_title": "Training video", "video_user_id": "user-1138"}} /> ``` #### Turn video files into video features We give you the building blocks to create live and on-demand video exactly how you want.
See all Mux Video features Transcript Thumbnails GIFs Clipping Storyboards ### Transcript Loading Still loading This is taking a while, huh This is a little awkward Still loading Reticulating splines Calculating the meaning of life Locating the required gigapixels Aligning the data streams Loading additional loading messages Waking up kittens Optimizing the optimizations Feeding the kittens Collating the pixels Reversing the polarity of the neutron flow Cuddling the kittens Dividing by zero Bending the spoon Still loading Show the code ``` // create an asset with auto-generated subtitles await create({"inputs": [{"url": mp4"}, {generated_subtitles: [{name: "English CC", "language_code": "en"}]}], "playback_policies": ["public"], "video_quality": "basic"}); // get subtitles const playbackId = "61zK4LlhV9P00tpGpsH7Fc00T58eR7m63b"; const trackId = "OAuM02dcFlV3xvQg6L98Ggu0100JcbZ01tmoAwC1xsR1t2OqyIO6IZeO00g"; await
vtt`) ``` ### Understand video analytics at a glance Track key engagement and quality of experience metrics: views, playing time, viewer retention, startup time, rebuffering, and more. Looking for standalone media-grade stream analytics? Get Mux Data Get Mux Data ### How much will this video cost? Uploading this 1m 40s video: Free Storing this video for 1 month: $0.004 Streaming 72,319 times: $16 Mux Data analytics: Included Free monthly usage credit: -$20 Total: $0 ### Mux Robots Integrate Mux's pre-built AI workflows or build your own. Our platform is built for humans and robots, from streaming to analysis and everything in between.
### Caption translation English ``` const assetId = "ERAR8Tf5UDH4IMZhwpiA6NElgqr02PK3A"; const captionTrackId = "OAuM02dcFlV3xvQg6L98Ggu0100JcbZ01tmoAwC1xsR1t2OqyIO6IZeO00g"; const job = await create({parameters: {asset_id: assetId, track_id: captionTrackId, to_language_code: "es"}}); const result = await id); uploaded_track_id); ``` Show the code ### Ask questions Is this video a cartoon? yes no 100% certainty Does this video feature cats? yes no 100% certainty Was this video mostly shot outdoors? yes no 100% certainty ``` const assetId = "ERAR8Tf5UDH4IMZhwpiA6NElgqr02PK3A"; const job = await create({parameters: {asset_id: assetId, questions: [{question: "Is this video a "}, {question: "Does this video feature "}, {question: "Was this video mostly shot
"}]}}); const result = await id); answers); ``` Show the code ### Summarization | Tone: Neutral Professional Playful ``` const assetId = "ERAR8Tf5UDH4IMZhwpiA6NElgqr02PK3A"; const job = await create({parameters: {asset_id: assetId, tone: "neutral"}}); const result = await id); title); description); tags); ``` Show the code ### Content moderation NSFW:Violent: ``` const assetId = "ERAR8Tf5UDH4IMZhwpiA6NElgqr02PK3A"; const job = await create({parameters: {asset_id: assetId, thresholds: {sexual: 0.7, // Flag content with 70%+ confidence violence: 0.8 // Flag content with 80%+ confidence}}}); const result = await id); exceeds_threshold); sexual); violence); ``` Show the code ### Chaptering Analyze your video to identify natural breakpoints, create descriptive chapter titles, and add timestamps ``` const assetId = "ERAR8Tf5UDH4IMZhwpiA6NElgqr02PK3A"; const job = await
create({parameters: {asset_id: assetId}}); const result = await id); chapters); ``` Show the [Image 22: Robots, in graffiti [Image dpl=dpl_BXBDWCjRcR1vFFkhAvkNu852S35T) ## The video infrastructure for your website From background videos to simple player embeds, we’ve got you covered. Commerce-UI built Lady Gaga’s immersive website with video front and center. After launch, they saw a 128% increase in add-to-cart rate and 55% increase in average order [Image 24: Commerce-UI case [Image auto=format&fit=max&w=3840) While you perfect your AI models, we take care of encoding, delivery, and scaling your video output reliably and cost-effectively. Synthesia built their AI video platform on Mux enabling them to affordably scale video generation while focusing on AI innovation rather than building video from
[Image 26: Synthesia case [Image auto=format&fit=max&w=3840) With videos ready for playback in an average of under 2 seconds you can build what you need for your community. Glassdoor launched user-generated video and created a new form of content-moderated community engagement in their app in 5 [Image 28: Glassdoor case [Image auto=format&fit=max&w=3840) Whether it’s on-demand or live, build video that scales to support your users. Patreon built native video for a more consistent creator and fan experience, going from limited control with third-party solutions to a fully customized, seamless [Image 30: Patreon case [Image auto=format&fit=max&w=3840) Go from MVP to launch in no time with API and docs that are designed for developers to build video quickly.
Typeform integrated video questions and answers into their forms, achieving 24% adoption among Growth plan users and contributing over 2.5% of ARR within six months of [Image 32: Typeform case [Image auto=format&fit=max&w=3840) With latency as low as 4 seconds and support for SRT (with HEVC) and RTMP, you can stream live, at scale, and without worry. Maestro helps creators like Billie Eilish create and monetize interactive live experiences at scale. They enable creators to stream and connect to hundreds of thousands of [Image 34: undefined case [Image auto=format&fit=max&w=3840) ## We speak your language You don’t have to reinvent your stack to get great video.
We’re compatible with your favorite languages and [Image 36: Vercel auto=format&fit=max&w=3840) Mux is available on the Vercel [Image 37: js [Image 38: Astro auto=format&fit=max&w=3840) Python Go Elixir Node Ruby PHP iOS Icon Android Icon ## Mux love from around the world > Working with the Mux team felt like we were all working together, as opposed to the typical vendor/client relationship. Mux was with us every step of the way, from ideation to delivery. Lucas Kacher Staff Software Engineer + Engineering Lead for [Image 39: auto=format&fit=max&w=3840) > Ran our first live stream via @MuxHQ today after some horrible experiences with a well known alternative who shall remain nameless.
Super simple, reliable and looked [Image 40: Will Wilson's auto=format&fit=max&w=256) Will Wilson @theMojoWill > I could have created a custom solution like Amazon S3 to host my video, but it was extremely complex and extremely expensive. And then someone said, but there is Mux and I checked it's exactly what I needed and for much cheaper than using AWS. That's why I had no choice. It was the best solution. Bruno Simon [Image 41: js auto=format&fit=max&w=3840) > AI enables video at a scale that wasn't possible before, which means cost is a huge consideration. Mux was very proactive in making sure our costs were managed.
Jake Gillespie Engineering Manager, [Image 42: Synthesia auto=format&fit=max&w=3840) > We researched, candidly, every single option. Mux kept coming up as the number one ease of integration was amazing that it's just a couple of lines of code and "boom". Will Baumann [Image 43: auto=format&fit=max&w=3840) > We were stressing about how long it would take to fix our video streaming, but I was able to open up Github mobile and integrate Mux _on my _ I had something working in two hours. That’s wild. Gaurav Misra Co-Founder and [Image 44: Captions auto=format&fit=max&w=3840) > We built an in-house MVP solution for video, but rather than spending our engineering team’s time navigating and maintaining video infrastructure, we turned to Mux.
With Mux, video just works, which means we can focus on building the best product for Substack creators and trust that video is solved. Jairaj Sethi Co-founder and [Image 45: auto=format&fit=max&w=3840) > the documentation and API design for the @MuxHQ api is some of the best I've used in a while - insanely clean UI and has api reference or webhook for everything I [Image 46: @tihalstead profile auto=format&fit=max&w=256) Ti @tihalstead > Mux has enabled us to move 5x faster. We can trust processes like uploading and transcoding are handled really well — and we didn’t have to spend the time and resources on our end building that out.
Bethany Stachenfeld Co-founder and [Image 47: auto=format&fit=max&w=3840) > Working with the Mux team felt like we were all working together, as opposed to the typical vendor/client relationship. Mux was with us every step of the way, from ideation to delivery. Lucas Kacher Staff Software Engineer + Engineering Lead for [Image 48: auto=format&fit=max&w=3840) > Ran our first live stream via @MuxHQ today after some horrible experiences with a well known alternative who shall remain nameless. Super simple, reliable and looked [Image 49: Will Wilson's auto=format&fit=max&w=256) Will Wilson @theMojoWill > Mux Data caught a number of issues we would never have found otherwise.
And beyond issues, the data helps us identify where there are opportunities for improvement. Mark Bogdanoff Production [Image 50: auto=format&fit=max&w=3840) > Out of all the technologies we use, Mux was the easiest for us to implement. We actually over-budgeted our resources for it. Mohammed Iqbal Founder and [Image 51: auto=format&fit=max&w=3840) > @MuxHQ is such a great product. Managed to have a live streaming solution set up for a live demo in less than a day. Was able to stream from a second device and display that stream in a player. Converted a prospect into a
[Image 52: Martin Bean auto=format&fit=max&w=256) Martin Bean @martinbean > Mux has enabled WBD to observe the quality of our viewers' streaming experiences. Being able to filter data across a variety of dimensions helps us pinpoint issues in content and technical systems to ensure that our viewers are enjoying the highest quality experience possible. Mark Ramberg VP, Streaming Platform Product [Image 53: Warner Bros. auto=format&fit=max&w=3840) > We’ve been able to use Mux to resolve incidents faster, sometimes significantly faster, than before. We always learn from our incidents, and the data we’re able to pull from Mux has dramatically accelerated our learnings.
Marcus Hamrin Senior Product [Image 54: auto=format&fit=max&w=3840) > I could have created a custom solution like Amazon S3 to host my video, but it was extremely complex and extremely expensive. And then someone said, but there is Mux and I checked it's exactly what I needed and for much cheaper than using AWS. That's why I had no choice. It was the best solution. Bruno Simon [Image 55: js auto=format&fit=max&w=3840) > AI enables video at a scale that wasn't possible before, which means cost is a huge consideration. Mux was very proactive in making sure our costs were managed.
Jake Gillespie Engineering Manager, [Image 56: Synthesia auto=format&fit=max&w=3840) > We researched, candidly, every single option. Mux kept coming up as the number one ease of integration was amazing that it's just a couple of lines of code and "boom". Will Baumann [Image 57: auto=format&fit=max&w=3840) > We were stressing about how long it would take to fix our video streaming, but I was able to open up Github mobile and integrate Mux _on my _ I had something working in two hours. That’s wild. Gaurav Misra Co-Founder and [Image 58: Captions auto=format&fit=max&w=3840) Show more Show more > I could have created a custom solution like Amazon S3 to host my video, but it was extremely complex and extremely expensive.
And then someone said, but there is Mux and I checked it's exactly what I needed and for much cheaper than using AWS. That's why I had no choice. It was the best solution. Bruno Simon [Image 59: js auto=format&fit=max&w=3840) > AI enables video at a scale that wasn't possible before, which means cost is a huge consideration. Mux was very proactive in making sure our costs were managed. Jake Gillespie Engineering Manager, [Image 60: Synthesia auto=format&fit=max&w=3840) > Mux Data caught a number of issues we would never have found otherwise. And beyond issues, the data helps us identify where there are opportunities for improvement.
Mark Bogdanoff Production [Image 61: auto=format&fit=max&w=3840) > Out of all the technologies we use, Mux was the easiest for us to implement. We actually over-budgeted our resources for it. Mohammed Iqbal Founder and [Image 62: auto=format&fit=max&w=3840) > @MuxHQ is such a great product. Managed to have a live streaming solution set up for a live demo in less than a day. Was able to stream from a second device and display that stream in a player. Converted a prospect into a [Image 63: Martin Bean auto=format&fit=max&w=256) Martin Bean @martinbean > Mux has enabled WBD to observe the quality of our viewers' streaming experiences.
Being able to filter data across a variety of dimensions helps us pinpoint issues in content and technical systems to ensure that our viewers are enjoying the highest quality experience possible. Mark Ramberg VP, Streaming Platform Product [Image 64: Warner Bros. auto=format&fit=max&w=3840) > We’ve been able to use Mux to resolve incidents faster, sometimes significantly faster, than before. We always learn from our incidents, and the data we’re able to pull from Mux has dramatically accelerated our learnings. Marcus Hamrin Senior Product [Image 65: auto=format&fit=max&w=3840) > I could have created a custom solution like Amazon S3 to host my video, but it was extremely complex and extremely expensive.
And then someone said, but there is Mux and I checked it's exactly what I needed and for much cheaper than using AWS. That's why I had no choice. It was the best solution. Bruno Simon [Image 66: js auto=format&fit=max&w=3840) > AI enables video at a scale that wasn't possible before, which means cost is a huge consideration. Mux was very proactive in making sure our costs were managed. Jake Gillespie Engineering Manager, [Image 67: Synthesia auto=format&fit=max&w=3840) > Mux Data caught a number of issues we would never have found otherwise. And beyond issues, the data helps us identify where there are opportunities for improvement.
Mark Bogdanoff Production [Image 68: auto=format&fit=max&w=3840) > Out of all the technologies we use, Mux was the easiest for us to implement. We actually over-budgeted our resources for it. Mohammed Iqbal Founder and [Image 69: auto=format&fit=max&w=3840) Show more Show [Image 70: Two fists bump together. This fist is a purple fist with a yellow [Image 71: Two fists bump together. This fist is a robotic fist. Its hand is gray, with blue accents. Its wrist is made up of a gray dpl=dpl_BXBDWCjRcR1vFFkhAvkNu852S35T) No credit card required to start using Mux. Start building for free Start building for free Explore our APIs Read the docs Explore our APIs Read the docs Get a demo Let's chat Get a demo Let's chat ### Product * Video API * Features * On-Demand * Live * Interactive * Encoding * Player * Pricing ### Resources * Video glossary * Learn about video * Demuxed *
Works * Mux vs. Cloudflare Stream * Mux vs. Vimeo ### Developers * Documentation * API reference * Webhook reference * Changelog * Open source software * Beta features * Contact support ### Integrations * Node * Ruby * PHP * Python * Elixir * Go * Astro * SvelteKit * Flutter * WordPress * js * React Native * js * Laravel ### Solutions * Video platform * User generated content * Connected fitness * Generative AI * Vercel users * AI workflows ### Company * Blog * Team * Customers * Partners * Jobs * Startup Program * Powered by Mux Program * Sign up for our newsletter * Our Open Source Pledge * Download
press kit Mux on Twitter Mux on LinkedIn Mux on GitHub Mux on YouTube Looking for standalone Mux Data? Go to Mux Data Go to Mux Data © Mux, Inc. 2026 Terms Security Privacy Cookies Sitemap Status:Good
Want to learn more?