Retrieve a video enhancement task
curl --request GET \
--url https://gengen.farm/api/gengen/v1/video/enhancements/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/video/enhancements/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/video/enhancements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "byteplus-enhance:12345678-1234-4234-8234-123456789abc",
"model": "byteplus-video-enhancement",
"status": "succeeded",
"outputs": {
"videos": [
"https://example.com/enhanced.mp4"
],
"images": [],
"expiresAt": "2026-10-08T12:00:00.000Z"
},
"usage": {
"priceRowId": "byteplus-enhancement-standard-1080p-30",
"resolution": "1080p",
"outputDurationSeconds": 30.25,
"fps": 30,
"toolVersion": "standard"
}
}Video Enhancement API
Retrieve a video enhancement task
Retrieve using the same API key that created the job. Poll no more often
than once every 10 seconds. Repeat queries never charge twice.
After outputs.expiresAt, the task remains succeeded but outputs.videos is
empty. Querying does not regenerate, renew, or permanently store the video.
Successful tasks report measured output seconds in usage.outputDurationSeconds.
Divide by 60 and multiply by the per-minute rate for usage.priceRowId in
the price catalog. The row accounts for
usage.resolution, usage.fps and usage.toolVersion.
GET
/
video
/
enhancements
/
{id}
Retrieve a video enhancement task
curl --request GET \
--url https://gengen.farm/api/gengen/v1/video/enhancements/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/video/enhancements/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/video/enhancements/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "byteplus-enhance:12345678-1234-4234-8234-123456789abc",
"model": "byteplus-video-enhancement",
"status": "succeeded",
"outputs": {
"videos": [
"https://example.com/enhanced.mp4"
],
"images": [],
"expiresAt": "2026-10-08T12:00:00.000Z"
},
"usage": {
"priceRowId": "byteplus-enhancement-standard-1080p-30",
"resolution": "1080p",
"outputDurationSeconds": 30.25,
"fps": 30,
"toolVersion": "standard"
}
}Response
Current task state. Failed tasks include failureReason.