#Bug: Low bitrate mp3 format not working

1 messages · Page 1 of 1 (latest)

leaden bobcat
#

No matter what option I put into the "output_format" property, it always delivers a 128kbs file (mp3_44100_128, the default), even if I really want mp3_22050_32.

This is a bug, since the documentation lists a whole bunch of options. Where can I open a ticket?

I am using the API and am on a paid account.

leaden bobcat
#

@stray geyser any comment?

analog edge
#

What is your subscription level?

leaden bobcat
analog edge
#

Starter is the 2nd column, you don't have access to all output_formats at this level..

leaden bobcat
analog edge
#

I would image you should have access to this. Are you sure you are setting the output_format correctly? As well as then you are actually saving the file?

leaden bobcat
# analog edge I would image you should have access to this. Are you sure you are setting the o...
curl --request POST --url https://api.elevenlabs.io/v1/text-to-speech/pMsXgVXv3BLzUgSXRplE \
  --header 'Content-Type: application/json' \
  --header 'xi-api-key: APIKEY' \
  --data '{
    "text": "It sure does, Jackie… My mama always said: In Carolina, the air is so thick you can wear it!",
    "model_id": "eleven_turbo_v2_5",
    "voice_settings": {
      "stability": 0.1,
      "similarity_boost": 0.3,
      "style": 0.2
    },
    "output_format": "mp3_22050_32"
  }' > test.mp3

This produces a 105kb file in the default format. Does this produce a smaller file for you?

timid umbra
#

output_format is a query parameter. It will be ignored if you put it in the body as the API isn’t looking for it there