SynthesizeSpeechRequest
import type { SynthesizeSpeechRequest } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";
The top-level message sent by the client for the SynthesizeSpeech
method.
interface SynthesizeSpeechRequest {
audioConfig?: AudioConfig;
input?: SynthesisInput;
voice?: VoiceSelectionParams;
}§Properties
§
audioConfig?: AudioConfig
[src]Required. The configuration of the synthesized audio.
§
input?: SynthesisInput
[src]Required. The Synthesizer requires either plain text or SSML as input.
§
voice?: VoiceSelectionParams
[src]Required. The desired voice of the synthesized audio.