Trevor McFedries

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
0
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 0:02 Okay, you guys ready? 0:04 Alright. 0:06 Oh, hey there. 0:08 Welcome to Mux. A RESTful 0:10 place where developers 0:12 build with video. 0:14 We stock all your favorites 0:16 like: Cats! Dudes with 0:18 microphones! Stuff people 0:20 bought! And the Millennial 0:22 and over section. 0:23 AIM username required. 0:26 At Mux Video, you can 0:27 create great experiences 0:29 because video doesn't 0:30 have to end at play. 0:31 Every tape comes with extras. 0:34 Those are your 0:34 video primitives.

0:35 You can think of them as 0:37 useful building blocks. 0:39 With them, you can build 0:40 some pretty rad workflows. 0:43 At Mux Video, we've done 0:44 the flows for you. 0:47 Pick up your box set 0:48 of the greatest hits. 0:57 Take your old catalog that's 0:58 been collecting dust and 0:59 make it a new release. 1:03 Hey, Mux Robot. 1:05 And at Mux, we build features 1:08 for humans and robots. 1:10 Can you translate this for me? 1:14 Video features you were gonna 1:15 spend a lot of time building, 1:16 Mux has already built.

1:18 Video is a big deal. 1:19 Always has been. 1:21 We make it programmable. 1:23 Mux. Video for developers. 1:27 I was pretty good, wasn't I? 1:30 Dustin? 1:31 Luna? 1:33 Oh, are, are, are we done? 1:37 Okay. 1:38 Thank you. 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 100% certainty Does this video feature cats? yes no 100% certainty 100% certainty Was this video mostly shot outdoors? yes no 100% certainty 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 [Image 22: [Image 23: [Image 24: [Image 25: [Image 26: [Image 27: [Image 28: [Image 29: [Image 30: [Image 31: [Image 32: [Image 33: [Image 34: [Image 35: [Image 36: [Image 37: [Image 38: [Image 39: [Image 40: [Image 41: jpg) NSFW:0.182 Violent:0.071 ``` 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 42: 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 44: 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 46: 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 48: 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 50: 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 52: 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 54: 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 56: Vercel auto=format&fit=max&w=3840) Mux is available on the Vercel

[Image 57: js [Image 58: 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 59: 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 60: 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 61: 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 62: 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 63: 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 64: 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 65: 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 66: @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 67: 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 68: 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 69: 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 70: 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 71: 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 72: 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 73: 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 74: 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 75: 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 76: 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 77: 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 78: 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 79: 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 80: 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 81: 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 82: 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 83: 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 84: 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 85: 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 86: 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 87: 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 88: 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 89: auto=format&fit=max&w=3840) Show more Show [Image 90: Two fists bump together. This fist is a purple fist with a yellow

[Image 91: 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?