Core Speech Analysis

Convert text to high-quality speech using neural voice synthesis

post/api/text-to-speech

Request

  • Base URL: https://platform.vocametrix.com
  • URL: https://platform.vocametrix.com/api/text-to-speech
  • Auth: API key in header X-API-Key

Request body

textstring required

The text to convert to speech (max 1000 characters)

voicestring

Voice name (optional, default: en-US-AriaNeural)

stylestring

Speaking style (optional, default: friendly)

ratestring

Speaking rate (optional, default: 1.0)

languagestring

Language locale (optional, default: en-US)

Response

Successful response

successboolean

Boolean indicating if synthesis was successful

audiostring byte

Base64 encoded audio data

formatstring

Audio format (wav)

voicestring

Voice used for synthesis

stylestring

Speaking style applied

textLengthstring

Length of input text processed

Changes

No recorded changes to this operation across all 1 revision of this API.