Check the progress of the project.
Progress describes how to check the composite progress through the project ID generated after the project export operation.
1. API endpoint
https://app.aistudios.cn/api/odin/v3/editor/progress/${key}
2. Response parameters
key | desc | type |
---|---|---|
progress | Progress between 0.00 ~ 100. | Float |
downloadUrl | The path of the download url of the video. | String |
3. Sample Request
- cURL
- Node.js
- Python
curl https://app.aistudios.cn/api/odin/v3/editor/progress/${project key} \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X GET
import axios from "axios";
const token = ${API KEY};
axios.get(`https://app.aistudios.cn/api/odin/v3/editor/progress/${project key}`,
{
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/editor/progress/${project key}"
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.get(url, headers=headers)