---
title: "Text To Speech"
method: POST
path: "/11labs/v1/text-to-speech/{voice_id}"
---

# Text To Speech

`POST /11labs/v1/text-to-speech/{voice_id}`

## Request

- Base URL: `https://api.kugelaudio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kugelaudio.com/11labs/v1/text-to-speech/{voice_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/docs/11labs/v1/text-to-speech/:voice_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate speech from text (ElevenLabs compatible).

## Path parameters

- `voice_id` string, required

## Query parameters

- `output_format` string, nullable

## Request body

- ElevenLabsTTSRequest: ElevenLabs-compatible TTS request body.
  - `text` string, required
  - `model_id` string, nullable
  - `voice_settings` ElevenLabsVoiceSettings: ElevenLabs voice settings (mapped onto KugelAudio params).
    - `stability` number
    - `similarity_boost` number
    - `style` number
    - `use_speaker_boost` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api.md) - [All operations](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kugelaudio/apis/kugelaudio-tts-api/revisions/711945519e5c?raw)
