After working successfully, with no changes since, I’ve started getting the following error message. I’ve trimmed the value 2 decimal places. Still same message. When I first started seeing it, I saw OpenAI alerted to increased TTS errors. They since said it was resolved, but I continue to receive the error. Is anyone else seeing this?
Model: gpt-4o-mini-tts
Endpoint: https://api.openai.com/v1/audio/speech
Rounded speed value: 0.95
API returned status: 400
Body: {
“error”: {
“message”: “Invalid ‘speed’: max decimal places exceeded. Expected a value with at most 16 decimal places, but got a value with 52 decimal places instead.”,
“type”: “invalid_request_error”,
“param”: “speed”,
“code”: “decimal_max_decimal_places_exceeded”
}
}
From every angle I can tell, I am sending a value of 0.95 so I cannot understand why OpenAI says I’m sending 52 decimal places.