Google Cloud Text-to-Speech v1 API - Class StreamingSynthesisInput (3.14.0)

public sealed class StreamingSynthesisInput : IMessage<StreamingSynthesisInput>, IEquatable<StreamingSynthesisInput>, IDeepCloneable<StreamingSynthesisInput>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class StreamingSynthesisInput.

Input to be synthesized.

Inheritance

object > StreamingSynthesisInput

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

StreamingSynthesisInput()

public StreamingSynthesisInput()

StreamingSynthesisInput(StreamingSynthesisInput)

public StreamingSynthesisInput(StreamingSynthesisInput other)
Parameter
Name Description
other StreamingSynthesisInput

Properties

HasMarkup

public bool HasMarkup { get; }

Gets whether the "markup" field is set

Property Value
Type Description
bool

HasPrompt

public bool HasPrompt { get; }

Gets whether the "prompt" field is set

Property Value
Type Description
bool

HasText

public bool HasText { get; }

Gets whether the "text" field is set

Property Value
Type Description
bool

InputSourceCase

public StreamingSynthesisInput.InputSourceOneofCase InputSourceCase { get; }
Property Value
Type Description
StreamingSynthesisInputInputSourceOneofCase

Markup

public string Markup { get; set; }

Markup for HD voices specifically. This field may not be used with any other voices.

Property Value
Type Description
string

Prompt

public string Prompt { get; set; }

This is system instruction supported only for controllable voice models.

Property Value
Type Description
string

Text

public string Text { get; set; }

The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.

Property Value
Type Description
string