Skip to main content
A Plainly video is an After Effects project uploaded as a template, with layers marked as parameters that each render fills in. 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 Plainly integration over in the order you’d do it: files first, then each template, then rendering and delivery.

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

Every file a document uses is a file in your workspace. Your After Effects project’s footage, images and fonts are on your computer, and the CLI keeps a folder of them in step with one in your workspace:
Media you pass to Plainly as parameter URLs moves with import_asset (POST /v1/imports), once per file:
A document then refers to each file as asset://<name>, such as asset://renders/clip.mp4.

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

(A) Keep the animation as Lottie

Export the animated parts of the composition, such as the intro, the lower third and the transitions, as Lottie JSON with the Bodymovin extension, with its images included in the JSON. Upload each file, declare it in assets.lotties, and play it with a <lottie> node. Put the parameter layers, the text and media that change per render, on top as text and media nodes:

(B) Rebuild the composition as nodes

Connect your agent to https://api.rendermate.com/mcp (Claude Code, Cursor) and give it frames of the composition and its layers with their keyframes. It writes the document with create_document and edit_document and checks each moment with get_frame against your frames, following the mapping below. You can also write the nodes yourself: How do I edit a document? shows the request.

How does a composition map onto a document?

How do order keys work? explains the keys.

How do dynamic layers map?

How do positions and anchor points become pixels?

After Effects places a layer’s anchor point at its position. A document places a media or shape node in a rectangle in pixels, and a text node at a position in pixels, both from the canvas’s top-left corner. A 640×360 layer with its anchor point at its center and its position at 960, 540 has its top-left corner at 640, 360. A text node’s position is where its first line’s baseline starts.

How do After Effects keyframes become Doc.keys?

Keyframe the value itself, Doc.keys([seconds, value, easing], …), timed from the node’s own start, not from the composition’s start. A keyframe’s easing shapes the move to the next one.

What do Plainly’s scripts become?

Your code works out the numbers that the scripts worked out during the render:

(3) How do I replace parameters and batch renders?

Your code writes the values into the JSX. Keep your template as a JSX string with placeholders, such as {{headline}}, one per Plainly parameter, 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 headline’s text, on the version you read.
  • A batch, such as a CSV: loop over the rows, creating a document and an export for each.
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 captions, voice-overs and avatar videos?

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, so captions can show line by line or word by word. Models lists every model, with its inputs and params.

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

Exporting a version again reuses what was already rendered. 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 /api/v2/renders to create_export in one release.

(B) One template at a time

For a larger integration, keep rendering with Plainly while you move one template over:
  1. Rebuild it as a document.
  2. Compare a frame of your Plainly 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.