# Unreal Speech API

Category: [Speech, image and audio](https://free-web-services.com/web-services/ai/media/)  
Page: https://free-web-services.com/web-services/ai/media/unreal-speech-api.html  
Documentation: https://docs.unrealspeech.com/reference/stream

The Unreal Speech API converts text to natural-sounding speech, for example to voice articles, e-learning lessons or app notifications. A POST request with a small JSON body (text, voice and bitrate) to the /stream endpoint returns MP3 audio within a fraction of a second; /speech returns an MP3 file with word timestamps and /synthesisTasks handles long texts. The key goes in an Authorization: Bearer header. Free with a free API key, up to 250,000 characters per month.

- API key: Needed, free
- Pricing: Free with a free API key, up to 250,000 characters per month.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST
- Provider: docs.unrealspeech.com

Example request:

```sh
curl -X POST 'https://api.v7.unrealspeech.com/stream' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"Text":"Hello, world!","VoiceId":"Scarlett","Bitrate":"192k"}'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

