프로젝트 진행률 확인하기
Project export deals with how to synthesize new images by sending api requests in JSON format.
1. API endpoint
https://v2.aistudios.com/api/odin/editor/progress/${key}
2. Response parameters
key | desc | type |
---|---|---|
progress | Progress | Float |
videoUrl | The path of the video path. | String |
3. Sample Request
- cURL
- Node.js
- Python
curl https://v2.aistudios.com/api/odin/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://v2.aistudios.com/api/odin/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://v2.aistudios.com/api/odin/editor/progress/${project key}"
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.get(url, headers=headers)