POST /templates and pass template_ids: ["TEMPLATE_ID"] on future Projects or follow-up messages.
Because POST /templates saves straight from generation_id, you do not need to render an MP4 first—all compositions in that generation are captured automatically, and later edits to the source project never mutate the template.
Required scopes:
motion:templates:read to list or read saved templates; motion:templates:write to create, update, or delete templates. Creating a template from a project generation (POST /templates) also requires motion:projects:read.Template modes
layout_and_style(default) — Preserves both scene structure/layout and visual styling (typography, palette, motion language). Ideal for recurring formats like product launches, daily news clips, or ad series.style— Transfers typography, color palette, and motion feel while letting Motion design new layouts for each brief.
Safe retries & concurrency control
- Idempotent creation: Pass an
Idempotency-Keyheader onPOST /templatesso retries return the same template instead of creating duplicates. - Optimistic locking:
PATCH /templates/{slug}requires the template’s current UUIDversion_id; concurrent edits fail cleanly with409.
The Template object
Stable template identifier. Pass as
{slug} on GET, PATCH, and DELETE, and inside template_ids on POST /projects or POST /projects/{id}/messages.layout_and_style or style—determines whether new projects inherit both structure and look or visual style only.UUID of the immutable saved Generation this template was created from.
UUID optimistic concurrency token. Pass this exact
version_id when calling PATCH /templates/{slug}.Reusable guidance explaining which elements to swap (copy, screenshots, data) and which visual rules to keep consistent.
Optional default Brand kit linked to this template.