Skip to main content
POST
/
v1
/
speech-synthesis
Text to Speech
curl --request POST \
  --url https://devapi.fineshare.net/v1/speech-synthesis \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voice": "james",
  "text": "[happy] Hello! Welcome to FineVoice."
}
'
{
  "task_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Documentation Index

Fetch the complete documentation index at: https://api.finevoice.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer token for authentication. Format: Bearer {your_api_key}

Body

voice
string | null

The voice model name to use for synthesis. Retrieve available voices from the List Voices API.

Example:

"james"

text
string | null

The text to convert to speech. Supports emotion tags such as [happy], [sad], [breathe].

Example:

"[happy] Hello! Welcome to FineVoice."

Response

Task accepted. Returns a task_id for polling status.

task_id
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"