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

AdvancedVoiceOptions

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

Used for advanced voice options.

interface AdvancedVoiceOptions {
lowLatencyJourneySynthesis?: boolean;
relaxSafetyFilters?: boolean;
}

§Properties

§
lowLatencyJourneySynthesis?: boolean
[src]

Only for Journey voices. If false, the synthesis is context aware and has a higher latency.

§
relaxSafetyFilters?: boolean
[src]

Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.