upload_video
Get a pre-signed upload URL for video files, execute the returned upload command to transfer the file, and receive an objectKey to use for video translation.
Instructions
取视频的预签名上传地址。拿到地址后原样执行返回的 uploadCommand(只替换文件路径,Content-Disposition 一个字符都不能改,否则 S3 报 SignatureDoesNotMatch)。预签名地址仅 10 分钟有效,取到就传。注意视频和文档走的是不同端点、不同存储路径,视频不能用 upload_document 取链接。上传成功后用返回的 objectKey 作为 source_file_object_key 调 translate_video。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name_list | Yes | 视频文件名列表 |