Templates
List Templates
Get all project templates with customizable variables
GET
Overview
Templates are pre-configured projects that allow you to create videos by replacing variables like{{name}}, {{product}}, etc.
Using Templates
Once you have a template, you can create videos by replacing the variables:Step 1: Get Template Details
Step 2: Understanding Scene Structure
Each scene contains:- script: The narration text with
{{variables}} - variables: Array of variable objects, each with:
key: Variable name (e.g., “first_name”)type: Either “text” (from script/text overlays) or “media” (from image/video/audio overlays)value: Example value - text for “text” type (e.g., “John Doe”), URL for “media” type (e.g., “https://cdn.example.com/image.jpg”)
- avatar: Position and ID of the avatar (if any)
- caption: Position of captions (if enabled)
Variable Types:
type: "text": From script ({{first_name}}) or text overlaystype: "media": From image/video/audio overlays (viavariableNameproperty)
Step 3: Create Video from Template
- Load the template with all scenes
- Replace text variables in scripts and overlays
- Replace media variables (images, videos, audio) with provided URLs
- Apply avatar and caption positioning from template
- Generate the video
Variable Format
Variables in templates use double curly brackets:{{variable_name}}
Example script:
nameproductcustomer_countbenefitwebsite
Creating Templates
Templates are currently created through the SlideVid dashboard. API creation will be available soon.
- Create a project in the dashboard
- Use
{{variable}}syntax in your script - Mark the project as a template
- The template will appear in the API
Use Cases
Personalized Marketing
Personalized Marketing
Create personalized video messages for each customer:
Product Demos
Product Demos
Generate product demos with different features:
Educational Content
Educational Content
Create course content at scale:
Real Estate Tours
Real Estate Tours
Generate property tour videos:
Best Practices
Example: Bulk Personalized Videos
Related Endpoints
Template Details
Get detailed information about a specific template
Generate from Template
Create a video from a template
List Avatars
Browse available avatars for templates
List Voices
Browse available voices for templates
Authorizations
Response
200
Success