One POST /v1/ffmpeg call turned a 30-second 1080p clip into a 1080p MP4, a 720p MP4 and a thumbnail in 17.7 s on ReelSDK, for under $0.006, with no ffmpeg server, queue or storage of your own.
Render videos in the cloud without managing ffmpeg servers
ReelSDK runs your ffmpeg args on up to 50 input URLs on a fresh machine with ffmpeg 8.1, stores every output and hands back links, at $0.02 per compute minute.
Use casesUpdated
The request
POST /v1/ffmpeg
Send ffmpeg args and input URLs over HTTP and get the files back from a fresh machine per job, with no ffmpeg servers to run.
curl "https://api.reelsdk.com/v1/ffmpeg?wait=60" \
-H "Authorization: Bearer $REELSDK_KEY" \
--json '{
"inputs": {
"launch.mp4": "https://api.reelsdk.com/f/lib/in/use-cases/launch.mp4"
},
"args": [
"-i", "launch.mp4", "-filter_complex",
"[0:v]split=3[hd][b][c];[b]scale=-2:720[sd];[c]trim=start=10,setpts=PTS-STARTPTS,scale=1280:-2[thumb]",
"-map", "[hd]", "-map", "0:a", "-c:v", "libx264", "-preset",
"veryfast", "-crf", "23", "-c:a", "aac", "-b:a", "128k", "-movflags",
"+faststart", "launch-1080p.mp4", "-map", "[sd]", "-map", "0:a",
"-c:v", "libx264", "-preset", "veryfast", "-crf", "24", "-c:a", "aac",
"-b:a", "96k", "-movflags", "+faststart", "launch-720p.mp4", "-map",
"[thumb]", "-frames:v", "1", "-q:v", "3", "thumb.jpg"
],
"outputs": ["launch-1080p.mp4", "launch-720p.mp4", "thumb.jpg"]
}'const res = await fetch("https://api.reelsdk.com/v1/ffmpeg?wait=60", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.REELSDK_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"inputs": {
"launch.mp4": "https://api.reelsdk.com/f/lib/in/use-cases/launch.mp4"
},
"args": [
"-i", "launch.mp4", "-filter_complex",
"[0:v]split=3[hd][b][c];[b]scale=-2:720[sd];[c]trim=start=10,setpts=PTS-STARTPTS,scale=1280:-2[thumb]",
"-map", "[hd]", "-map", "0:a", "-c:v", "libx264", "-preset",
"veryfast", "-crf", "23", "-c:a", "aac", "-b:a", "128k", "-movflags",
"+faststart", "launch-1080p.mp4", "-map", "[sd]", "-map", "0:a",
"-c:v", "libx264", "-preset", "veryfast", "-crf", "24", "-c:a", "aac",
"-b:a", "96k", "-movflags", "+faststart", "launch-720p.mp4", "-map",
"[thumb]", "-frames:v", "1", "-q:v", "3", "thumb.jpg"
],
"outputs": ["launch-1080p.mp4", "launch-720p.mp4", "thumb.jpg"]
}),
});
const { job } = await res.json();{
"job": {
"id": "job_i71s9q7m0w6qy48ggz70",
"op": "ffmpeg",
"status": "succeeded",
"stage": null,
"created_at": "2026-11-25T03:53:23.171Z",
"finished_at": "2026-11-25T03:53:40.916Z",
"outputs": {
"launch-1080p.mp4": "https://api.reelsdk.com/f/out/job_i71s9q7m0w6qy48ggz70/launch-1080p.mp4?s=...",
"launch-720p.mp4": "https://api.reelsdk.com/f/out/job_i71s9q7m0w6qy48ggz70/launch-720p.mp4?s=...",
"thumb.jpg": "https://api.reelsdk.com/f/out/job_i71s9q7m0w6qy48ggz70/thumb.jpg?s=..."
},
"result": null,
"duration_s": 30.016,
"error": null,
"usage": {
"output_seconds": 60.032,
"audio_seconds": 0,
"tts_characters": 0,
"images": 0
},
"poll_url": "https://api.reelsdk.com/v1/jobs/job_i71s9q7m0w6qy48ggz70"
}
}
Send the ffmpeg command, get the files back
You already know ffmpeg, so send your arguments to POST /v1/ffmpeg and get the files back. The args array runs without a shell on ffmpeg 8.1, on a fresh machine for every job, with up to 50 input files by URL, 1 to 20 output files and a timeout_s from 1 to 600.
Take the job on this page. One request turned a 30-second 1080p launch clip into a 1080p MP4, a 720p MP4 and a 1280x720 thumbnail, 17.7 s from request to finished files. Raw ffmpeg costs $0.02 per compute minute, billed per second for the machine's time on the job, so this one came in under $0.006. A failed job costs nothing, and new accounts get $0.50 of free credit.
At a glance
Cloud video rendering APIs compared
| Service | What you send | Price | Free to start |
|---|---|---|---|
| ReelSDK | Your own ffmpeg args with up to 50 input URLs | $0.02 per compute minute, billed per second; this job under $0.006 | $0.50 of credit |
| Shotstack | A JSON edit with tracks and clips | 20¢ a minute pay as you go, or $39 a month for 250 minutes | 10 credits, valid 30 days |
| Creatomate | A template_id with modifications, or RenderScript JSON | From $45 a month billed yearly, for 2,000 credits | 50 credits; free renders are previews up to 480 px |
| JSON2Video | A JSON movie of scenes and elements; not a transcoder, no streaming ladders | 1 credit per second of video; $49.95 a month for 12,000 credits | 600 credits, watermarked |
Sources: ReelSDK pricing, Shotstack pricing, Creatomate pricing, Creatomate: create a render, JSON2Video pricing, JSON2Video: video processing API, checked November 2026.
Skip ffmpeg for slideshows, captions and shorts
For the common jobs you don't write ffmpeg at all, and you pay per finished minute instead of machine time: slideshows and captions cost $0.03 per output minute, and a short is $0.30 up to 60 s.
POST /v1/slideshowturns images into a video, with optional voiceover, music and captions.POST /v1/captionsburns word-by-word captions into a video and hands back SRT and VTT files too.POST /v1/shortsmakes a narrated vertical short from a topic or a script.
Long renders: wait, poll or webhook
Every request waits for the result, 60 s by default or up to 300 s with ?wait=, so fast jobs come back on the same connection.
If the job is still running when the wait runs out, you get a 202 with the job. Poll GET /v1/jobs/{id} until it finishes, or pass webhook_url up front and ReelSDK POSTs the finished job to you, signed with HMAC-SHA256, with up to 6 attempts over about 7 h. Every endpoint is in the docs.
Why not run ffmpeg on your own servers
Running ffmpeg yourself means a server or container with ffmpeg installed, a queue, retries, storage for the outputs and spare capacity for spikes. With ReelSDK the machines, the queue and the storage are ours; you send one request and get links back.
Other render APIs make you learn their format first: Shotstack takes a JSON edit with tracks and clips, Creatomate a template with modifications or RenderScript JSON, and JSON2Video a JSON movie of scenes and elements. JSON2Video's own guide says it is not a transcoder and makes no streaming ladders. ReelSDK takes the ffmpeg command you already have. New to the idea? Read what a rendering API is.
What it costs
What this job cost
- Compute: fetching launch.mp4, running ffmpeg, storing 3 files
- 17.7 s at most
- Rate
- $0.02 per compute minute
- Charged
- Under $0.006
Billed per second with a 1 s minimum. A failed job costs $0.
Limits
What one request takes
- Input files
- 500 MB each, 1 GB per job
- Inputs per job
- Up to 50
- Outputs per job
- 1 to 20
- Job run time
- Up to 10 minutes
- Waiting for a result
- 60 s by default, up to 300 s
- Output retention
- 7 days
How it works
From request to file
Host the inputs
Any public http or https URL works, and ReelSDK downloads it before ffmpeg starts. A local file goes up with
POST /v1/uploadsfirst: up to 100 MiB per upload, kept 7 days.Send the args
split=3copies the video three ways: one stays 1080p, one scales to 720p and one skips 10 s in and scales to 1280 wide forthumb.jpg. Each output gets its own-map, codec settings and file name.Collect the files
job.outputslists every file with a link that works for 7 days. For long jobs, send?wait=0with awebhook_urland fetchGET /v1/jobs/{id}when the webhook lands.
FAQ
Questions, answered
What are the rate and file size limits?
Each API key runs 3 jobs at once and 500 jobs per UTC day. Input files go up to 500 MB each and 1 GB per job, with up to 50 inputs and 1 to 20 outputs per job.
How long do output links last?
7 days. Copy the files you keep before then.
Do I pay for failed jobs?
No, a failed job costs $0. New accounts start with $0.50 of free credit, which buys 25 compute minutes.
Does ReelSDK run my command in a shell?
No. You send an args array and each arg goes to ffmpeg 8.1 as it is; args outside the allowlist get a 400 INVALID_REQUEST answer before any job starts.
How long can a job run?
Up to 10 minutes: set timeout_s from 1 to 600. A request waits 60 s by default or up to 300 s with ?wait=, and a job still running after that answers 202, so you poll GET /v1/jobs/{id} or take the webhook.
- TikTok-style video APISend a topic or a script and get a vertical video back with AI images, a voice, karaoke captions and music, ready to post.
- Google Sheets to videoEvery row with a topic becomes a narrated vertical short, and the video link, title and post caption land back in the row.
- n8n video workflowA free n8n template that turns Google Sheets rows into narrated vertical shorts, writes the links back and can post to YouTube.
- What is a rendering API?What a rendering API does: send a JSON or code description, get an MP4 back. What you send, who renders it, and what it costs per minute.
- Best hosted FFmpeg APIs6 hosted FFmpeg APIs priced on one 60-second 1080p transcode: about $0.008 on Rendi, $0.012 on ReelSDK and $0.015 on Coconut.
- Best video transcoding APIs6 transcoding APIs priced on one 60-second 1080p MP4: about $0.012 on ReelSDK, $0.015 on Coconut and AWS MediaConvert.
- Merge videosJoin clips into one MP4 by URL with the concat filter or demuxer, up to 50 inputs, for well under a cent a merge.
- FFmpeg API reference: POST /v1/ffmpegPOST /v1/ffmpeg runs ffmpeg 8.1 with your own arguments: up to 50 inputs of 500 MB, 20 outputs and 600 s per command, with tested recipes for GIFs, thumbnails and subtitles.
Ready to build?
Ship video from your app today
Your first $0.50 is free, and one key covers every endpoint.
