A render object is a set of instructions that describes which edits should be applied to your file.

Field

Required

Type

Description

params

optional

object
Render Params

Render parmeters such as dimensions ,background_color etc

elements

required

array
Render Elements

Elements contained in the render such as video, image , audio etc.

{
  "params":{
    "dimensions":{
      "width":1920,
      "height":1080
    },
    "background_color":"#00000",
    "duration":20000
  },
  "elements":[
    {
      "type":"video",
      "params":{
        "source":{
          "url":"https://cdn.veed.dev/380rreVE_9uhiksitOGIW.mp4"
        },
        "duration":{
          "from":0.0,
          "to":10.0
        },
        "position":{
          "origin":"top left",
          "x":0,
          "y":0
        }
      }
    },
    {
      "type":"image",
      "params":{
        "source":{
          "asset_id":"28a510a8-6690-4cdc-b319-e0e02ebf1a2e"
        },
        "duration":{
          "from":0.0,
          "to":10.0
        },
        "position":{
          "origin":"top left",
          "x":0,
          "y":0
        }
      }
    }
  ]
}