Create thousands of videos with the power of automation

Produce videos automatically with the Wideo API

With the Wideo API you can create thousands of videos automatically in the back end from any data source and publish them wherever you want.
Create custom video solutions for your demands with our API.

Wideo API

How to use our Wideo Automation API

Wideo Automation API

1. Work with our team to create the templates you will be using

Video Automation API

2. Define the variable content in the videos

3. Save a JSON with values for each variable defined within the template

HTTP [POST] https://automationapi.wideo.co/automation/replace

Request body:
{
    “data”:
    {
        “name”: “1”,
        “desc”: “description”,
        “image”: “https://yourdomain.co/1.png”
    }
}

Response body:
{
    “statusCode”: “200”,
    “body”: {
        “id”: “REPLACE_OBJECT_ID”
    }
}



Code example with Javascript and fetch library
.

//Create the requestBody object with the values to replace
const object = {
    name: “your name”,
    desc: “your description”,
    image: “https://yourdomain.com/1.png”
};
//Call the API with the above object as JSON in the request body
const response = await fetch(“https://automationapi.wideo.co/automation/replace”, {
   method: ‘POST’,
   body: JSON.stringify({
            data: object
   }),
   headers: {
          ‘Content-Type’: ‘application/json’
   }
});
//Parse response as JSON
const replaceSaveResponse = response.json();

//Get REPLACE_OBJECT_ID from response
if (replaceSaveResponse.statusCode === 200) {
   const replaceId = replaceSaveResponse.body.id;
}

4. Get the url of the video created

HTTP [POST] https://automationapi.wideo.co/automation/encode

Request body:
{
  “clientId”: “YourName”,
  “videos”: [
    {
      “templateId”: “TEMPLATE_ID”,
      “replaceId”: “REPLACE_OBJECT_ID
   }
  ]
}

Response body:
{
  “replaceId”: “TEMPLATE_ID“,
  “templateId”: “REPLACE_OBJECT_ID“,
  “url”: “https://server.com/your_automation_video.mp4”
}

Code example with Javascript and fetch library

//Create the requestBody object to download the video
const requestBody = {
   clientId: “YourName”, //only used for tracking purposes,
   videos: [{
       //The TEMPLATE_ID of the template you picked on first step
       templateId: “TEMPLATE_ID”
       //The REPLACE_OBJECT_ID you get from the previous step
       replaceId: “REPLACE_OBJECT_ID” 
   }]
};

//Call the API with the above object as JSON in the request body
try {
   const response = await fetch(“https://automationapi.wideo.co/automation/encode”, {
       method: ‘POST’,
       body: JSON.stringify(body),
       headers: {
           ‘Content-Type’: ‘application/json’
       }
   });
   return await response.json();
} catch (error) {
   console.error(error);
}

//Get the video url
response.videos[0].url;

5. Start creating thousands of videos

Videos at scale, from our API

Your e-commerce or database can fuel different templates to create a new video every time you need it, at no extra cost.

Build video automations that work for your business

Each business requires different solutions; that’s why we give you access to our video API.
We can work together to help scale your video operations.

Use cases

For internal communication

Stop sharing boring documents with your employees.
You can create personalized videos for each employee whenever you need to communicate something.
For developers
Build a new experience for your team or users.
Our API is flexible enough to let your imagination fly.

For ad networks

Create video assets faster than ever.
A/B test hundred of videos every time you push a new video campaign.
For e-commerce
Our API lets you create a video for each new product you upload to your e-commerce automatically.

Get beta access to our video API

Get a quote

Share This