---
title: "Create TTS (Deprecated)"
method: POST
path: "/tts"
tags: ["APIs", "Text-to-Speech"]
deprecated: true
---

# Create TTS (Deprecated)

`POST /tts`

> **Deprecated.**

Deprecated. For new integrations, use `POST /tts-stream` for streaming text-to-speech.

## Request body

- CreateTTSRequestPayload
  - `project_name` string, nullable — Enter a distinctive name for your project that reflects its purpose or content. This name will be displayed in your CAMB.AI workspace dashboard and used to organize related assets, transcriptions, etc.. . Choose something memorable that helps you quickly identify this specific project among your other voice, audio and localization tasks.
  - `project_description` string, nullable — Provide details about your project's goals and specifications. Include information such as the target languages for translation or dubbing, desired voice characteristics, emotional tones to capture, or specific audio processing requirements, outlining the workflow here can serve as valuable documentation for organizational purposes.
  - `text` string, required — The text to be converted to speech
  - `voice_id` integer, required — The voice ID to be used to generate speech.
  - `language` string, required
  - `gender` 0 | 1 | 2 | 9 — The gender of the speaker.
  - `age` unknown

## Response `200`

Successful Response

- TaskID
  - `task_id` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/camb/apis/fastapi.md) · [All operations](https://skmtc.net/camb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/camb/fastapi/versions/40ebeee64850/schema)
