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

# Create Speech

`POST /v1/audio/speech`

OpenAI-compatible audio speech (TTS) endpoint.

Authentication modes:
- Master key + user field: Use specified user (must exist)
- API key + user field: Use specified user (must exist)
- API key without user field: Use virtual user created with API key

## Request body

- AudioSpeechRequest — OpenAI-compatible audio speech (TTS) request.
  - `input` string, required
  - `instructions` string, nullable
  - `model` string, required
  - `response_format` string, nullable
  - `speed` number, nullable
  - `user` string, nullable
  - `voice` string, required

## Response `200`

Audio bytes in the requested format

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-17** `0f43605bdc13` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/audio/speech/post.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc.dev/mozilla-ai/apis/otari/revisions/bb754bbf3e78?raw)
