Retrieve business templates
Retrieve the list of pre-setted project information (i.e. templates) that can be utilized to create videos with business purposes.
1. API endpoint
https://app.aistudios.cn/api/odin/v3/dropdown/templates_business
2. Response parameters
key | desc | type |
---|---|---|
id | Unique ObjectId of the AI model | String |
name | Name of the template | String |
3. Sample Request
- cURL
- Node.js
- Python
curl https://app.aistudios.cn/api/odin/v3/dropdown/templates_business \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X GET
import axios from "axios";
const token = ${API KEY};
const customWebhookUrl = ${webhook_delivery_address};
axios.get('https://app.aistudios.cn/api/odin/v3/dropdown/templates_business',
{
headers: {
'Authorization': ${token},
'Content-Type': 'application/json'
}
}
)
.then((res) => {
console.log(res.data);
})
.catch((error) => {
console.error(error);
})
import requests
import json
url = "https://app.aistudios.cn/api/odin/v3/dropdown/templates_business"
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.get(url, data=json.dumps(body), headers=headers)