---
title: "Speech to text, paid per call via x402"
method: POST
path: "/v1/audio/transcriptions"
---

# Speech to text, paid per call via x402

`POST /v1/audio/transcriptions`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/audio/transcriptions`
- Auth: API key in header `X-Payment`

## Request body

- object
  - `audio` string, required: Base64 audio, under about 8 MB.
  - `mime_type` string
  - `prompt` string

## Response `200`

The transcript

## Other responses

- `402`: Payment required
- `413`: Audio too large; split it

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
