REST API

Generate Videos and Images
with a REST API

Integrate video and image generation into any app or workflow using the language of your choice.

Example:Generate from a Template
# Here is how to generate an image or video based on a template.
# First, set up a template using the online editor.
# Then call the REST endpoint to render the template using custom data.

curl -X POST https://api.creatomate.com/v2/renders \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer API_KEY" \
     -d '{
  "template_id": "58c1163e-f250-49df-b98d-e8c4aad01a2d",
  "modifications": {
    "Title": "Your Text And Video Here",
    "Title.fill_color": "#4980f1",
    "Background-Video": "https://example.com/video.mp4"
  }
}'
How it works

From API call to finished output

Point the API at a template, pass in your data, and get back a rendered video or image. No servers to manage, no rendering infrastructure to maintain.

Step 01

Pick a template

Use a template from the gallery or design your own in the editor. Templates define the layout and dynamic fields.

Step 02

Call the API

Send a POST request with your template ID and data modifications. Use any language or HTTP client.

Step 03

Video or image delivered

Creatomate renders the output in the cloud and returns a download URL. MP4, JPG, PNG, GIF, and more.

What you can build

Integrate video and image generation into any product

A reliable, scalable API that fits into any stack. If your app can make an HTTP request, it can generate videos and images.

Use case 01
◈

Generate personalised videos and images at scale from dynamic data in your app or database

Use case 02
▦

Automate video and image production as part of a larger backend pipeline or workflow

Use case 03
◉

Build a SaaS product that lets your users create videos or images from their own data

Use case 04
▤

Trigger video or image rendering from webhooks, scheduled jobs, or real-time events

Use case 05
△

Integrate with Node.js, PHP, Python, Ruby, C# or any language via the REST API

Use case 06
✦

Generate from a template or define the entire composition programmatically in JSON

Ready to make your first API call?

Pick a template to get started, or read the documentation to learn how to build compositions entirely in JSON.