Skip to content
Courses/Generative AI: image, voice and video/Local voice: Whisper and Piper

Local voice: Whisper and Piper

Voice is one of the most useful forms of generative AI for education: transcribing lectures, creating subtitles, narrating short lessons, and making materials accessible without always relying on the cloud.

  • Transcribe audio to text and subtitles with Whisper.
  • Generate local narration with Piper.
  • Prepare clean files for video, web, or podcast.

Transcribe with Whisper

Terminal
python -m venv .venv
source .venv/bin/activate
pip install -U openai-whisper

whisper clase.mp3 \
  --model medium \
  --language Spanish \
  --output_format srt \
  --output_dir subtitulos/

Narrate with Piper

Terminal
pip install -U piper-tts

cat guion.txt | piper \
  --model voces/es_ES-modelo.onnx \
  --output_file narracion.wav

Script prepared for TTS

Terminal
Título: Qué es RAG
Duración objetivo: 90 segundos
Tono: claro, docente, sin bromas internas

Texto:
RAG significa generación aumentada por recuperación.
En lugar de pedir al modelo que recuerde, primero buscamos documentos relevantes.
Después el modelo responde usando solo esas fuentes.
Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue