Create Video with Template
Create a video using a template with custom variables and settings. Templates support various variable types including text, image, video, and script.
Create a video using a pre-designed template. Templates provide consistent branding and faster video creation.Documentation Index
Fetch the complete documentation index at: https://docs.jogg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Example Usage
Basic Example with Text and Script Variables
Example with Image Variable (URL)
Example with Image Variable (Asset ID)
Variable Properties
| Property | Type | Description |
|---|---|---|
content | string | For text/script type: Required, the text content. For image/video type: Optional, can be used as URL |
url | string | Media resource URL for image/video type (choose url or asset_id) |
asset_id | integer | Asset ID for image/video type, obtained from /v2/upload/asset (choose url or asset_id) |
Related Guides
Get Templates
Upload Media
Authorizations
API key for authentication. Obtain your key from the JoggAI dashboard.
Body
Template ID
1234
Voice language for text-to-speech
"english"
Variables to replace in the template
Custom name for the video
"My Template Video"
Digital person ID
1
Source type of the avatar:
- 0 - Public avatar
- 1 - Custom avatar
0, 1 0
Voice ID for text-to-speech
"en-US-ChristopherNeural"
Enable captions/subtitles
true
Background music ID
1
Disable random transitions
false
Disable random image effects
false
Disable all transitions
false
Disable all image effects
false
Response
Success

