byteplus-video-enhancement.
Workflow
- Submit a public source URL to
POST /api/gengen/v1/video/enhancementswith your GENGEN API key. - Save the returned
id. QueryGET /api/gengen/v1/video/enhancements/{id}with the same API key until the status issucceededorfailed. Use a polling interval of at least 10 seconds. - Read the video URL from
outputs.videos[0]and download it beforeoutputs.expiresAt.
Source requirements
- A public HTTP or HTTPS URL reachable without headers or cookies. Signed URLs are accepted; keep the URL valid while the job waits and processes.
- BytePlus supports source video up to 2K and recommends files no larger than 10 GB. Media compatibility is checked by BytePlus during processing.
- Supply
assets.sourceVideo; direct file uploads andasset://identifiers are not accepted here.
Options
Omit
scene for Professional. natural favors a natural appearance; hd favors stronger sharpness. Output uses the upstream default MP4 format. Prompt text, custom codecs, bit depth, and arbitrary provider parameters are not supported.
Example
Billing and failures
A fixed amount is reserved before processing; it is not a quote or a maximum charge. Successful jobs are charged by actual output duration, enhancement version, resolution, and frame-rate tier. Any unused reservation is released. Costs above the reservation use additional available balance. If the final balance is insufficient, retrieval returns HTTP 402; top up and retry retrieval of the same task. Output expiration still applies. Repeated retrieval and duplicate completion notifications do not charge again. Failed jobs release their reserved balance. Check live customer pricing before use. Statuses arepending, running, succeeded, and failed. A failed result includes failureReason. Invalid requests return HTTP 400, invalid API keys return 401, insufficient balance returns 402, and tasks unavailable to the requesting key return 404. If submission acceptance is uncertain, the task can remain in progress while GENGEN reconciles it; avoid submitting a replacement job automatically.
See Create task and Retrieve task for the endpoint schemas.