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

# Create Audio Speech

`POST /api/v1/audio/speech`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`

Generate audio speech from text.

This endpoint converts text to speech using the Morpheus Network providers.
It automatically manages sessions and routes requests to the appropriate TTS model.

Returns binary audio data in the specified format.

**Note:** Swagger UI may not be able to play the audio directly. 
To test, click "Download" and play the file in your media player, 
or use curl to save the audio file.

## Request body

- AudioSpeechRequest: Request model for audio speech endpoint
  - `input` string, required: Text to convert to speech
  - `voice` string: Voice to use for speech generation
  - `response_format` string: Audio format: mp3, opus, aac, flac, wav, pcm
  - `speed` number: Speech speed
  - `session_id` string: Session ID (auto-created if not provided)
  - `model` string: Model name

## Response `200`

Binary audio file

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2025-12-03** `7c3de001955f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway/changes/api/v1/audio/speech/post.md)

---

[API](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway.md) - [All operations](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway/revisions/6059f99c1875?raw)
