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

SynthesisInput

import type { SynthesisInput } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";

Contains text input to be synthesized. Either text or ssml must be supplied. Supplying both or neither returns google.rpc.Code.INVALID_ARGUMENT. The input size is limited to 5000 bytes.

interface SynthesisInput {
ssml?: string;
text?: string;
}

§Properties

§
ssml?: string
[src]

The SSML document to be synthesized. The SSML document must be valid and well-formed. Otherwise the RPC will fail and return google.rpc.Code.INVALID_ARGUMENT. For more information, see SSML.

§
text?: string
[src]

The raw text to be synthesized.