Edit Video
Changed onEdits a video and renders it again under the same video_id. Send the edit_version from GET /v3/videos/{video_id}/scenes; a stale version returns 409. The render is charged as an API render. Idempotency-Key is required; if the key store is unavailable, a retry can render, and charge, a second time. Follow the render with GET /v3/videos/{video_id} or a webhook.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/videos/{video_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Unique video identifier
Headers
Required client-supplied key for safely retrying a request that charges. A retry within 24 hours that shares this key returns the original response instead of running again. The body must be the same: a different body under the same key returns 409 conflict. A retry that arrives while the original is still in flight gets a 409 request_in_progress. When the original could not be confirmed, repeating it with the same key settles that attempt instead of starting another. Scope is the space plus the request path, so the same key on another video is independent, and a key sent by another member of the space replays that member's response. A missing or blank value is rejected with 400. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default.
Request body
Response
Successful response
Changes
- info
endpoint added
- info