Text-to-Speech

Text To Speech

Converts text into speech using a voice of your choice and returns audio.

post/v1/text2speech

Request

  • Base URL
    https://api.topmediai.com
  • URL
    https://api.topmediai.com/v1/text2speech
  • Auth
    none declared

Headers

x-api-keystring

Request body

textstring required
speakerstring required
emotionstring nullable

some voice have emotion: Angry, Cheerful, Sad, Excited, Friendly, Terrified, Shouting, Unfriendly, Whispering, Hopeful, Soulful, Pleasant, Complaining, Surprised, Uneasy, Fearful, Disgust

Example request

{
  "text": "Welcome to our API",
  "speaker": "00151554-3826-11ee-a861-00163e2ac61b",
  "emotion": "Neutral"
}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.