Andrewcpu/elevenlabs-api

Problem with requests in PCM_16000

Opened this issue · 0 comments

In my Java project, I am using a speech generation constructor like this:

image

However, I am receiving the following error:

image

After some investigation, I realized that ElevenNetworkUtil.FILE_RESULT_TYPES does not have the type "audio/pcm" which is the value that comes in the response.getEntity().getContentType() to the ElevenLabs request.