STT
Batch Speech-to-Text
Transcribes an audio file of any length
POST
Batch Speech-to-Text
Authorizations
Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.
Headers
Query Parameters
Required when you upload raw PCM data without a container header. If you leave it out, the server decodes the audio automatically from its container, such as WAV, MP3, or FLAC. Must match the actual encoding of your audio. For detailed guidance on each format, see Audio Input.
Available options:
pcm_s16le, pcm_s32le, pcm_f16le, pcm_f32le, pcm_mulaw, pcm_alaw Body
multipart/form-data
The language code of the input audio. If you leave it out, it defaults to en, and speech in other languages can come back translated into English.
Available options:
en, zh, de, es, ru, ko, fr, ja, pt, tr, pl, ca, nl, ar, sv, it, id, hi, fi, vi, he, uk, el, ms, cs, ro, da, hu, ta, no, th, ur, hr, bg, lt, la, mi, ml, cy, sk, te, fa, lv, bn, sr, az, sl, kn, et, mk, br, eu, is, hy, ne, mn, bs, kk, sq, sw, gl, mr, pa, si, km, sn, yo, so, af, oc, ka, be, tg, sd, gu, am, yi, lo, uz, fo, ht, ps, tk, nn, mt, sa, lb, my, bo, tl, mg, as, tt, haw, ln, ha, ba, jw, su, yue Response
200 - application/json