Skip to content

voisona-talk-api


voisona-talk-api / SpeechSynthesisRequest

Interface: SpeechSynthesisRequest

Defined in: types.ts:90

Detailed information for a speech synthesis request.

Extends

Properties

analyzed_text?

optional analyzed_text?: string

Defined in: types.ts:92

TSML analyzed text used for synthesis.


destination

destination: Destination

Defined in: types.ts:72

Destination of the synthesized sound.

Inherited from

SpeechSynthesisBaseInformation.destination


duration?

optional duration?: number

Defined in: types.ts:94

Duration of the synthetic sound in seconds.


global_parameters?

optional global_parameters?: GlobalParameters

Defined in: types.ts:96

Global parameters used for synthesis.


language

language: string

Defined in: types.ts:74

Language code (e.g., "ja_JP").

Inherited from

SpeechSynthesisBaseInformation.language


meta?

optional meta?: MetaInformation

Defined in: types.ts:111

Metadata information.


output_file_path?

optional output_file_path?: string

Defined in: types.ts:76

Absolute path to the output WAV file. Meaningful only if destination is 'file'.

Inherited from

SpeechSynthesisBaseInformation.output_file_path


phoneme_durations?

optional phoneme_durations?: number[]

Defined in: types.ts:105

Actual phoneme durations in seconds.


phonemes?

optional phonemes?: string[]

Defined in: types.ts:98

Array of phoneme labels.


progress_percentage

progress_percentage: number

Defined in: types.ts:78

Progress of the request (0 to 100).

Inherited from

SpeechSynthesisBaseInformation.progress_percentage


requested_phoneme_durations?

optional requested_phoneme_durations?: number[]

Defined in: types.ts:103

Requested phoneme durations in seconds. Returned only when the request included phoneme_durations.


state

state: RequestState

Defined in: types.ts:80

Current state of the request.

Inherited from

SpeechSynthesisBaseInformation.state


text

text: string

Defined in: types.ts:82

Source text for synthesis.

Inherited from

SpeechSynthesisBaseInformation.text


uuid

uuid: string

Defined in: types.ts:84

Unique ID for the request.

Inherited from

SpeechSynthesisBaseInformation.uuid


voice_name?

optional voice_name?: string

Defined in: types.ts:107

Name of the voice library used.


voice_version?

optional voice_version?: string

Defined in: types.ts:109

Version of the voice library used.