sfortis / openai_tts

OpenAI TTS custom component for HA
GNU General Public License v3.0
44 stars 15 forks source link

Language selection? #8

Closed paull27 closed 2 months ago

paull27 commented 3 months ago

The UI setup of the integration only asks for API key, speed, model and voice. In the YAML version I was able to configure the language, how do I do that now?

eponce92 commented 2 months ago

Agree, this feature is crucial. It's challenging to comprehend the output when attempting to use it in Spanish.

sfortis commented 2 months ago

There is no parameter in the OpenAI speech endpoint to explicitly set the output language. The language is determined by the language of the input text provided.