跳转到主要内容
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
}
在成功下载生成的音频后,如果您希望 Venice 清理与该请求关联的存储媒体,请调用此端点。

Postman 集合

如需更多示例,请参阅此 Postman 集合

授权

Authorization
string
header
必填

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

请求体

application/json
model
string
必填

The ID of the model used for audio generation.

示例:

"elevenlabs-music"

queue_id
string
必填

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

示例:

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

响应

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

success
boolean
必填

Indicates whether the audio cleanup was successful.

示例:

true