Skip to main content
POST
/api/v1/audio/complete
Chame este endpoint após baixar com sucesso o áudio gerado, quando quiser que a Venice limpe a mídia armazenada associada à solicitação. Modelos de trocador de voz usam /audio/voice-changer/complete em vez disso.

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. Voice-changer models are not supported on /api/v1/audio/retrieve or /api/v1/audio/complete; use the /api/v1/audio/voice-changer endpoints instead.

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