Upload a video, image, or audio file to use in your video projects
Bearer sk-bab-your-api-keyvideo/mp4, image/png, audio/mpeg)video/mp4video/quicktime (.mov)video/x-msvideo (.avi)video/webmimage/pngimage/jpegimage/gifimage/webpimage/svg+xmlaudio/mpeg (.mp3)audio/wavaudio/oggaudio/aacuploading, processing, ready, or errorCheck file size before uploading
Store asset IDs and URLs
id and url in your database to reference the asset later in your video projects.Use appropriate content types
Content-Type header matching your file format. This ensures proper processing and display.Handle upload errors gracefully