检索音频
Retrieve the status or result of an audio generation request. If the audio is still being generated, returns processing status with estimated time. If complete, returns the audio data.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
/audio/queue 返回的 queue_id 来检查生成状态。当请求完成时,此端点会返回生成的音频数据。
Postman 集合
如需更多示例,请参阅此 Postman 集合。授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
The ID of the model used for audio generation.
"elevenlabs-music"
The ID of the audio generation request. Use this to poll for status and retrieve the result.
"123e4567-e89b-12d3-a456-426614174000"
If true, the audio media will be deleted from storage after the request is completed. If false, you can use the complete endpoint to remove the media once you have successfully downloaded the audio.
false
响应
Audio generation status or completed audio
The status of the audio generation request.
PROCESSING "PROCESSING"
The estimated execution time of the audio generation request in milliseconds (P80).
20000
The current duration of the audio generation request in milliseconds.
5200