Personalized Video API

Generate personalized videos using an API. Automate the creation of videos that are completely tailored to each recipient.
  • Personalize videos, images, or GIFs
  • Use data from any source
  • Automate & personalize your video marketing

Tutorial: How to Create Personalized Videos by API

Let's take a look at how an API can be used to personalize any video or image. Consider the use case of having a list of contacts to whom we would all like to send a personalized video. We will include the recipient's name, a customized image, and a customized discount code.

1
Create a personalization template

As a first step, we create a template containing the design of the video we wish to personalize. A template consists of dynamic content, such as text captions, images, and video clips, all of which can be replaced using the API in the next step.

There are a variety of pre-made banner templates available in Creatomate for customizing, but you can also create your own video template entirely from scratch using the video editor, which allows you to create personalization video for virtually any need.

curl -s -X POST https://api.creatomate.com/v1/renders \
  -H 'Authorization: Bearer Your-API-Key' \
  -H 'Content-Type: application/json' \
  --data-binary @- << EOF
{
  "template_id": "Your Template ID",
  "modifications": {
    "Name": "Alexander",
    "Image": "https://example.com/product.jpg",
    "Discount": "CP22ZAF"
  }
}
EOF

2
Use the API to generate a custom video or GIF

Now let's generate unique videos (or images) using the REST API. The API can be called from any programming language or no-code tool like Zapier. In this example, we're using cURL to call the API.

We use the personalization template as a basis for calling the REST API, providing the template ID and dynamic values. As you can see, we're inserting the recipient's name, an image, and a discount code. This will return an MP4 video. However, it can also return an image or GIF depending on the options we provide.

As an alternative to the REST API, we may also use the URL-to-video API, which can be accessed by a simple URL. Dynamic data is passed through the URL query.

3
Start creating thousands of personalized videos

As you can see, you can easily generate thousands of on-demand personalized videos using the REST or URL-to-video API. You could, for example, create a personalized GIF on demand to embed in your email marketing campaigns. Or you could generate a personalized MP4 to display on a custom landing page.

There is an easier way to create personalized video and images if you do not require a fully automated workflow, and that is by using Creatomate's spreadsheet-to-video or form-to-video features. Take a look at it as well if you're interested in creating personalized media in bulk.

Frequently asked questions

How can I create personalized video?

Personalized video can be generated using a video editing API to generate custom video based on dynamic data. Any type of data source can be used, such as a spreadsheet, CRM, or database.

How can I create personalized GIF images?

Animated GIFs can be created using the same video API, which provides GIF as an output format. It'll create a GIF based on your template and dynamic data. When used with the Direct API, this can generate on-demand and dynamic GIFs that can be embedded in emails.

What kind of media can be personalized?

You can automate any video, image, or GIF banner. Creatomate's template editor allows you to design your own personalization templates. This can be a personalized email banner, slideshow GIF, on-boarding video, or cold outreach video.

Who is personalized video intended for?

Anyone who wants to create custom videos at scale — whether for (email) personalization, cold outreach, or onboarding — can use Creatomate's video API to auto-generate personalized videos.

What's the best video personalization tool?

We believe Creatomate is the leading video personalization solution on the market because it offers all the tools necessary for generating video in one place. A big advantage of our product is that you can automate everything yourself without relying on someone to set it up. This is in part due to our automation guides, which assist you in getting started with a variety of applications.

How long does it take to set up?

An automated scenario can be set up in less than 10 minutes by using a platform such as Zapier. Further down this page, there are several guides that will guide you through the process step-by-step.

Quickly get started

Learn how to automate your videos by following our practical tutorials.

Start automating today

Start with a full-featured trial with 50 credits, no credit card required.
Get started for free