Video Dubbing

Get a presigned upload URL

Returns a presigned S3 PUT URL for direct video upload. Use this if your video isn't publicly accessible. After uploading, use the returned source_url when creating a dubbing job.

post/api/dubbing/upload-url

Request body

filenamestring required

Name of the video file

content_type'video/mp4' | 'video/quicktime' | 'video/x-matroska' required

MIME type of the file

Example request

{
  "filename": "video.mp4",
  "content_type": "video/mp4"
}

Response

Upload URL generated

upload_urlstring uri required

Presigned S3 PUT URL. Upload the video file with a PUT request to this URL.

source_urlstring uri required

The URL to use as source_url when creating a dubbing job.

upload_idstring required

Unique identifier for this upload

max_file_size_bytesinteger required

Maximum allowed file size in bytes (500 MB)

expires_in_secinteger required

Seconds until the upload URL expires

Changes

No recorded changes to this endpoint across all 1 revision of this API.