Skip to main content
POST
Converts text to speech using specified parameters.

Headers

Authorization
string
required

Bearer token for authentication.

Body

application/json
Engine
enum<string>

The engine to use for text-to-speech.

Available options:
v1,
v5,
v7
AppId
enum<string>

The application identifier.

Available options:
107
FeatureId
enum<string>

The feature identifier.

Available options:
22
speech
string

The input text to convert to speech.

voice
string

The voice configuration.

platform
enum<string>

The platform for which the speech is generated.

Available options:
web,
win,
mac,
phone
Parameter
object

Response

Successfully processed the text-to-speech request.

message
string
Example:

"Text-to-speech processing successful."