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

Usage

import * as mod from "https://googleapis.deno.dev/v1/texttospeech:v1.ts";

§Classes

GoogleAuth
texttospeech

Synthesizes natural-sounding speech by applying powerful neural network models.

§Variables

auth

§Interfaces

AudioConfig

Description of audio data to be synthesized.

CancelOperationRequest

The request message for Operations.CancelOperation.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

CustomVoiceParams

Description of the custom voice to be synthesized.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata

Metadata for response returned by the SynthesizeLongAudio method.

ListOperationsResponse

The response message for Operations.ListOperations.

ListVoicesResponse

The message returned to the client by the ListVoices method.

Operation

This resource represents a long-running operation that is the result of a network API call.

ProjectsLocationsOperationsListOptions

Additional options for texttospeech#projectsLocationsOperationsList.

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

SynthesisInput

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.

SynthesizeLongAudioMetadata

Metadata for response returned by the SynthesizeLongAudio method.

SynthesizeLongAudioRequest

The top-level message sent by the client for the SynthesizeLongAudio method.

SynthesizeSpeechRequest

The top-level message sent by the client for the SynthesizeSpeech method.

SynthesizeSpeechResponse

The message returned to the client by the SynthesizeSpeech method.

Voice

Description of a voice supported by the TTS service.

VoiceSelectionParams

Description of which voice to use for a synthesis request.

VoicesListOptions

Additional options for texttospeech#voicesList.