ApiX Docs
Docs / Speech to text
·View as Markdown

Speech to text

POST /v1/audio/transcriptions with multipart/form-data:

bash
curl "$APIX_BASE/v1/audio/transcriptions" \
  -H "Authorization: Bearer $APIX_KEY" \
  -F "file=@meeting.mp3" \
  -F "model=<transcription model>" \
  -F "language=es" \
  -F "response_format=json"

response_format is forwarded to the provider; it usually accepts json, text, srt or verbose_json. An optional prompt biases vocabulary (names, jargon). The model must declare operations.transcriptions.enabled; otherwise you get 400 UNSUPPORTED_OPERATION.