Hecho para agentes de voz que no pueden esperar 600ms

xAI: Grok Speech to Text

xai/grok-stt
activo stt 1 proveedor
Playground

xAI's Grok speech-to-text: transcribes audio files in a single call or streams audio in real time over WebSocket with word-level timestamps, selected by endpoint (/v1/stt) rather than by a model parameter.

AutorxAI
Idiomasmultilingual
Estadoactivo

Proveedores

Distintos proveedores pueden alojar el mismo modelo. Elige un proveedor cuando necesites un backend fijo, o deja que el enrutamiento elija entre ellos.

ProveedorSlugPor horaLatenciaiEn TTS, la latencia se mide como el tiempo hasta el primer byte de audio. En STT, se mide como el tiempo hasta el primer token.ModosDisponibilidad
xAI 11 parámetros
grok
Desde $0,1
—
Síncrono · Streaming

Idiomas admitidos

Todavía no hay una lista de idiomas revisada para este modelo.

Funciones

Speech to text

Transcribes spoken audio to text.

speech_to_text
Streaming

Real-time streaming transcription over WebSocket (wss://api.x.ai/v1/stt).

streaming
Synchronous

Transcribes a fully-submitted audio file in a single synchronous request.

synchronous
Multilingual transcription

Supports 25 languages.

multilingual_transcription
Word-level timestamps

Returns a words array with text, start, and end.

word_timestamps

Código

Cliente
Modo
Lenguaje

STT en streaming con el ElevenLabs SDK

Transmite audio del micrófono o de un archivo a través de la ruta de AllModels compatible con ElevenLabs.

import { ElevenLabsClient } from "elevenlabs";

const client = new ElevenLabsClient({
  apiKey: process.env.ALLMODELS_API_KEY,
  baseUrl: "https://api.allmodels.io/el"
});

const connection = await client.speechToText.realtime.connect({
  modelId: "xai/grok-stt",
  languageCode: "en"
}, {
  queryParams: {
    provider: {
      "only": [
        "grok"
      ]
    }
  }
});

// Send audio frames to connection, then handle transcript events.