Skip to navigation

Bakbak Speech-to-Text (STT) API

Introduction to Bakbak Speech-to-Text (STT) API

View as Markdown

Bakbak STT transcribes speech audio into text. You can use it over:

  • HTTPS (POST https://hub.getraya.app/transcribe) for multipart/form-data
  • WebSocket (wss://hub.getraya.app/transcribe) for low-latency transcription

Base URL

HTTPS base URL:

https://hub.getraya.app

WebSocket endpoint:

wss://hub.getraya.app/transcribe

Interactive API Reference

  • HTTPS POST /transcribe: available in the STT OpenAPI reference.
  • WSS wss://hub.getraya.app/transcribe: available in the STT AsyncAPI reference with an interactive WebSocket playground.

Authentication

Include your API key in the X-API-Key header:

-H "X-API-Key: <YOUR_API_KEY>"

Language Codes

Use one of the following language codes in the language field (HTTP) or language field (WebSocket):

as, bn, brx, doi, en, gu, hi, kn, kok, ks, mai, ml, mni, mr, ne, or, pa, sa, sat, sd, ta, te, ur

Response Format

Both HTTP and WebSocket successful responses return:

{
"transcript": "....",
"status": "success"
}

Next Steps