To use the provided temporary storage is a two step process. You start by declaring a media:// url that you can reference in any other API calls. The response will provide a url where you can put your media. This allows you to use the media:// url as a short-cut for a temporary storage location. You’ll be returned a pre-signed url you can use to PUT and upload your media file. The temporary storage should allow you to read and write to the media:// locations for a period of at least 24 hours before it is removed.
For cases when your file is not public accessible, you can upload your file to the pyannoteAI servers using this endpoint. For a complete guide on uploading files, see the How to Upload Files tutorial.Documentation Index
Fetch the complete documentation index at: https://docs.pyannote.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The url should be in the form media://object-key where the object-key can be any alpha-numeric string. The object-key is unique to your account API token so there is no risk of collision with other users.
255/^media:\/\/[a-zA-Z0-9\-_\.\/]+$/