Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
"server/services/tts/rime",
"server/services/tts/sarvam",
"server/services/tts/speechmatics",
"server/services/tts/typecast",
"server/services/tts/xtts"
]
},
Expand Down
1 change: 1 addition & 0 deletions server/services/supported-services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Text-to-Speech services receive text input and output audio streams or chunks.
| [Rime](/server/services/tts/rime) | `pip install "pipecat-ai[rime]"` |
| [Sarvam](/server/services/tts/sarvam) | No dependencies required |
| [Speechmatics](/server/services/tts/speechmatics) | `pip install "pipecat-ai[speechmatics]"` |
| [Typecast](/server/services/tts/typecast) | `pip install "pipecat-ai[typecast]"` |
| [XTTS](/server/services/tts/xtts) | `pip install "pipecat-ai[xtts]"` |

## Speech-to-Speech
Expand Down
54 changes: 54 additions & 0 deletions server/services/tts/typecast.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: "Typecast"
description: "Text-to-speech service using the Typecast's TTS API"
---

## Overview

The Typecast TTS API provides high-quality and natural text-to-speech with emotions.

<CardGroup cols={3}>
<Card
title="API Reference"
icon="code"
href="https://reference-server.pipecat.ai/en/latest/api/pipecat.services.typecast.tts.html"
>
Pipecat's API methods for Typecast TTS integration
</Card>
<Card
title="Typecast Documentation"
icon="book"
href="https://typecast.ai/docs"
>
Official Typecast API documentation
</Card>
<Card
title="Example Implementation"
icon="play"
href="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/07z-interruptible-typecast-http.py"
>
Complete example with Typecast TTS
</Card>
</CardGroup>

## Installation

To use Typecast services, install the required dependencies:

```bash
pip install "pipecat-ai[typecast]"
```

## Prerequisites

### Typecast Account Setup

Before using Typecast TTS services, you need:

1. **Typecast Account**: Sign up at [Typecast](https://typecast.ai)
2. **API Key**: Generate an API key from your account dashboard
3. **Voice Selection**: Choose voice IDs from the [voice library](https://typecast.ai/developers)

### Required Environment Variables

- `TYPECAST_API_KEY`: Your ElevenLabs API key for authentication