> 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.

# Bakbak TTS use cases

Bakbak TTS can be integrated into various applications and workflows. Here are some common use cases:

## Voice Assistants & Chatbots

Create intelligent voice assistants that can speak in multiple Indian languages. Perfect for:

* Customer service bots
* Virtual assistants
* Interactive help systems
* Multilingual support

**Example:** A customer service chatbot that responds in Hindi, Marathi, or Telugu based on user preference.

## Accessibility Applications

Make your applications more accessible for visually impaired users:

* Screen readers with natural voices
* Educational content narration
* Navigation assistance
* Content consumption tools

**Example:** An e-learning platform that reads course content aloud in the user's preferred language.

## Content Creation & Media Production

Generate audio content at scale:

* Podcast narration
* Video voiceovers
* Audio book production
* Social media content

**Example:** A content creator generating voiceovers for YouTube videos in multiple languages.

## Interactive Voice Response (IVR) Systems

Build IVR systems with natural-sounding voices:

* Call center automation
* Phone menu systems
* Automated announcements
* Customer notifications

**Example:** A banking IVR system that provides account information in regional languages.

## Educational Applications

Enhance learning experiences with text-to-speech:

* Language learning apps
* Reading assistance
* Study materials narration
* Exam preparation tools

**Example:** A language learning app that pronounces words and phrases correctly.

## Multilingual Applications

Support multiple languages in a single application:

* E-commerce platforms
* News applications
* Government services
* Healthcare applications

**Example:** A government service portal that provides information in all major Indian languages.

## Real-Time Communication

Enable real-time voice communication:

* Live translation services
* Real-time announcements
* Emergency alerts
* Public address systems

**Example:** A public transportation app that announces stops in real-time.

## Integration Examples

### Python

```python
import requests

response = requests.post(
    'https://hub.getraya.app/v1/text-to-speech',
    headers={'X-API-Key': 'your-api-key'},
    json={
        'text': 'Hello, world!',
        'voice_id': 'voice_001',
        'language': 'hi',
        'output_format': {'container': 'wav', 'encoding': 'pcm_s16le'}
    }
)

with open('output.wav', 'wb') as f:
    f.write(response.content)
```

### JavaScript

```javascript
fetch('https://hub.getraya.app/v1/text-to-speech', {
  method: 'POST',
  headers: {
    'X-API-Key': 'your-api-key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    text: 'Hello, world!',
    voice_id: 'voice_001',
    language: 'hi',
    output_format: { container: 'wav', encoding: 'pcm_s16le' }
  })
})
.then(response => response.blob())
.then(blob => {
  const url = URL.createObjectURL(blob);
  const audio = new Audio(url);
  audio.play();
});
```