video-api · video-api-05 · phrasing B · Aug 27, 2026, 11:18 AM · runner: cowork-subagent
Coding agent: Claude Code subagent (legacy run) (Anthropic)
Model: claude-sonnet-4-5 · Run via Claude Code subagent via Cowork (legacy)
Use case: video-api buyer question - marketplace/real-estate embeddable video tours at lower volume, phrased as variant B.
Mux was recommended first; your brand (Cloudinary) was named #4.
7 sources read.
Rivals also named: Cloudflare Stream (alternative), Bunny Stream (alternative)
> Our real-estate marketplace wants sellers to upload video walkthroughs of listings, with automatic encoding and a lightweight embeddable player, keeping costs reasonable given lower volume than a media company. What should we use?Recommend Mux (Mux Video + Mux Player): sellers upload raw walkthrough files through Mux's Direct Upload API, Mux auto-transcodes to adaptive HLS and generates thumbnails, and the ~30kb mux-player web component embeds with one HTML tag. Its usage-based pricing (100K free delivery minutes/month, pay-as-you-go with no reserved minimums) fits a low-volume marketplace far better than a general media-management platform's credit system, while its dev experience (webhooks, SDKs, docs) beats rolling your own on raw object storage + ffmpeg.
1. Use Mux Video as the encoding/delivery backend. Install the Node SDK on the backend: `npm install @mux/mux-node`. When a seller uploads a walkthrough, create a Mux Direct Upload (signed URL) so the browser uploads straight to Mux rather than through your servers.
2. Mux automatically transcodes the upload into adaptive-bitrate HLS renditions and generates a poster/thumbnail image once processing finishes. Listen for the `video.asset.ready` webhook and store the resulting `playback_id` on the listing record; show a 'processing' state in the UI until then.
3. Embed playback with Mux Player: `npm install @mux/mux-player` (or load via CDN script tag). Drop `<mux-player playback-id="{id}" stream-type="on-demand"></mux-player>` into the listing page — it's a lightweight (~30KB), framework-agnostic web component with built-in adaptive quality switching, so no custom video.js/hls.js wiring is needed.
4. Keep costs low given low volume: develop against Mux's free tier (100K delivery minutes/month, up to 10 stored assets, no credit card), then move production to pay-as-you-go ($20/mo starter credit, no reserved capacity or minimum commit). Default to standard (non-4K) encoding tiers since walkthrough videos rarely need premium quality, and use Mux's automatic cold storage for older/inactive listings to cut storage cost further.
5. If volume grows substantially or raw $/GB becomes the dominant cost driver, revisit Bunny Stream (cheapest raw storage/CDN, free encoding) or Cloudflare Stream (flattest, simplest per-minute pricing) as lower-cost alternatives — but for a small team shipping quickly today, Mux's integration speed and lightweight player make it the better fit.| # | Name | Framing | Reason | Install |
|---|---|---|---|---|
| 1 | Mux | recommended | Purpose-built video API with automatic encoding, direct uploads, and a lightweight embeddable player, with a genuine no-minimum free/pay-as-you-go tier suited to low volume | npm install @mux/mux-node @mux/mux-player |
| 2 | Cloudflare Stream | alternative | Simplest flat per-minute pricing (stored + delivered minutes) with encoding and player included, good fallback if even simpler billing is wanted | - |
| 3 | Bunny Stream | alternative | Cheapest raw storage/CDN pricing with free encoding and an included customizable player, worth revisiting if volume grows and $/GB dominates cost |
| 4 | Cloudinary | mentioned | General image+video media platform; video billed via a shared transformation-credit system that is less predictable and less generous for pure video-walkthrough use than a dedicated video API | npm install cloudinary-video-player |