- Transcribe audio to text and subtitles with Whisper.
- Generate local narration with Piper.
- Prepare clean files for video, web, or podcast.
Transcribe with Whisper
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
pip install -U piper-tts cat guion.txt | piper \ --model voces/es_ES-modelo.onnx \ --output_file narracion.wav
Script prepared for TTS
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.