#Bug: Low bitrate mp3 format not working
1 messages · Page 1 of 1 (latest)
@stray geyser any comment?
What is your subscription level?
The "Starter" level, for now
Starter is the 2nd column, you don't have access to all output_formats at this level..
Well it's fine that I don't have the high quality 192 format, but nothing says I would not have the low-fi formats. Do you know for sure that this is expected? If so, that should be mentioned somewhere in the docs or landing pages.
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?
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?
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