Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs text to speech

Ishaan Jaff5c3a1484c31c
diff --git a/docs/my-website/docs/text_to_speech.md b/docs/my-website/docs/text_to_speech.md
index 5e5f8b99063..2001adab17f 100644
--- a/docs/my-website/docs/text_to_speech.md
+++ b/docs/my-website/docs/text_to_speech.md
@@ -1,6 +1,7 @@
# Text to Speech
-## Quick Start
+## **LiteLLM Python SDK Usage**
+### Quick Start
```python
from pathlib import Path
@@ -18,7 +19,7 @@ response = speech(
response.stream_to_file(speech_file_path)
```
-## Async Usage
+### Async Usage
```python
from litellm import aspeech
@@ -47,7 +48,7 @@ async def test_async_speech():
asyncio.run(test_async_speech())
```
-## Proxy Usage
+## **LiteLLM Proxy Usage**
LiteLLM provides an openai-compatible `/audio/speech` endpoint for Text-to-speech calls.