CTRL + K

API

Creatomate's API allows you to automatically generate video and banners programmatically from your application.

In case you would prefer to use a no-code solution, you can use Zapier instead.

REST vs. Direct API

There are two types of APIs, the REST API and the Direct API. Most use cases can be handled by the REST API, but in some cases, you may want to use the Direct API.

  • The REST API is asynchronous and is best used between your software application and Creatomate. You can create renders and check the status of a request via a POST or GET request, or you can use webhooks to wait for a completed render. You authenticate with an API key.
  • The Direct API is synchronous and best used between a client's browser and Creatomate. You can put all the information for rendering an image or video in the query parameters of the URL. You can protect a request by adding a cryptographic signature and the rendering process is limited to 100 seconds.

Official libraries

In case you use Node.js or PHP, you may also use the REST API using the official libraries available on NPM and Packagist:

Quick start

Below is a quick video on how to create dynamic videos in JavaScript using the Node.js library. The process is similar for PHP using the Packagist library. Using another programming language? No problem, just refer to the examples provided on the developers page to get started, as well as the documentation available on the next pages.

Next page
Authentication