Skip to main content

Convert voice notes, videos, and audio files into AI-ready text and images

Project description

slurpai

Convert voice notes, videos, and audio files into AI-ready text and images.

Consultants, researchers, and anyone who works with AI tools faces the same problem: clients and colleagues send voice notes, screen recordings, and video walkthroughs — but your AI workflow needs text and images. SlurpAI bridges that gap with a single command.

Quick start

pip install slurpai
export OPENAI_API_KEY=sk-...
slurpai client-feedback.opus

That's it. You get a folder with transcript.txt and you're ready to feed it into whatever AI tool you're using.

Install

pip install slurpai

You also need ffmpeg on your PATH:

OS Command
macOS brew install ffmpeg
Ubuntu/Debian sudo apt install ffmpeg
Windows choco install ffmpeg or download from ffmpeg.org

Usage

# Transcribe a voice note
slurpai recording.opus

# Process a video (transcript + frame grabs every 15 seconds)
slurpai feedback.mp4

# Batch process everything in a folder
slurpai *.opus *.mp4

# Grab frames more frequently
slurpai --frame-interval 5 demo.mp4

# Use local Whisper instead of OpenAI API
pip install slurpai[local]
slurpai --backend faster-whisper recording.opus

# Preview what would be processed
slurpai --dry-run *.opus

Output

Each file produces a folder alongside it:

recording/
├── transcript.txt    # Plain text transcription
├── frames/           # Video frame grabs (video only)
│   ├── frame_001.jpg
│   ├── frame_002.jpg
│   └── ...
└── process.log       # Timestamped processing log

Re-running the same command skips already-completed files (idempotent).

Privacy notice

By default, slurpai sends your audio to OpenAI's Whisper API for transcription. Your audio is transmitted to OpenAI's servers. Review OpenAI's data usage policy to understand how your data is handled.

If you need fully local, private transcription — no data leaves your machine:

pip install slurpai[local]
slurpai --backend faster-whisper recording.opus

This uses faster-whisper running entirely on your CPU. It's slower but nothing leaves your computer.

Configuration

Set OPENAI_API_KEY in your environment or a .env file in the current directory.

Variable Default Description
OPENAI_API_KEY Required for OpenAI backend
SLURPAI_BACKEND openai Default backend (openai or faster-whisper)
OPENAI_WHISPER_MODEL whisper-1 OpenAI model to use
SLURPAI_WHISPER_MODEL base Local Whisper model size (base, small, medium, large)

Supported formats

Audio: .opus, .m4a, .ogg, .mp3, .wav

Video: .mp4, .mkv, .mov, .webm

All formats are normalised to MP3 before transcription — this ensures consistent behaviour regardless of input format.

Requirements

  • Python 3.10+
  • ffmpeg on your PATH

Contributing

Found a bug or want to add a format? See CONTRIBUTING.md.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slurpai-0.1.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slurpai-0.1.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file slurpai-0.1.1.tar.gz.

File metadata

  • Download URL: slurpai-0.1.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for slurpai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 abb6313d1bf7af4a63190fddc6f3e96b9987771a48da61d1bd661cc38b12cc32
MD5 be1a5acc297951b1afe749e6ee845bcc
BLAKE2b-256 ca9838e5a38fe68e7c374200eb58f4aecc07dad4860b47521888c3fbfa0ca4fa

See more details on using hashes here.

File details

Details for the file slurpai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: slurpai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for slurpai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f2914cc4eb542e76f6484295adbd64b6491ead6409074ecf1dabda58dd21cb0
MD5 704fc2c676735dbff63277c8b08c7727
BLAKE2b-256 426683cd49befacfc883b7fd9c480a7537179b46cd9063b78f88fc55779996ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page