Fast & Affordable Text-to-Speech API

11x cheaper than Eleven Labs

Stream audio in 300ms

Request up to 10-hour audio

Includes per-word timestamps

Live Demo

Per-word Timestamps

Highlight words in sync with the speech.

Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU.

How To Get Timestamps

NEW: Use a websocket connection to stream both audio and timestamps using /streamWithTimestamps

Use /speech or /synthesisTasks with TimestampType set to word or sentence (see docs).

The response will have a TimestampsUri containing JSON like this:

[\
  {\
    "word": "Our",\
    "start": 0.5,\
    "end": 0.6666666666666667,\
    "text_offset": 0\
  },\
  {\
    "word": "model",\
    "start": 0.6666666666666667,\
    "end": 1.075,\
    "text_offset": 4\
  },\
  {\
    "word": "achieves",\
    "start": 1.075,\
    "end": 1.5166666666666666,\
    "text_offset": 10\
  },\
  ...\
]

The more you use it, the cheaper it gets

Start for free. Stay for discounts.

Number of Characters
Per month
625M
Audio Duration
Estimated
~14K hours
Enterprise Plan
Includes 625M characters
$4999
a month
High Volume Inquiry
Additional Usage
$8 per 1M characters
—

Code Samples

Get started quickly with our simple text-to-speech API.

/stream

/speech

/synthesisTasks

/streamWithTimestamps

Python example for /stream:

import requests

response = requests.post(
  'https://api.v8.unrealspeech.com/stream',
  headers = {
    'Authorization' : 'Bearer YOUR_API_KEY'
  },
  json = {
    'Text': '''<YOUR_TEXT>''',
    'VoiceId': '<VOICE_ID>',
    'Bitrate': '192k',
    'Speed': '0',
    'Pitch': '1',
    'Codec': 'libmp3lame',
  }
)

with open('audio.mp3', 'wb') as f:
    f.write(response.content)

Sample Response

{
  'SynthesisTask': {
    'CreationTime': '2023-09-01T15:05:22.15Z',
    'OutputUri': 'https://unreal-tts-live-demo.s3-us-west-1.amazonaws.com/d8ef514d.mp3',
    'RequestCharacters': 14,
    'TaskId': 'd8ef514d',
    'TaskStatus': 'scheduled',
    'TimestampsUri': 'https://unreal-tts-live-demo.s3-us-west-1.amazonaws.com/d8ef514d.json',
    'VoiceId': 'Scarlett'
  }
}

FAQ

  • Do you offer voices in other languages? Yes, we provide 48 voices across 8 different languages.
  • Can I create custom voices (voice cloning)? Not right now, but we're working on it!
  • What happens if I use all of my monthly characters? Additional usage will be charged daily at the rate of your current plan.
  • Can I use generated audio commercially? Yes, audio generated can be used commercially.
  • How do I update my payment method? Go to your Dashboard and choose "Manage Subscription".
  • How do I cancel my subscription? You can cancel at any time through your Dashboard.

Get Started for Free →