Skip to content

追加数据

POST
/v1/uploads/add

向上传对象追加数据。
追加的数据代表上传对象的一部分或一个大文件的块。上传数据最大可到10MB。

Authorizations

BearerAuth
TypeHTTP (bearer)

Request Body

Content Type: multipart/form-data

请根据multipart/form-data数据规范发布数据,不要使用JSON格式。

Schema

file  stringrequired

要上传的文件内容(不是文件名)。

对应用途说明如下:

  • fine-tuning: 支持格式(mp3)。音频时长在30秒到270秒之间。

Format binary

upload_id  stringrequired

此次追加数据所属的上传对象ID。

Responses

上传的数据信息。
application/json

Samples