الانتقال إلى المحتوى الرئيسي
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
}
استدعِ هذه الـ endpoint بعد أن تنجح في تنزيل الصوت المُولَّد عندما ترغب في أن تقوم 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