Skip to main content
POST
/
audio
/
complete
/api/v1/audio/complete
curl --request POST \
  --url https://api.venice.ai/api/v1/audio/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "elevenlabs-music",
  "queue_id": "123e4567-e89b-12d3-a456-426614174000"
}
'
{
  "success": true
}
Call this endpoint after you have successfully downloaded generated audio when you want Venice to clean up stored media associated with the request.

Postman Collection

For additional examples, please see this Postman Collection.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

The ID of the model used for audio generation.

Example:

"elevenlabs-music"

queue_id
string
required

The ID of the audio generation request. Use this to poll for status and retrieve the result.

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Media cleanup result. A success value of false indicates cleanup did not complete and can be retried later.

success
boolean
required

Indicates whether the audio cleanup was successful.

Example:

true