---
title: "Text to speech, paid per call via x402"
method: POST
path: "/v1/audio/speech"
---

# Text to speech, paid per call via x402

`POST /v1/audio/speech`

## Request

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

Returns a WAV (24 kHz mono). The quote is a ceiling because audio token count cannot be known in advance; pay with the upto scheme and settlement drops to real usage.

## Request body

- object
  - `input` string, required
  - `voice` 'Kore' | 'Puck' | 'Charon' | 'Fenrir' | 'Aoede' | 'Leda' | 'Orus' | 'Zephyr'

## Response `200`

audio/wav

## Other responses

- `402`: Payment required; the price is in the PAYMENT-REQUIRED header

---

[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)
