voisona-talk-api / RequestSpeechSynthesisParams
Interface: RequestSpeechSynthesisParams
Defined in: types.ts:182
Parameters for requesting speech synthesis.
Properties
analyzed_text?
optionalanalyzed_text?:string
Defined in: types.ts:194
TSML analyzed text. Max 50000 characters. If provided, 'text' is ignored.
can_overwrite_file?
optionalcan_overwrite_file?:boolean
Defined in: types.ts:200
Whether to overwrite the output file. Defaults to false.
destination?
optionaldestination?:Destination
Defined in: types.ts:196
Destination of the output sound. Defaults to 'audio_device'.
force_enqueue?
optionalforce_enqueue?:boolean
Defined in: types.ts:202
Whether to force enqueue by removing old requests. Defaults to false.
global_parameters?
optionalglobal_parameters?:GlobalParameters
Defined in: types.ts:204
Global synthesis parameters.
language
language:
string
Defined in: types.ts:184
Language code (e.g., "ja_JP"). Required.
output_file_path?
optionaloutput_file_path?:string
Defined in: types.ts:198
Absolute path for output file. Required if destination is 'file'.
phoneme_durations?
optionalphoneme_durations?:number[]
Defined in: types.ts:209
Requested phoneme durations in seconds. -1 means automatic.
text?
optionaltext?:string
Defined in: types.ts:189
Source text. Max 500 characters. Required if analyzed_text is not provided.
voice_name?
optionalvoice_name?:string
Defined in: types.ts:211
Specific voice name to use.
voice_version?
optionalvoice_version?:string
Defined in: types.ts:213
Specific voice version to use.