curl --request GET \
--url https://app.dubly.ai/api/v1/dubs/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.dubly.ai/api/v1/dubs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"response": {
"status": "Processing",
"audio_settings": {
"original_voice_volume_db": -20,
"adjustable": false,
"api_changes_remaining": 2
}
}
}Get dub status and result URLs
Check the current status of a dub. Returns “Processing” while in progress, “Dubbed” with download URLs when complete, or “Error” if the dub failed. After a change in the editor (“Update”), the dub is re-rendered: the status is “Updating” without URLs until the new version is ready, then “Dubbed” again with URLs to the updated video. A change of the original-voice volume (PATCH /api/v1/dubs//audio-settings) on a finished dub does the same while its languages are re-mixed: “Updating” without URLs, then “Dubbed” again. An update also resets a finished lip sync of that language (GET /api/v1/dubs//lipsync answers “NotStarted”) — start it again once the status is “Dubbed”. See Dub status lifecycle.
Download URLs are signed and valid for 7 days; download the file instead of storing the link, and call this endpoint again for a fresh one.
Every answer, in every status, also carries audio_settings: original_voice_volume_db (the volume of the original voice under the dubbed one, in dB), adjustable (whether PATCH /api/v1/dubs//audio-settings can change it for this dub) and api_changes_remaining (API volume changes left for this dub; null if it cannot be read at the moment — the rest of the answer is unaffected).
The dub ID is passed as a path parameter; a deleted dub returns 404.
curl --request GET \
--url https://app.dubly.ai/api/v1/dubs/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.dubly.ai/api/v1/dubs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.dubly.ai/api/v1/dubs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"response": {
"status": "Processing",
"audio_settings": {
"original_voice_volume_db": -20,
"adjustable": false,
"api_changes_remaining": 2
}
}
}
