---
title: "Create speech (text-to-speech)"
method: POST
path: "/v1/audio/speech"
tags: ["audio"]
---

# Create speech (text-to-speech)

`POST /v1/audio/speech`

## Request body

- CoreAudioSpeechRequest
  - `input` string, required
  - `instructions` string
  - `model` string, required
  - `provider` string — Provider is gateway routing metadata, stripped before dispatching upstream.
  - `response_format` string
  - `speed` number
  - `voice` string, required

## Response `200`

Binary audio in the requested response_format

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `502` — Bad Gateway

---

[API](https://skmtc.net/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.net/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/a9c84e4d4f3d/schema)
