Appearance
Add upload part
POST
/v1/uploads/add
Adds a part to an upload object.
A part represents a portion of an upload or a chunk of a large file. The maximum size of a part can be up to 10 MB.
Authorizations
BearerAuth
TypeHTTP (bearer)
Request Body
Content Type: multipart/form-data
Please post the data according to the multipart/form-data specification, do not use JSON format.
Schema
file stringrequired
The File object (not file name) to be uploaded.
For the following purposes:
- fine-tuning: Supported format (mp3). The audio duration is between 30 seconds and 270 seconds.
Format binary
upload_id stringrequired
The ID of the Upload object that this Part was added to.
Responses
The uploaded part object.
application/json
POST
/v1/uploads/add