Get Chromakey/Audio item
The Get Chromakey/Audio Item section shows you how to send an API request in JSON format to fetch an exported chromakey video or audio file.
1. API endpoint
https://aistudios.com/api/odin/simple/find/${key}
2. Response parameters
key | desc | type |
---|---|---|
success | Progress on Request Success | Boolean |
key | Project ID | String |
3. Sample Request
- cURL
- Node.js
- Python
curl https://aistudios.com/api/odin/simple/find/${key} \
-H "Authorization: ${API KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{}'
import axios from "axios"
const token = ${API KEY}
axios.post('https://aistudios.com/api/odin/editor/project',
{},
{
headers: {
'Authorization': ${token},
'Content-Type': 'application/json'
}
}
)
.then((res) => {
console.log(res.data)
})
.catch((error) => {
console.error(error)
})
import requests
import json
url = "https://aistudios.com/api/odin/simple/find/${key}"
body = {}
headers = {
"Content-Type": "application/json",
"Authorization": ${API TOKEN}
}
r = requests.post(url, data=json.dumps(body), headers=headers)