Remove model from speak options in Google AI TTS (#39705)

This commit is contained in:
tronikos 2025-06-25 21:46:37 -07:00 committed by Franck Nijhof
parent 0a1d25d370
commit 66b58eb322
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

View File

@ -212,7 +212,6 @@ data:
message: Say cheerfully: Have a wonderful day!
options:
voice: <voice-name>
model: <model-id>
```
{% endraw %}
@ -222,7 +221,6 @@ You can configure the following options:
| Option attribute | Optional | Description | Example |
| ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- |
| `voice` | yes | The [voice name](https://ai.google.dev/gemini-api/docs/speech-generation#voices) to be used for the generated speech. The default is `zephyr`. | `achernar` |
| `model` | yes | The [model](https://ai.google.dev/gemini-api/docs/speech-generation#supported-models) to use for the text-to-speech conversion. The default is `gemini-2.5-flash-preview-tts`. | `gemini-2.5-pro-preview-tts` |
The input language is detected automatically. Check the [Google AI documentation](https://ai.google.dev/gemini-api/docs/speech-generation#languages) for the supported languages.