Skip to Content
Docs

Synthesize audio speech from text

POST
/api/tts

Synthesize audio speech from text.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
text*string

Text to be synthesized as audio

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/tts' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
Example Response200
Empty