Skip to main content

Maximum
xai/grok-stt/speech-to-text

Grok STT is xAI's speech-to-text: send an audio URL and get back the transcript as text plus word-level timings and the detected language. It covers 25 languages, with per-channel transcripts and key-term hints.

From $0.00003/s

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Model reply

    So I was thinking, like, maybe you could, you know, stay the night? I really want you in my bed. Only if you promise to keep your hands off me. Just kidding. Come here and take that dress off.

    split-channel-call

    A 12-second stereo recording with a woman on the left channel and a man on the right, transcribed with multichannel on. Each side comes back on its own line; with multichannel off, the same file came back with only the woman's words.

    • multichannel
    Use this example
  • Model reply

    Tonight at the Velvet Xandrelle Lounge, ask for Madame Qorvessa in her private room with the silk ropes.

    names-with-keyterms

    A lounge announcement with two invented names, sent with both names as key terms. Without them the same audio came back as "Xandrel" and "Corvessa".

    Use this example
  • Model reply

    Your room is booked. Two nights at $1,250 on March 14. Check-in 1030 PM, suite 4B. Dr. Kim will call at 5550199.

    booking-numbers

    A spoken booking confirmation with language set to en and text_normalization on: the price and date come back as "$1,250" and "March 14" instead of words.

    • en
    • normalization
    Use this example

This example starts at $0.00003 per second of input audio. The Playground updates the estimate when you change the settings.