Files
Start a video or sound upload
The first of three steps for a video or a sound: this answers with a URL. PUT the file's bytes there with exactly upload_headers within the hour, then complete the upload. Up to 1 GB of video (MP4, MOV, WebM) or 500 MB of audio (MP3, WAV, M4A), and up to 4 hours long. Needs credit on your balance. A workspace can upload 5 GB a day, with 10 uploads in flight at once.
Needs an API key with the generations:write scope.
post/v1/uploads
Request
- Base URL: https://api.tryleap.ai
- URL: https://api.tryleap.ai/v1/uploads
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Response
Where and how to send the bytes.
Changes
No recorded changes to this operation across all 1 revision of this API.