---
title: "Generate Tts Audio"
method: POST
path: "/v1/tts/generate"
tags: ["TTS"]
---

# Generate Tts Audio

`POST /v1/tts/generate`

Generate an audio message from text using the configured TTS provider.

If voice_id is provided, uses the org's cloned voice.
Returns a presigned S3 URL for immediate playback and the S3 key.

## Request body

- TTSGenerateRequest
  - `text` string, required
  - `tone` 'professional' | 'friendly' | 'enthusiastic'
  - `voice_id` string, nullable
  - `optimize_text` boolean
  - `background_noise` string, nullable
  - `language_code` string, nullable

## Response `200`

Successful Response

- TTSGenerateResponse
  - `audio_url` string, required
  - `s3_key` string, required
  - `spoken_text` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/orsay/apis/fastapi.md) · [All operations](https://skmtc.net/orsay/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orsay/fastapi/revisions/23d1ff06d0d0/schema)
