Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Building with LLMs

Voice and speech AI

Transcribing audio, generating speech and building voice agents with consent.

Intermediate
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

Overview

Speech work splits into three jobs. Speech-to-text turns recordings into transcripts, often with timestamps and speaker labels; Whisper and its faster local ports made this cheap enough to run on a laptop. Text-to-speech turns text into natural voices. Realtime voice agents combine both with a model in a loop, or use a speech-to-speech model directly, and have to answer within a few hundred milliseconds to feel like conversation.

The practical skills are choosing between local and hosted models, measuring word error rate on your own audio, handling accents, noise and crosstalk, and keeping latency low end to end. Voice also raises consent questions: tell people when they are recorded or talking to a machine, and do not clone a voice without permission.

What you will practise

  • Transcribe a recording locally with Whisper or a faster port and check the error rate
  • Add timestamps and speaker labels and turn a transcript into actions
  • Compare a local and a hosted speech model on the same audio
  • Measure end-to-end latency in a voice agent and find the slowest step
  • Write a consent and disclosure notice for recorded or synthetic voice

Tutorials

Tools for this skill

  • ElevenLabs

    Text-to-speech, voice cloning and dubbing, through a web app and an API.

    MediaFreemiumElevenLabs

  • faster-whisper

    Whisper reimplemented on CTranslate2: same accuracy, up to four times faster.

    MediaOpen sourceSYSTRAN

  • Groq

    Fast inference API on Groq's own LPU chips.

    Models and local inferenceFreemiumGroq

  • OpenAI Realtime API

    OpenAI's API for speech-to-speech voice agents.

    Models and local inferenceUsage-basedOpenAI

  • Whisper

    OpenAI's open-source speech recognition model for transcription and translation.

    MediaOpen sourceOpenAI

  • whisper.cpp

    Dependency-free C/C++ port of Whisper for fast on-device transcription.

    MediaOpen sourceggml

Key terms

Words you will meet while learning this, defined in the glossary.

Full glossary
  • Speech-to-text (STT)

    A model that converts spoken audio into written words, used for transcripts, captions, voice commands and meeting notes.

  • Text-to-speech (TTS)

    A model that turns written text into spoken audio in a chosen voice, used for voice assistants, narration, audiobooks and accessibility.