---
title: "Text To Speech"
method: POST
path: "/api/knowledge/tts"
---

# Text To Speech

`POST /api/knowledge/tts`

Convert an AI response to speech via ElevenLabs. Available to admins and workers.

## Request body

- TTSRequest
  - `text` string, required
  - `language` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/nexa/apis/farm-intel-api.md) · [All operations](https://skmtc.dev/nexa/apis/farm-intel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexa/farm-intel-api/revisions/b1933769082d/schema)
