Attributes
- Provider: google
- Category: Text to Speech
Parameters
| Name | Description | Type | Required | Enums |
|---|---|---|---|---|
| language_code | Optional BCP-47 language tag in lowercase. Examples: en-us, cmn-cn, ja-jp. The model can also detect the language from the transcript. | string | No | - |
| style | Optional delivery direction for single-speaker synthesis. Not spoken aloud. | string | No | - |
| text | Verbatim transcript. Required for single-speaker synthesis. | string | No | - |
| voice | Required for single-speaker synthesis. Prebuilt voice name, extended voice-library ID, or a designed/replicated voice ID (voice_… or voicekey_…). No spaces. | string | No | - |
| speakers | Exactly two speakers for dialogue. Use with turns. | object[] | No | - |
| turns | Dialogue turns in order. Each speaker must match a name in speakers, case-sensitively. | object[] | No | - |
Pricing
Input image ($/img): 0.0000
Input video ($/sec): 0.0000
Unit: $/M chars
| Pricing |
|---|
| $12.1250/M chars |
