---
title: "Create Speech"
method: POST
path: "/v1/audio/speech"
tags: ["audio"]
---

# Create Speech

`POST /v1/audio/speech`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/v1/audio/speech`
- Auth: HTTP bearer

Generate speech from text using Kokoro TTS.

OpenAI-compatible endpoint for text-to-speech.
Returns audio file in the requested format.

## Request body

- SpeechRequest: Request for text-to-speech synthesis.
  - `model` string: TTS model to use
  - `input` string, required: Text to synthesize
  - `voice` string: Voice preset
  - `speed` number: Speech speed
  - `response_format` string: Audio format: wav, mp3

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
