Video Render API — JSON to MP4, Captions, Voiceover, Music
Pricing
from $40.00 / 1,000 minute of video (720p)s
Video Render API — JSON to MP4, Captions, Voiceover, Music
JSON to video API on FFmpeg: render and merge your own clips and images into MP4 videos. Add text overlays, burn in subtitles from SRT or VTT, voiceover, background music that ducks under the voice, a logo and transitions. 16:9, 9:16 or 1:1, 720p or 1080p. Export to JSON, CSV or Excel, or via API.
Pricing
from $40.00 / 1,000 minute of video (720p)s
Rating
0.0
(0)
Developer
Steady Scrape
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Video Render API — JSON to MP4 video with captions, voiceover, music and logo
Turn JSON into video. Describe a video as a timeline — scenes made of your own images and video clips, text overlays, a voiceover, background music, burned-in captions, a logo and transitions — and this JSON to video API renders it into an MP4 file (H.264 video, AAC sound), returned as a download link with its duration, size, resolution and a thumbnail. One run renders one video or a hundred, in 16:9, 9:16 (Shorts, Reels, TikTok), 1:1 or 4:5, at 720p or 1080p.
The renderer runs inside the Actor. Every video is rendered by FFmpeg on Apify's servers: no Shotstack, Creatomate or JSON2Video account, no template editor, no monthly plan. You pay per minute of video, only for videos that render.
Made for automations. Pair it with an AI script, our Text to Speech Actor for the voiceover and its SRT subtitles, or the Audio & Video Transcriber for word-timed captions, and call it from n8n, Make, Zapier or your own code.
What this JSON to video Actor does
- Scenes from pictures (JPG, PNG, WebP, GIF, BMP…) or clips (MP4, MOV, WebM, MKV…): trim a clip with
startandend, fill the frame, fit it on a blurred copy of itself (the vertical-video look) or on a colour, and give a still picture a slow zoom in or out (Ken Burns). - Transitions between scenes: crossfade, fade through black or white, dissolve, wipes, slides, circle, radial, pixelize, zoom — or a plain cut.
- Text overlays on a scene or on the whole video: 22 installed fonts, size, colour, outline, a background box,
nine positions or exact
x/y, start and end times, fade in and out. - Captions burned in from an SRT or WebVTT link, inline SRT/VTT text, or a transcript's segments with word times — the whole line, or a few words at a time with the spoken word highlighted (the short-video style).
- Voiceover for the whole video or one per scene. A scene without a
durationlasts as long as its voiceover, and scenes without a duration share a whole-video voiceover evenly: the video is timed to the narration. - Background music that loops, fades in and out, and ducks under the voice automatically.
- Logo or watermark in any corner, sized as a share of the width, with opacity.
- One MP4 per timeline, with a JPEG thumbnail, both as links that open for anyone.
Use cases
- Faceless YouTube and TikTok videos: AI script → text to speech → stock pictures → this Actor → upload.
- Shorts, Reels and TikToks with word-by-word captions from a voiceover and its SRT.
- Product and real-estate videos from catalogue or listing photos, with prices as text overlays.
- Slideshows and photo montages with music, at 9:16 for stories or 16:9 for YouTube.
- Personalised videos at scale: one timeline per customer, a hundred per run.
- Subtitling: burn an SRT into your own clip in one scene.
Input example
{"videos": [{"name": "Spring promo","aspectRatio": "9:16","scenes": [{ "image": "https://example.com/photos/cafe.jpg", "zoom": "in","texts": [{ "text": "New spring menu", "position": "top", "font": "Anton", "fontSize": 110 }] },{ "video": "https://example.com/clips/latte.mp4", "start": 2, "end": 6 },{ "image": "https://example.com/photos/terrace.jpg", "fit": "blur", "zoom": "out" }],"voiceover": "https://example.com/audio/voiceover.mp3","captions": { "url": "https://example.com/audio/voiceover.srt", "wordsPerCaption": 3, "highlightColor": "#FFD60A" },"music": { "url": "https://example.com/audio/music.mp3", "volume": 0.2 },"logo": "https://example.com/brand/logo.png","fadeOutSeconds": 1}],"resolution": "1080p","transition": "crossfade"}
The first and last scenes have no duration, so the three scenes share the voiceover: the video lasts exactly as long
as the narration, the clip keeping its 4 seconds. The input form opens with a working demo you can run as it is.
Timeline reference
Video (each entry of videos): scenes (required, 1–200), name, aspectRatio, resolution, fps (15–30),
transition, transitionSeconds (0–3), backgroundColor, fadeInSeconds, fadeOutSeconds, voiceover, music,
captions, logo, texts. The run's aspectRatio, resolution, fps, transition and transitionSeconds apply to
every video that does not set its own.
Scene: image or video (a link; neither gives a colour card), duration (seconds), start and end (trim a
clip), fit (fill crops to the frame, fit shows it whole on backgroundColor, blur shows it whole on a blurred
copy), zoom (none, in, out) and zoomPercent (default 15), volume of the clip's own sound (0 mutes it),
voiceover, backgroundColor, texts, and transition / transitionSeconds into this scene.
How long a scene lasts: its duration; else its clip (trimmed), stretched to its own voiceover if that is longer; else
its own voiceover; else an even share of the whole-video voiceover; else 5 seconds. A clip shorter than its scene holds
its last frame. A transition overlaps the two scenes, and one longer than half of the shorter scene is shortened.
Text (texts of a scene or of the video): text, start and end (seconds from the scene's or the video's start;
a scene's text leaves when the next scene comes in), position (top-left, top, top-right, left, center,
right, bottom-left, bottom, bottom-right) or x and y (the text's centre, 0–1), font, fontSize (pixels
on a 1080p frame, default 64, scaled for 720p), bold, italic, color, outlineColor, outlineWidth, box,
boxColor, fadeSeconds, marginPercent. Line breaks are kept.
Captions: one of url (an SRT or WebVTT file), srt, vtt or segments (
[{ "start", "end", "text", "words": [{ "start", "end", "word" }] }]offsetSeconds, position (top, center,
bottom), font, fontSize (default 60), bold, italic, color, outlineColor, outlineWidth, box, boxColor,
marginPercent, uppercase, wordsPerCaption (0 = whole cue, 1–12 words at a time) and highlightColor (colours the
word being spoken; without word times, a cue's time is spread over its words by length).
Voiceover: a link, or { "url", "volume", "start" }. Music: a link, or
{ "url", "volume" (default 0.25), "fadeInSeconds" (1), "fadeOutSeconds" (2), "loop" (true), "duckUnderVoice" (true), "startAt" }{ "url", "position" (top-right), "widthPercent" (12), "opacity" (1), "marginPercent" (3) }.
Colours: #RGB, #RRGGBB, #RRGGBBAA (with transparency, e.g. #000000B3) or a name (white, black, yellow…).
Fonts: Montserrat, Montserrat ExtraBold (default), Montserrat Black, Anton, Bebas Neue, Poppins, Poppins ExtraBold, Poppins Black, League Spartan, Roboto, Roboto Black, Roboto Condensed, Open Sans, Open Sans Extrabold, Lato, Lato Black, DejaVu Sans, DejaVu Serif, DejaVu Sans Mono, Liberation Sans, Liberation Serif, Liberation Mono. Accented Latin, Cyrillic, Greek, Chinese, Japanese, Korean, Devanagari and Thai text is drawn with fallback fonts.
Output example
{"status": "ok","reason": null,"index": 1,"name": "Sintel demo","videoUrl": "https://api.apify.com/v2/key-value-stores/…/records/001-sintel-demo.mp4?signature=…","thumbnailUrl": "https://api.apify.com/v2/key-value-stores/…/records/001-sintel-demo.jpg?signature=…","key": "001-sintel-demo.mp4","durationSeconds": 10,"width": 1280,"height": 720,"aspectRatio": "16:9","resolution": "720p","fps": 30,"fileSizeBytes": 1192901,"sceneCount": 3,"scenes": [{ "index": 1, "kind": "image", "source": "https://…/sintel-dragon.jpg", "startSeconds": 0, "endSeconds": 4, "transition": null },{ "index": 2, "kind": "video", "source": "https://…/sintel-clip.mp4", "startSeconds": 3.5, "endSeconds": 6.5, "transition": "crossfade" },{ "index": 3, "kind": "image", "source": "https://…/sintel-market.jpg", "startSeconds": 6, "endSeconds": 10, "transition": "crossfade" }],"captionCount": 3,"textCount": 1,"billedMinutes": 1,"billedEvent": "video-minute","renderSeconds": 8,"processedAt": "2026-11-06T18:25:49.744Z"}
Output fields
| field | meaning |
|---|---|
status | ok, or why the video was not rendered: invalid_timeline, unreachable, not_media, too_large, skipped, failed |
reason | for a free row, what to fix (scenes.0: give an image or a video, not both, scene 2's image answered HTTP 404); for a video, notes such as a shortened transition |
index, name | the timeline's place in videos (from 1) and the name you gave it |
videoUrl, thumbnailUrl | links to the MP4 and its JPEG thumbnail that open without an Apify login |
key | the file's key in the run's key-value store |
durationSeconds, width, height, fps, fileSizeBytes | measured on the rendered file |
aspectRatio, resolution | the format it was rendered in |
sceneCount, scenes | how many scenes, and each one's kind, source link, start and end in the video, and transition in |
captionCount, textCount | captions and text overlays drawn |
billedMinutes, billedEvent | what this video was charged |
renderSeconds | time from reading the timeline to storing the file |
processedAt | when the run took up this timeline (UTC, ISO 8601) |
The run's SUMMARY record counts videos per status and minutes billed.
Pricing
Pay per event, per started minute of rendered video:
| event | price |
|---|---|
video-minute — a started minute of video at 720p | US$0.04 |
hd-video-minute — a started minute of video at 1080p | US$0.08 |
A 45-second Short at 1080p costs US$0.08; a 10-minute 720p video, US$0.40. A video is charged only once its file is stored. Invalid timelines, dead links, files that are not media, files over the size limit and failed renders are free rows, and a video your spending limit cannot pay is skipped, free, before it is rendered.
Speed
At the default 4 GB of memory (one CPU core) a 720p video renders in about half its length — the 10-second demo in the input form took 4.8 seconds, downloads included — and a 1080p video in about its length; heavy zooms and many layers take longer, and files are downloaded at the speed of the servers they come from. More memory gives FFmpeg more cores. The run's default timeout is one hour; a video that would not finish in the time left is skipped, free, with a note.
Limits
- Direct links to your own files only. Links to YouTube, TikTok, Instagram, Facebook, X, Vimeo and other platforms' pages are refused: this Actor does not download from video platforms. Files on Apify (the signed links other Actors return), S3, Google Cloud Storage, Dropbox direct links and any public web server work. Since build 1.0.2 (2026-11-09) the platforms' media servers (googlevideo.com, tiktokcdn.com, v.redd.it…) and any link that redirects to a platform are refused too, as free rows.
- Links to private, local or reserved addresses (localhost, 10.x, 192.168.x, the cloud metadata address
169.254.169.254…), typed or reached by a redirect, are free
unreachablerows: nothing is requested from them. - Up to 100 videos per run, 200 scenes and 60 minutes per video, 2 GB per file, 5 MB per subtitle file.
- Pictures and clips are converted to the video's frame rate (15–30 fps) and to square pixels.
- No template editor, no animated text effects beyond fades, no AI generation of pictures or voices: bring them, or make them with other Actors.
- The videos live in the run's storage for your plan's data retention (unnamed storages expire after 7 days by default): download what you want to keep.
Use it from the API, n8n or Make
curl -X POST "https://api.apify.com/v2/acts/steadyscrape~video-render-api/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \-H "Content-Type: application/json" \-d '{"videos": [{"scenes": [{"image": "https://example.com/a.jpg", "duration": 3}, {"image": "https://example.com/b.jpg", "duration": 3}]}]}'
The answer is the dataset rows, each with its videoUrl. In n8n and Make, use the Apify node's "Run Actor and get
dataset items" with the same input.
What templates send is read as meant: a timeline as JSON text; numbers and switches as text ("4", "true"); choices in
any casing ("Top_Left", "CrossFade", "9x16", "1080", "vertical"); field names in snake_case (font_size,
aspect_ratio) or as imageUrl, musicUrl, orientation; links without https:// or as { "url": … }; Google Drive
and Dropbox share links (shared with anyone with the link). An empty field ("" or null) takes its default, and an
empty music, logo, voiceover, captions or text is left out, and the row's reason says so. An empty link that is a
scene's only picture is refused rather than rendered as a colour card. A video field given to the run instead of to a
video (music next to videos) renders nothing and charges nothing: each row says to put it inside the video.
License and fair use
Render only media you own or have the right to use; the videos you make are yours. Rendering uses FFmpeg and x264 (GPL) and libass inside the Actor; the fonts are open fonts (SIL Open Font License, Apache-2.0 and others). The demo in the input form uses stills, a clip and music from Sintel © Blender Foundation, durian.blender.org, licensed under CC BY 3.0, and a narration made with our Text to Speech Actor. This Actor is not affiliated with FFmpeg, Shotstack, Creatomate, JSON2Video or any video platform. Questions or a timeline that renders wrong: open an issue on this Actor's page and it will be answered.