Some time ago, we released client-side video rendering - @polotno/video-export.
Now you can also render videos on the server with polotno-node (Node.js, headless):
const { createInstance } = require('polotno-node');
const fs = require('fs');
const instance = await createInstance({ key: 'YOUR_API_KEY' });
const json = JSON.parse(fs.readFileSync('polotno.json'));
const base64 = await instance.jsonToVideoBase64(json, {
fps: 30,
pixelRatio: 1,
});
fs.writeFileSync('out.mp4', base64, 'base64');We’re still testing performance and limits.
Try it and tell us your render time for a 10s / 30s video + your CPU/RAM.
Over time, we will roll out the new render pipeline into Cloud Render as well.
