TtsApi
TtsApi - object-oriented interface
Export
TtsApi
Extends
BaseAPI
Constructors
new TtsApi()
new TtsApi(
configuration
?,basePath
?,axios
?):TtsApi
Parameters
configuration?
basePath?
string
= BASE_PATH
axios?
AxiosInstance
= globalAxios
Returns
Inherited from
BaseAPI.constructor
Properties
axios
protected
axios:AxiosInstance
=globalAxios
Inherited from
BaseAPI.axios
basePath
protected
basePath:string
=BASE_PATH
Inherited from
BaseAPI.basePath
configuration
protected
configuration:undefined
|Configuration
Inherited from
BaseAPI.configuration
Methods
apiV1TtsCloneIdDelete()
apiV1TtsCloneIdDelete(
id
,options
?):Promise
<AxiosResponse
<void
>>
Parameters
id
string
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<void
>>
Throws
Memberof
TtsApi
apiV1TtsCloneIdGet()
apiV1TtsCloneIdGet(
id
,options
?):Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Parameters
id
string
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Throws
Memberof
TtsApi
apiV1TtsCloneIdPatch()
apiV1TtsCloneIdPatch(
id
,ttsClonePatchDto
?,options
?):Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Parameters
id
string
ttsClonePatchDto?
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Throws
Memberof
TtsApi
apiV1TtsClonePost()
apiV1TtsClonePost(
name
,description
,language
,provider
,providerSpecificElevenLabsRemoveBackgroundNoise
?,providerSpecificCartesiaMode
?,providerSpecificCartesiaEnhance
?,providerSpecificCartesiaTranscript
?,audios
?,options
?):Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Parameters
name
string
description
string
language
string
provider
providerSpecificElevenLabsRemoveBackgroundNoise?
boolean
providerSpecificCartesiaMode?
providerSpecificCartesiaEnhance?
boolean
providerSpecificCartesiaTranscript?
string
audios?
File
[]
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsCloneResponseDto
>>
Throws
Memberof
TtsApi
apiV1TtsGroupsGet()
apiV1TtsGroupsGet(
names
?,skip
?,take
?,options
?):Promise
<AxiosResponse
<TtsGroupResponseDTO
[]>>
Parameters
names?
string
[]
skip?
number
take?
number
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsGroupResponseDTO
[]>>
Throws
Memberof
TtsApi
apiV1TtsGroupsIdGet()
apiV1TtsGroupsIdGet(
id
,options
?):Promise
<AxiosResponse
<TtsGroupResponseDTO
>>
Parameters
id
string
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsGroupResponseDTO
>>
Throws
Memberof
TtsApi
apiV1TtsSynthesisPost()
apiV1TtsSynthesisPost(
ttsSynthesisRequestDTO
?,options
?):Promise
<AxiosResponse
<void
>>
Parameters
ttsSynthesisRequestDTO?
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<void
>>
Throws
Memberof
TtsApi
apiV1TtsVoicesGet()
apiV1TtsVoicesGet(
showOptions
?,options
?):Promise
<AxiosResponse
<TtsCloneResponseDto
[]>>
Parameters
showOptions?
options?
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<AxiosResponse
<TtsCloneResponseDto
[]>>
Throws
Memberof
TtsApi