* Add ElevenLabs text-to-speech integration * Remove commented out code * Use model_id instead of model_name for elevenlabs api * Apply suggestions from code review Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com> * Use async client instead of sync * Add ElevenLabs code owner * Apply suggestions from code review Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Set entity title to voice * Rename to elevenlabs * Apply suggestions from code review Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Allow multiple voices and options flow * Sort default voice at beginning * Rework config flow to include default model and reloading on options flow * Add error to strings * Add ElevenLabsData and suggestions from code review * Shorten options and config flow * Fix comments * Fix comments * Add wip * Fix * Cleanup * Bump elevenlabs version * Add data description * Fix --------- Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: Michael Hansen <mike@rhasspy.org> Co-authored-by: Joostlek <joostlek@outlook.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
31 lines
700 B
JSON
31 lines
700 B
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
},
|
|
"data_description": {
|
|
"api_key": "Your Elevenlabs API key."
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"invalid_api_key": "[%key:common::config_flow::error::invalid_api_key%]"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"voice": "Voice",
|
|
"model": "Model"
|
|
},
|
|
"data_description": {
|
|
"voice": "Voice to use for the TTS.",
|
|
"model": "ElevenLabs model to use. Please note that not all models support all languages equally well."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|