Skip to main content
POST
/
api
/
fsmstexttospeech
Converts text to speech using specified parameters.
curl --request POST \
  --url https://converter.fineshare.net/api/fsmstexttospeech \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "engine": "v2",
  "appid": "107",
  "featureid": "22",
  "speech": "<string>",
  "voice": "<string>",
  "platform": "web",
  "parameter": {
    "speed": "1.0",
    "languagecode": "<string>",
    "pitch": "0.0"
  }
}
'
{
  "message": "Text-to-speech processing successful."
}

Headers

authorization
string
required

Bearer token for authentication.

Body

application/json
engine
enum<string>

The engine to use for text-to-speech. If you are using a custom cloned model, please pass V2. The supported engine for the corresponding model can be obtained by querying the AI Voice Model's detailed information.

Available options:
v2,
v1
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."