Skip to navigation

Introduction

Welcome to Bakbak - Comprehensive documentation for the Bakbak TTS and STT APIs

View as Markdown

Welcome to Bakbak! This documentation covers the Bakbak Text-to-Speech and Speech-to-Text APIs.

Our Products

Bakbak - Text-to-Speech API

Bakbak is a high-quality text-to-speech API that converts text into natural-sounding speech. It supports multiple Indian languages including Hindi, Marathi, Telugu, Kannada, Bengali, Tamil, and more, with additional languages coming soon.

Key Features:

  • Multiple voice options with language support
  • Various audio formats (WAV, PCM, MP3, μ-law, A-law)
  • Streaming and non-streaming endpoints
  • High-quality neural voice synthesis

Bakbak - Speech-to-Text API

Bakbak STT transcribes speech audio into text. You can use it over:

  • HTTPS (POST https://hub.getraya.app/transcribe) for multipart/form-data
  • WebSocket (wss://hub.getraya.app/transcribe) for low-latency transcription

All endpoints use HTTPS. HTTP is not supported. API keys that call the API over HTTP may be subject to automatic rotation.

Base URLs

Bakbak TTS API

All TTS API requests use the following base URL: https://hub.getraya.app/v1

Bakbak STT API

HTTPS base URL: https://hub.getraya.app

WebSocket endpoint: wss://hub.getraya.app/transcribe

Obtaining Your API Key

To access our APIs, you need an API key. To obtain your API key, please contact your administrator.

Authentication

Bakbak TTS and STT use API key authentication via the X-API-Key header.

Bakbak TTS Example

curl -X POST https://hub.getraya.app/v1/text-to-speech \
-H "X-API-Key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"text": "नमस्ते! मैं आपकी कैसे मदद कर सकता हूँ?",
"voice_id": "d6a002d0-230c-49b1-a137-b8a7d564b1ae",
"model": "standard",
"language": "hi"
}'

Getting Started

  1. Get your API key by contacting your administrator
  2. Explore the API documentation in the sidebar
  3. Try the examples provided in each endpoint
  4. Check the response formats to understand the data structures

Rate Limits

  • Bakbak TTS: Check individual endpoint documentation for rate limits

Support

Need help? Contact us at support@litwizlabs.ai or visit our Dashboard.