> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bakbak.si/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bakbak.si/_mcp/server.

# Introduction

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

#### [Text to Speech quickstart](/get-started/tts-quickstart)

Quick start guide for Bakbak TTS API

#### [Speech to Text quickstart](/get-started/stt-quickstart)

Quick start guide for Bakbak Speech-to-Text (STT) API

#### [API reference](/api-reference/introduction)

Every endpoint, with request and response schemas

#### [Python SDK](/sdks/python)

Whole files, streaming, and a WebSocket built for voice agents

#### [JavaScript SDK](/sdks/javascript)

For Node, Bun, Deno, Workers and browsers

#### [LiveKit and MCP](/integrations/livekit)

The LiveKit Agents plugin and the Bakbak MCP server

> **Note**
>
> 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

```bash
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](mailto:support@litwizlabs.ai) or visit our [Dashboard](https://bakbak.getraya.app).