---
title: "Audio To Text"
method: POST
path: "/api/generate/audio-to-text"
tags: ["generate"]
---

# Audio To Text

`POST /api/generate/audio-to-text`

Transcribe audio files to text.

## Response `200`

Successful Response

- TextResponse — Response model for text generation.
  - `text` string, required — The generated text.
  - `chunks` Chunk[], required — The generated text chunks.
    - `timestamp` unknown[], required — The timestamp of the chunk.
      - unknown
    - `text` string, required — The text of the chunk.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `413` — Request Entity Too Large
- `415` — Unsupported Media Type
- `422` — Validation Error
- `500` — Internal Server Error
- `default` — Error

---

[API](https://skmtc.net/livepeer/apis/untitled-api.md) · [All operations](https://skmtc.net/livepeer/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livepeer/untitled-api/versions/dfc937fc0d2c/schema)
