{
  "openapi": "3.0.1",
  "info": {
    "title": "Video Render API — JSON to MP4, Captions, Voiceover, Music",
    "description": "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.",
    "version": "1.0",
    "x-build-id": "fYlxu6whNVee3d4Ne"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~video-render-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-video-render-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/steadyscrape~video-render-api/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-video-render-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/steadyscrape~video-render-api/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-video-render-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "videos"
        ],
        "properties": {
          "videos": {
            "title": "Videos (one JSON timeline each)",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Each entry is one video: a timeline of <code>scenes</code> (an <code>image</code> or a <code>video</code> link each, with <code>duration</code>, <code>start</code>/<code>end</code> to trim a clip, <code>fit</code>, <code>zoom</code>, <code>texts</code>, <code>voiceover</code>, <code>transition</code>), plus optional <code>voiceover</code>, <code>music</code>, <code>captions</code> (<code>url</code> of an SRT/VTT file, or <code>srt</code>, <code>vtt</code> or <code>segments</code>), <code>logo</code>, <code>texts</code>, <code>aspectRatio</code>, <code>resolution</code> and <code>name</code>. Links must be direct links to your own files (MP4, MOV, WebM, JPG, PNG, WebP, MP3, WAV, M4A…) or Google Drive and Dropbox share links, not YouTube or TikTok pages. What Make and n8n send is read: a timeline as JSON text, numbers as text, choices in any casing, empty fields (they take their default). Every field is described in the README. Up to 100 videos per run."
          },
          "aspectRatio": {
            "title": "Aspect ratio",
            "enum": [
              "16:9",
              "9:16",
              "1:1",
              "4:5"
            ],
            "type": "string",
            "description": "Shape of every video that does not set its own <code>aspectRatio</code>.",
            "default": "16:9"
          },
          "resolution": {
            "title": "Resolution",
            "enum": [
              "720p",
              "1080p"
            ],
            "type": "string",
            "description": "Size of every video that does not set its own <code>resolution</code>. 720p is billed as video minutes, 1080p as HD video minutes.",
            "default": "720p"
          },
          "fps": {
            "title": "Frames per second",
            "minimum": 15,
            "maximum": 30,
            "type": "integer",
            "description": "Frame rate of every video that does not set its own <code>fps</code>. Clips are converted to it.",
            "default": 30
          },
          "transition": {
            "title": "Transition between scenes",
            "enum": [
              "none",
              "crossfade",
              "fadeblack",
              "fadewhite",
              "dissolve",
              "wipeleft",
              "wiperight",
              "wipeup",
              "wipedown",
              "slideleft",
              "slideright",
              "slideup",
              "slidedown",
              "smoothleft",
              "smoothright",
              "circleopen",
              "circleclose",
              "radial",
              "pixelize",
              "zoomin"
            ],
            "type": "string",
            "description": "Used between scenes that do not set their own <code>transition</code>.",
            "default": "crossfade"
          },
          "transitionSeconds": {
            "title": "Transition length (seconds)",
            "minimum": 0,
            "maximum": 3,
            "type": "number",
            "description": "Length of each transition; a transition longer than half of the shorter scene is shortened to that half.",
            "default": 0.5
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}