post
https://apis.elai.io/api/v1/uploads/music/
Uploads an audio file as a background-music asset for the given video.
Non-MP3 input is transcoded to MP3 with ffmpeg before storage, so WAV, M4A and similar formats are accepted. The stored asset is keyed by file name: uploading a file whose name already exists in the workspace overwrites that asset's record rather than creating a second one.
Send the file as multipart/form-data under the field name file. Counts against the workspace's asset limit.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X POST 'https://apis.elai.io/api/v1/uploads/music/66a1f0c2b7cd13032a9c6002' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-F 'file=@/path/to/your/file'
