Point an OpenAI SDK at https://api.paxalabs.com/v1 and call audio.transcriptions.create. Pricing, ceilings, and refunds match POST /v1/stt, which is also where the transcript conventions, speaker turns, word timing, and the vocabulary live: this alias reads none of them. The OpenAI compatibility guide covers the field mapping.
Headers#
authorizationBearer pxa_...RequiredAuthorization: Bearer pxa_... (recommended).
x-api-keypxa_...Alternative to the Authorization header. Ignored when Authorization is present.
idempotency-keystringMakes a retry safe. Two requests carrying the same key charge once and synthesize the same content. One request per key runs at a time. A concurrent duplicate answers 409 idempotency_in_flight. Reuse a key only to retry an identical request. A changed payload is rejected with 422. Accepts up to 200 printable ASCII characters.
Body#
filefileRequiredThe recording, as a file part. MP3, WAV (PCM), FLAC, Ogg (Opus or Vorbis), M4A, AAC (ADTS), or WebM; the format and the length are read from the bytes. The part's filename and content type are ignored. Same ceilings, pricing, and refusals as the audio field on POST /v1/stt: up to 60 minutes and 26,214,400 bytes.
modelstringRequiredTranscription model id, for example paxa-stt-lite-v1-preview. OpenAI's own model names are not served and answer 400.
languagestringThe same field OpenAI defines. A BCP 47 tag the recording is expected to be in, such as "th". A hint that filters nothing. Omitted, the model detects the language itself.
response_format"json" or "text" or "srt" or "vtt"What the response body carries. "json" (the default) answers application/json with the transcript in a text field. "text" answers text/plain with the transcript alone. "srt" and "vtt" answer the subtitle file, cut the same way POST /v1/stt cuts it, at 60 characters a line. OpenAI's verbose_json is not served and answers 400. Every format is billed the same, by the recording's length.
Response#
The transcribed recording, in OpenAI's shape. Returned when response_format is "json" or absent.
textstringRequiredThe transcript, verbatim in the language spoken. Empty when the recording carried no speech.