Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}

§Properties

§
audioConfig?: AudioConfig
[src]

Required. The configuration of the synthesized audio.

§

Required. The Synthesizer requires either plain text or SSML as input.

§

Required. The desired voice of the synthesized audio.