Upload a song for editing
curl --request POST \
--url https://api.opper.ai/v3/audio/songs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audio": "<string>",
"model": "<string>"
}
'import requests
url = "https://api.opper.ai/v3/audio/songs"
payload = {
"audio": "<string>",
"model": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({audio: '<string>', model: '<string>'})
};
fetch('https://api.opper.ai/v3/audio/songs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"created_at": "2023-11-07T05:31:56Z",
"duration_seconds": 123,
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"model": "<string>",
"plan": {},
"usage": {
"cost": 123,
"attempts": 123,
"duration_seconds": 123
},
"words_timestamps": [
{
"end_ms": 123,
"start_ms": 123,
"word": "<string>"
}
]
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}Audio
Upload a song
Upload a project-owned file, public HTTPS URL or audio data URI to a model with audio_upload. Returns an opaque song id and optionally a composition plan. Charged by uploaded duration. Requires a nonzero project retention period. ElevenLabs has no public song deletion API; its upstream retention is unspecified.
POST
/
v3
/
audio
/
songs
Upload a song for editing
curl --request POST \
--url https://api.opper.ai/v3/audio/songs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"audio": "<string>",
"model": "<string>"
}
'import requests
url = "https://api.opper.ai/v3/audio/songs"
payload = {
"audio": "<string>",
"model": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({audio: '<string>', model: '<string>'})
};
fetch('https://api.opper.ai/v3/audio/songs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"created_at": "2023-11-07T05:31:56Z",
"duration_seconds": 123,
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"model": "<string>",
"plan": {},
"usage": {
"cost": 123,
"attempts": 123,
"duration_seconds": 123
},
"words_timestamps": [
{
"end_ms": 123,
"start_ms": 123,
"word": "<string>"
}
]
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"meta": {}
}See the Audio guide for song upload, song editing and the limits of provider deletion.
Authorizations
Body
application/json
Last modified on November 16, 2026