---
title: AI Audio & Speech API | RunAPI
description: Text to speech, voice cloning, transcription, and sound effects through one public audio API.
url: https://runapi.ai/audio.md
canonical: https://runapi.ai/audio
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-f702f2b1.png
alternates:
  en: https://runapi.ai/audio
  zh-CN: https://runapi.ai/zh-CN/audio
  es: https://runapi.ai/es/audio
  ja: https://runapi.ai/ja/audio
  de: https://runapi.ai/de/audio
  fr: https://runapi.ai/fr/audio
  pt-BR: https://runapi.ai/pt-BR/audio
  ko: https://runapi.ai/ko/audio
  it: https://runapi.ai/it/audio
  nl: https://runapi.ai/nl/audio
  pl: https://runapi.ai/pl/audio
  tr: https://runapi.ai/tr/audio
  zh-TW: https://runapi.ai/zh-TW/audio
  zh-HK: https://runapi.ai/zh-HK/audio
  ar: https://runapi.ai/ar/audio
  x-default: https://runapi.ai/audio
---

> HTML version: https://runapi.ai/audio
> Site index for agents: https://runapi.ai/llms.txt


# AI Audio & Speech API

Text to speech, voice cloning, transcription, and sound effects through one public audio API.

- [Get API Key](https://runapi.ai/login)
- [Browse Models](https://runapi.ai/models.md)

32 audio models · 6 Providers · 89 Public endpoints

## Playground

Your next audio render starts here. Choose a public model to inspect its current price and endpoint details.

| Model | Provider | Modality | Price |
| --- | --- | --- | --- |
| [ElevenLabs/audio-isolation](https://runapi.ai/models/elevenlabs/audio-isolation.md) | ElevenLabs | Audio & Music | $0.12 / minute |
| [Fish Audio](https://runapi.ai/models/fish-audio.md) | Fish Audio | Audio & Music | Free / track |
| [Gemini Omni/gemini-omni-audio](https://runapi.ai/models/gemini-omni/audio.md) | Google | Audio & Music | Free / track |

Mode: `text_to_speech`

## Quickstart

### Synthesize speech

#### curl

```bash
curl https://runapi.ai/api/v1/elevenlabs/text_to_speech \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"text-to-speech-multilingual-v2","text":"Welcome to RunAPI.","voice":"Adam","language_code":"en"}'
```

#### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/elevenlabs/text_to_speech",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\"model\":\"text-to-speech-multilingual-v2\",\"text\":\"Welcome to RunAPI.\",\"voice\":\"Adam\",\"language_code\":\"en\"}")
)
response.raise_for_status()
print(response.json())
```

#### Node.js

```javascript
const response = await fetch("https://runapi.ai/api/v1/elevenlabs/text_to_speech", {
  method: "POST",
  headers: {
    "Authorization": "Bearer " + process.env.RUNAPI_API_KEY,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({"model":"text-to-speech-multilingual-v2","text":"Welcome to RunAPI.","voice":"Adam","language_code":"en"})
});
console.log(await response.json());
```

#### Go

```go
package main

import (
    "io"
    "net/http"
    "os"
    "strings"
)

func main() {
    payload := strings.NewReader("{\"model\":\"text-to-speech-multilingual-v2\",\"text\":\"Welcome to RunAPI.\",\"voice\":\"Adam\",\"language_code\":\"en\"}")
    request, err := http.NewRequest("POST", "https://runapi.ai/api/v1/elevenlabs/text_to_speech", payload)
    if err != nil { panic(err) }
    request.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
    request.Header.Set("Content-Type", "application/json")
    response, err := http.DefaultClient.Do(request)
    if err != nil { panic(err) }
    defer response.Body.Close()
    io.Copy(os.Stdout, response.Body)
}
```

#### Response

```json
{
  "id": "tsk_example",
  "status": "processing"
}
```


## Four Steps to Your First Generation

**How it works**

1. **Get Your API Key** - One key for all TTS and voice models.
2. **Pick a Voice** - Browse available voices across supported audio models.
3. **Send Text** - POST your text and voice selection to /api/v1/elevenlabs/text_to_speech.
4. **Get Audio** - Receive the generated audio from the task result.



### Explore

## More AI APIs

- [Video API](https://runapi.ai/models?modality=video) - Generate, edit, and upscale video with 80 models [Learn more](https://runapi.ai/models?modality=video)
- [Image API](https://runapi.ai/models?modality=image) - Create and transform images with 49 models [Learn more](https://runapi.ai/models?modality=image)
- [Music API](https://runapi.ai/music) - Compose original tracks with AI [Learn more](https://runapi.ai/music)
- [LLM API](https://runapi.ai/models?modality=text) - Chat completions with 66 language models [Learn more](https://runapi.ai/models?modality=text)


## What teams build with it

- **Voice Agents**: Pair streaming TTS with an LLM and transcription for a full duplex voice loop on one key.
- **Localization**: Dub existing video into new languages with a cloned voice that stays recognisable.
- **Meeting Notes**: Transcribe with speaker labels, then summarise through the LLM endpoint in the same pipeline.
- **Accessibility**: Add narration to articles, docs, and in-app content without a recording session.


## RunAPI vs alternatives

| Feature | RunAPI | ElevenLabs Direct | OpenAI TTS |
| --- | --- | --- | --- |
| Voice models | 32 audio models | 1 provider | 6 voices |
| Pricing | From $0.12 / minute | Official rate | Official rate |
| Real-time streaming | Yes | Yes | No |
| Unified billing | Yes | No | No |
| MCP server | Yes | No | No |
| Provider failover | Yes | No | No |



## Everything the audio endpoint can do

- **Text to Speech** - Stream natural speech from text with per-request voice and speed control.
- **Voice Cloning** - Build a reusable voice from a short reference sample, then call it by id like any other voice.
- **Speech to Text** - Transcribe long-form audio with timestamps, speaker labels, and word-level confidence.
- **Text to Sound** - Generate foley and sound effects from a description — impacts, ambience, UI cues.
- **Text to Dialogue** - Render multi-speaker conversations with distinct voices and natural turn timing in one call.

## Audio models on one key

| Model | Provider | Price |
| --- | --- | --- |
| ElevenLabs/audio-isolation | ElevenLabs | $0.12 / minute |
| ElevenLabs/sound-effect-v2 | ElevenLabs | $0.15 / minute |
| ElevenLabs/speech-to-text | ElevenLabs | $0.04 / minute |
| ElevenLabs/text-to-dialogue-v3 | ElevenLabs | $0.14 / 1K chars |
| ElevenLabs/text-to-speech-multilingual-v2 | ElevenLabs | $0.12 / 1K chars |
| ElevenLabs/text-to-speech-turbo-v2.5 | ElevenLabs | $0.06 / 1K chars |

[View all 32 audio models](https://runapi.ai/models?modality=audio_music.md)

## Why Developers Choose RunAPI

- **One Key, All Models** - Stop juggling API keys. One integration gives you access to 230+ models across all providers.
- **15-25% Cost Savings** - Our volume agreements with providers mean lower prices than going direct. No markup on top.
- **Automatic Failover** - If a provider goes down, we route to the next best option. Your app stays up.
- **OpenAI-Compatible** - Drop-in replacement for OpenAI SDK. Change one line of code to access any model.
- **Real-Time Billing** - Pay only for what you use. Per-request pricing with no minimums. Track costs per model, per project.
- **API Key Authentication** - Authenticate audio API requests with your RunAPI API key.

## Audio API questions

### How is TTS billed?

Per 1,000 characters of input text at the model's rate. Transcription is billed per minute of audio.
### Can I clone a voice?

Yes. Upload a reference sample to create a voice id, then pass that id on any later request.
### Is streaming supported?

Streaming support depends on the selected endpoint. Check its documented response format before integrating playback.
### Which languages are covered?

Language support varies by model. Check the selected model's documentation for supported languages.
### Do you keep audio or voice samples?

Request and response content may be retained. See the Privacy Policy for data handling details.
### Can I get word-level timestamps?

Timestamp support and granularity depend on the selected transcription endpoint. Check its documented response fields; speaker labels are a separate capability.

## Give your product a voice

Speech, cloning, and transcription behind one key. Start free, no credit card required.

- [Get API Key](https://runapi.ai/login)
- [Read the Docs](https://runapi.ai/docs/guides)


---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "CollectionPage",
    "name": "AI Audio & Speech API",
    "description": "Text to speech, voice cloning, transcription, and sound effects through one public audio API.",
    "url": "https://runapi.ai/audio"
  }
]
```
