---
title: "Text to Speech"
method: POST
path: "/languagelabs/tts"
tags: ["Text-to-Speech"]
---

# Text to Speech

`POST /languagelabs/tts`

Convert input text to an audio file in the specified language and speaker voice.

## Request body

- TTSRequest
  - `input_text` string, required — Input text to synthesize.
  - `input_language` 'eng' | 'guj' | 'ben' | 'hin' | 'kan' | 'mal' | 'mar' | 'tam' | 'tel', required — Language code
  - `input_speaker` 'female' | 'male', required

## Response `200`

Audio file link

- TTSResponse
  - `status` string
  - `data` object
    - `audio_file` string — Download URL for the generated audio file.

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/olakrutrim/apis/object-storage-bucket-api.md) · [All operations](https://skmtc.net/olakrutrim/apis/object-storage-bucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/olakrutrim/object-storage-bucket-api/revisions/01a982e59414/schema)
