templates
Create videos using pre-designed templates. List available templates, retrieve their variables, and generate videos with custom content and optional test mode.
Instructions
Use pre-made video templates for easier video creation. EASIER THAN 'videos': Templates have pre-configured layouts. WORKFLOW: 1) 'list' templates, 2) 'get' to see variables, 3) 'generate' with variables, 4) Check status. Actions: 'list' - get all templates with id and name; 'get' - get template variables (REQUIRED: template_id); 'generate' - create video (REQUIRED: template_id; OPTIONAL: variables dict, title, test=True, caption=True). TIP: Use test=True to preview without using credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| template_id | No | ||
| variables | No | ||
| title | No | ||
| test | No | ||
| caption | No |