music-generation
Upload Music
Changed onUpload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
post/v1/music/upload
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/music/upload
- Authnone declared
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body multipart/form-data
Response
Successfully uploaded music file with optional composition plan
Example response
{
"song_id": "jR4Xz8kL2mNpQ9wVtY1b"
}Changes
- info
added the new
music_v2_5enum value to the request property/
- info
- breaking
the
/////response property's maxLength was increased from6000to6132for the response status
- breaking