Skip to main content
BytePlus Video Enhancement improves clarity, reduces noise and compression artifacts, upscales resolution, and optionally interpolates frames. Use the public model ID byteplus-video-enhancement.

Workflow

  1. Submit a public source URL to POST /api/gengen/v1/video/enhancements with your GENGEN API key.
  2. Save the returned id. Query GET /api/gengen/v1/video/enhancements/{id} with the same API key until the status is succeeded or failed. Use a polling interval of at least 10 seconds.
  3. Read the video URL from outputs.videos[0] and download it before outputs.expiresAt.
Closing your client does not cancel processing. This release does not provide customer webhook subscriptions, task cancellation, or a dedicated list endpoint. Submit each job once; a new POST creates a new billable job.
Result URLs normally expire after 24 hours. The returned outputs.expiresAt is the applicable deadline. GENGEN does not archive or transfer these results to permanent storage. After that deadline, retrieval returns the task record with an empty outputs.videos array; it does not regenerate or extend the result.

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.
  • Source video supports up to 2K; files no larger than 10 GB are recommended. Media compatibility is checked during processing.
  • Supply assets.sourceVideo; direct file uploads and asset:// identifiers are not accepted here.
Accepted requests reserve a fixed balance amount. Source download or format errors can still appear as an asynchronous task failure; always check the final task status.

Options

Omit scene for Professional. natural favors a natural appearance; hd favors stronger sharpness. Output is MP4. Prompt text, custom codecs, bit depth, and arbitrary provider parameters are not supported.

Example

Usage

On success, usage.outputDurationSeconds is the measured output length in seconds and usage.fps is the output frame rate. The price row matches the toolVersion, the resolution tier string and the frame-rate tier. To calculate the charge, divide outputDurationSeconds by 60, then multiply by the per-minute rate for usage.priceRowId in the price catalog.

Billing and failures

In live customer pricing, expand BytePlus and select the enhancement version (Standard or Professional), output resolution, and frame-rate tier to view the applicable USD per minute rate. Frame-rate tiers are up to 30 fps, over 30 up to 60 fps, and over 60 up to 120 fps. The last tier can apply when preserving a source frame rate; controls.fps accepts only 30 or 60. Additional metered output resolutions are billing references; requests accept only 1080P, 2K, and 4K. 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 does not charge again. Failed jobs release their reserved balance. Check live customer pricing before use. Statuses are pending, 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.