Skip to main content
POST

Authorizations

Authorization
string
header
required

Your secret key: Authorization: Bearer namu_sk_.... Create one at https://www.namuai-lab.com/account/keys.

Body

application/json
text
string
required

What to say. Up to 2,000 characters.

Maximum string length: 2000
voice
enum<string>
default:nadia

Who says it. See GET /v1/voices.

Available options:
nadia,
warm,
mouhamad,
fr
language
enum<string>

The language of the text. Defaults to the voice's first language, and must be one it speaks.

Available options:
ha,
dje,
fr
format
enum<string>
default:wav

opus is the smallest file, for phones and weak connections. json returns base64 WAV.

Available options:
wav,
mp3,
opus,
json

Response

The audio, or JSON when format is json. Binary responses carry X-Audio-Seconds.

24 kHz, 16-bit PCM, mono.