GoogleSpeechCall
Namespace: Vercel.AI.Google
public sealed class GoogleSpeechCallSpeech request settings beyond the shared text and voice fields.
Inheritance: object
Constructors
Section titled “Constructors”GoogleSpeechCall(string)
Section titled “GoogleSpeechCall(string)”public GoogleSpeechCall(string text)Creates a speech call.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Properties
Section titled “Properties”Instructions
Section titled “Instructions”public string? Instructions { get; set; }Style directions.
Value: string
Language
Section titled “Language”public string? Language { get; set; }Language. Gemini TTS ignores it.
Value: string
OutputFormat
Section titled “OutputFormat”public string? OutputFormat { get; set; }Output format such as wav or pcm.
Value: string
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; set; }Provider options under google, googleVertex, or vertex.
Value: IReadOnlyDictionary<string, JsonElement>
public double? Speed { get; set; }Speaking rate. Gemini TTS ignores it.
Value: double?
public string Text { get; }Transcript.
Value: string
public string? Voice { get; set; }Prebuilt voice. Defaults to Kore.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product