The CONF_API_KEY config value is checked to be 51 character long, but the new project based openapi keys are 56 character long. Also I didn't succeed to use my old key to generate voice (got an error from the API call), so I had to change the code in custom_components to allow 56 characters and then it worked with my project api key.
The CONF_API_KEY config value is checked to be 51 character long, but the new project based openapi keys are 56 character long. Also I didn't succeed to use my old key to generate voice (got an error from the API call), so I had to change the code in custom_components to allow 56 characters and then it worked with my project api key.