Template
Get Template List from Library
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
Template
Get Template List from Library
Get list of templates
GET
/
templates
curl --request GET \
--url https://api.jogg.ai/v1/templates \
--header 'x-api-key: <api-key>'
{
"code": 123,
"msg": "<string>",
"data": {
"templates": [
{
"id": 136,
"name": "roborock Q7 Max+ Robot Vacuum Cleaner, Hands-Free Cleaning for up to 7 Weeks, Robotic Vacuum with APP-Controlled Mopping, 4200Pa Suction, No-Mop&amp;No-Go Zones, 180mins Runtime.",
"cover_url": "https://res.jogg.ai/cover.png",
"preview_url": "https://res.jogg.ai/preview.png",
"aspect_ratio": 0
}
]
}
}
Authorizations
Query Parameters
Screen aspect ratio:
-
-1 - All
-
0 - [9:16]
-
1 - [16:9]
-
2 - [1:1]
Available options:
-1
, 0
, 1
, 2
Response
200 - application/json
Success
The response is of type object
.
curl --request GET \
--url https://api.jogg.ai/v1/templates \
--header 'x-api-key: <api-key>'
{
"code": 123,
"msg": "<string>",
"data": {
"templates": [
{
"id": 136,
"name": "roborock Q7 Max+ Robot Vacuum Cleaner, Hands-Free Cleaning for up to 7 Weeks, Robotic Vacuum with APP-Controlled Mopping, 4200Pa Suction, No-Mop&amp;No-Go Zones, 180mins Runtime.",
"cover_url": "https://res.jogg.ai/cover.png",
"preview_url": "https://res.jogg.ai/preview.png",
"aspect_ratio": 0
}
]
}
}