latestOpenAPI 3.0.32026-08-23410223.0 KB

c93447ba6b9d

video

Create a video from the new template system

Creates a new video using a template. The template takes an ID and input parameters. You can also provide an optional prompt to fill out the input parameters automatically.

post/v2/videos/from-templates

Request body

templateIdstring required
{"stackTrail":"paths:/v2/videos/from-templates:post:requestBody:content:application/json:schema:properties:inputs","oasType":"schema","type":"unknown"}
promptstring
isDraftboolean
renderboolean required
titlestring
useBrandKitboolean
brandIdstring nullable

Response

Default Response

Example response

{
  "item": {
    "id": "123e4567-e89b-12d3-a456-426614174000"
  }
}