What does JSON to MP4 mean?

JSON to MP4 is the process of converting a JSON description of a video into a rendered MP4 video file. Instead of editing video manually, you describe what your video should contain — scenes, text, images, audio, voiceover, subtitles — in a structured JSON object, and a rendering engine produces the final MP4.

This is the core of how JSON2Video works: you POST a JSON payload to the API, and it returns a ready-to-use MP4 file.

How to convert JSON to MP4

Step 1: Write your video JSON

A JSON2Video movie is a JSON object with an array of scenes. Each scene contains elements — the building blocks of your video.

{
    "scenes": [
        {
            "elements": [
                {
                    "type": "image",
                    "src": "https://example.com/background.jpg"
                },
                {
                    "type": "text",
                    "text": "Hello World",
                    "style": "subtitle",
                    "position": "bottom"
                }
            ]
        },
        {
            "elements": [
                {
                    "type": "video",
                    "src": "https://example.com/clip.mp4",
                    "duration": 5
                },
                {
                    "type": "voice",
                    "text": "This is an automated voiceover.",
                    "model": "elevenlabs",
                    "voice": "Rachel"
                }
            ]
        }
    ]
}

Step 2: Send it to the API

Use a simple POST request to start rendering. Works from any language — Python, JavaScript, PHP, cURL, or no-code platforms.

curl -X POST https://api.json2video.com/v2/movies \
    -H "x-api-key: YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d @movie.json

Step 3: Download the MP4

The API renders your video in the cloud and returns the MP4 URL. Typical render time: 30-90 seconds for a 1-minute video.

{
    "status": "done",
    "url": "https://assets.json2video.com/renders/movie-12345.mp4"
}

What you can include in your JSON

JSON2Video supports a rich set of elements that you can compose in any combination:

JSON to MP4 vs JSON to Video

"JSON to MP4" and "JSON to video" refer to the same process. MP4 is the most common output format for web video, and it's what JSON2Video renders by default. The API also supports different resolutions (1080p, 720p, 4K) and aspect ratios (16:9, 9:16 for vertical video, 1:1 for square).

Use cases for JSON to MP4 conversion

No-code JSON to MP4

You don't need to write code to convert JSON to MP4. Use JSON2Video with no-code platforms:

Get started

Convert your first JSON to MP4 in minutes:

Published on April 21st, 2026

Author
Joaquim Cardona
Joaquim Cardona Senior Internet business executive with more than 20 years of broad experience in Internet business, media sector, digital marketing, online video and mobile technologies.