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
}
]
}
}
Get list of 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
}
]
}
}
Screen aspect ratio:
-1 - All
0 - [9:16]
1 - [16:9]
2 - [1:1]
-1
, 0
, 1
, 2
Success
The response is of type object
.