⚙️ OyuAI Developer API ← Home

Mongolian AI models over simple HTTP/WebSocket. Authenticate with an API key (ask an admin to issue one).

Authentication

Pass your key as a Bearer token: Authorization: Bearer oyu_xxx

🎙️ Speech-to-Text (real-time, WebSocket)

const ws = new WebSocket("wss://llm.oyupulse.ai/stt/ws?model=v2");
ws.binaryType = "arraybuffer";
ws.onmessage = e => console.log(JSON.parse(e.data).committed);  // committed transcript
// send 16 kHz mono Int16 PCM frames; send "END" to finish

models: v2 (TsuurAI v2.1, best) · big (v1.0) · whisper

🌐 Translation (MN ⇄ EN)

curl -s https://llm.oyupulse.ai/api/translate \
  -H "content-type: application/json" \
  -d '{"text":"Сайн байна уу"}'
# -> {"translation":"Hello"}

🔤 Embeddings (multilingual, bge-m3, 1024-dim)

curl -s https://llm.oyupulse.ai/v1/embeddings \
  -H "Authorization: Bearer oyu_xxx" -H "content-type: application/json" \
  -d '{"model":"bge-m3","input":"Монгол текст"}'

🔊 TTS

Coming soon.