---
title: "Create a video from the new template system"
method: POST
path: "/v2/videos/from-templates"
tags: ["video"]
---

# Create a video from the new template system

`POST /v2/videos/from-templates`

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.

## Request body

- object
  - `templateId` string, required
  - `inputs` unknown, required
  - `prompt` string
  - `isDraft` boolean
  - `render` boolean, required
  - `title` string
  - `useBrandKit` boolean
  - `brandId` string, nullable

## Response `201`

Default Response

- object
  - `item` object, required
    - `id` string, uuid, required — Video ID
    - `status` 'queueing' | 'generating-script' | 'script-ready' | 'generating-media' | 'media-ready' | 'exporting' | 'done' | 'creation-from-template-failed' | 'insufficient-credits' | 'draft', required — Current status of the video generation process

## Other responses

- `403` — Forbidden
- `404` — Not found
- `500` — Default Response

---

[API](https://skmtc.net/blotato/apis/blotato-api.md) · [All operations](https://skmtc.net/blotato/apis/blotato-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blotato/blotato-api/revisions/c93447ba6b9d/schema)
