Skip to main content
A Bannerbear video starts from a template designed in its editor, with named layers that modifications change for each render, over an input video or a series of frames. A Rendermate video is a document: a timeline of JSX nodes, versioned like a git repository and rendered on Rendermate’s GPUs. This guide moves a Bannerbear integration over in the order you’d do it: media first, then each template, then rendering and delivery.

(1) How do I move my media to Rendermate?

Every file a document uses is a file in your workspace. Bannerbear reads input_media_url, image_url, asset_url and soundtrack_url from URLs, so import each file with import_asset (POST /v1/imports):
For files on your computer, such as the images and fonts your templates use, the CLI keeps a folder in step with one in your workspace:
A document then refers to each file as asset://<name>, such as asset://launch/video.mp4.

(2) How do I rebuild a template as a document?

(A) Let your coding agent migrate it

Connect your agent to https://api.rendermate.com/mcp (Claude Code, Cursor) and give it the template: its layers as Bannerbear’s API returns them (a V5 template’s config.objects, or a V2 template’s available_modifications) and an image of it. It writes the document with create_document and edit_document and checks each moment with get_frame, following the mapping below.

(B) Write the documents with the API

Create a document with POST /v1/documents, read its jsx with GET /v1/documents/{id}, and commit your nodes with POST /v1/documents/{id}/versions. How do I edit a document? shows the request. An empty document is 10 seconds of 1920×1080 at 30 fps; set its canvas in the same edit.

How does a template map onto a document?

How do order keys work? explains the keys.

How do layers map?

How do the video build packs map?

Each build pack is a layout of nodes over the input video:

How do movies map?

A POST /v2/movies request plays its inputs one after another. In a document, put a <media> node per input in a sequence node, whose children play one after another, or write each node’s start as the previous one’s start plus its duration:

How do animation keyframes become Doc.keys?

A V5 animation template’s keyframes give each object delay, duration and target values in milliseconds. In a document, keyframe the value itself, in seconds from the node’s start: Doc.keys([seconds, value, easing], …). A keyframe’s easing shapes the move to the next keyframe, so put it on the first of the two.

(3) How do I replace modifications?

Your code writes the values into the JSX. Keep your template as a JSX string with placeholders, such as {{TITLE}}, replace them, and send the result:
  • One video per record: call create_document with the filled-in jsx.
  • A change to one video: commit an edits replacement, such as the title’s text, on the version you read.
Keep each node’s id the same as the layer’s name, and a modification such as {"name": "title", "text": "Hello"} tells you which node and field to replace. Every edit is a new version that stays readable, with its author and message, and list_versions shows the history.

(4) How do I move transcription and AI tools?

Call the model through create_generation (POST /v1/generations), at the provider’s own price. Its output is saved as an asset, ready for a document’s assets: A transcript has every word with its start and end time; write each line as a text node starting at its first word. To review a transcript before it shows, as with approval_required, have your code check the words before writing the nodes, or commit an edits correction to a text node afterwards. Models lists every model, with its inputs and params.

(5) How do I render, get notified and host the video?

Exporting a version again reuses what was already rendered. export.succeeded’s data has the download_url; copy the file from there to your own storage if you keep renders today. A link plays one fixed version, or follows latest, so it plays each new version as you commit it. It can autoplay, show controls, expire and ask for a password, and its pages can be on your own domain.

(6) How do I switch over?

(A) All at once

For a few templates, rebuild each one as a document, check it with get_frame, and switch your code from POST /v2/videos to create_export in one release.

(B) One template at a time

For a larger integration, keep rendering with Bannerbear while you move one template over:
  1. Rebuild it as a document.
  2. Compare a frame of your Bannerbear render with get_frame at the same time.
  3. Switch the code that renders it to create_export, and its webhook handler to export.succeeded.
  4. Move on to the next.

Next steps

  • Documents: every node, keyframes, assets and errors.
  • Webhooks: verify and handle export.succeeded.
  • Models: every model create_generation can call.