Common
Upload a file to the server.
Changed onThe uploaded file in other endpoints is called a "source file".
You can use the source file ID from the response to create split tasks.
The file will be deleted when the expiration time from the response is reached.
Upload limit is 10GB per request.
post/api/v1/upload/
Request
- Base URLhttps://lalal.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-License-Key
Headers
Content-Dispositionstring required
'attachment; filename=<filename>' - a name for the file (see RFC 6266).
Request body application/octet-stream
string binary required
File binary data
Response
OK
Example response
{
"id": "e1fc1d8f-502e-4de0-bf3b-b30543d11c77",
"name": "my_audio.mp3",
"size": 12345678,
"duration": 180
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info