Pular para o conteúdo principal
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
}
Chame este endpoint após baixar com sucesso o áudio gerado, quando quiser que a Venice limpe a mídia armazenada associada à solicitação.

Coleção do Postman

Para exemplos adicionais, consulte esta coleção do Postman.

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
model
string
obrigatório

The ID of the model used for audio generation.

Exemplo:

"elevenlabs-music"

queue_id
string
obrigatório

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

Exemplo:

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

Resposta

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

success
boolean
obrigatório

Indicates whether the audio cleanup was successful.

Exemplo:

true