Logo
PlaygroundContact us
    • Quickstart
    • Limits
  • TTS
    • POSTBytes
    • STREAMSSE
    • WSSWebSocket
    • WebSockets Guide
    • Sampling Params Guide
  • Voices
    • GETList
  • SDKs
    • Python
    • TypeScript
PlaygroundContact us
TTS

Bytes

POST
https://api.respeecher.com/v1/public/tts/en-rt/tts/bytes
POST
/v1/public/tts/en-rt/tts/bytes
1curl -X POST https://api.respeecher.com/v1/public/tts/en-rt/tts/bytes \
2 -H "X-API-Key: <ApiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "transcript": "Hello, World!",
6 "voice": {
7 "id": "samantha"
8 }
9}'
Try it

The easiest way to generate text-to-speech audio. Not suitable for latency-sensitive applications.

Headers

X-API-KeystringRequired

Request

This endpoint expects an object.
transcriptstringRequired
Text for narration.
voiceobjectRequired
Voice for narration.
output_formatobjectOptional
Audio format specification.

Response

WAV file (16-bit LE PCM).
Was this page helpful?
Previous

SSE

Next
Built with

WAV file (16-bit LE PCM).