SynthesizeLongAudioRequest
import type { SynthesizeLongAudioRequest } from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";
The top-level message sent by the client for the SynthesizeLongAudio
method.
interface SynthesizeLongAudioRequest {
audioConfig?: AudioConfig;
input?: SynthesisInput;
outputGcsUri?: string;
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. While Long Audio is in preview, SSML is temporarily unsupported.
§
outputGcsUri?: string
[src]Required. Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name
, and the bucket
must already exist.
§
voice?: VoiceSelectionParams
[src]Required. The desired voice of the synthesized audio.