Create template from render
Creates a clone template from an existing render, with all the render’s layer modifications applied to it.
The result is a template that matches the render output, which you can then tweak with the Update template endpoint and render again.
This is the API equivalent of opening a render in the editor: the source template is cloned and the render’s payload is baked into the clone’s HTML.
Parameters
Section titled “Parameters”renderId string REQUIRED
The id of the render that you want to create a template from.
Behavior notes
Section titled “Behavior notes”- • Pages hidden in the render payload (
hide: true), and, for multi-page payloads, pages not referenced at all, are removed from the clone, matching what the render produced. - • Render-only options (
format,scale,transparent, etc.) are not persisted in the template. - • Renders created before payload storage was introduced return a plain clone of the source template.
- • Creating a template from a render is free: it does not consume render credits.
- • For multi-page renders, each page produces its own render object but all of them share the same payload. Creating a template from any one page’s render id gives you a clone with ALL the payload’s pages applied, not just that page.
Sample Request
Section titled “Sample Request”POST /v1/template/from-render/:renderIdfetch(`https://api.templated.io/v1/template/from-render/${renderId}`, { method: 'POST', headers: { 'Authorization' : `Bearer ${API_KEY}` }})Response
Section titled “Response”The API returns a JSON object with the new template details.
{ "id": "new-template-id-123", "name": "My Template", "width": 1200, "height": 800, "sourceTemplateId": "original-template-id-456", "isClone": true, "createdAt": "2026-07-17T10:30:00Z", "updatedAt": "2026-07-17T10:30:00Z",}