v1

latestOpenAPI 3.1.02026-08-0654098.0 KB
Enterprise

Generate Template Variants

Generate multiple size variants of a template using AI

Available only to Enterprise-plan workspaces and first-party clients.

post/studio/templates/{templateId}/generate-variants

Path parameters

templateIdstring required

Query parameters

includeThumbnailsboolean

When true, thumbnails are rendered for each newly created variant and returned inline in the response. When false or absent, thumbnails are generated asynchronously. Shape of the inline thumbnail depends on output mode (see below).

Request body

page_numberinteger

Which page of the template to use as source

outputstring

Output mode: "pages" or "templates"

Response

Successful response

object required