Skip to main content

API for automated image generation

If you are interested to use it on production, please contact You will need to have a special Server Side Rendering license to use it.

With Polotno Server API you can generate images from JSON data. You can use it to generate image variations on bulk without making your own backend infrastructure.

const req = await fetch('', {  method: 'POST',  headers: {    'Content-Type': 'application/json',  },  body: JSON.stringify({    // polotno json from store.toJSON()    design: json,    // optional output format for export    // possible values are 'file' and 'json'    outputFormat: 'json',    // optional export options for store.toDataURL() method    exportOptions: {},  }),});
const { url } = await req.json();
document.getElementById('image').src = url;