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.2.tar.gz (9.8 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.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slurpai-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 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.2.tar.gz
Algorithm Hash digest
SHA256 8df8ef9dc2f4cfd52cf01498f6f900993377a370c336559b2f844689d9774e0f
MD5 00ff98a22846a4cd40b57d9533cc478b
BLAKE2b-256 d16e39151c4bd1c1a70c850d46e06117202f18f9809fa2ff4556f6b214c0d98f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slurpai-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 486522dc69e4bedc9ac11b64f4e09cb0136a20741e22e343019524c04979eecb
MD5 4fc421a2cd6886516c4f86249b55b2f1
BLAKE2b-256 7ffc024c7a1fc6417134f34278b8a0c22fe3512c2cd29a73b01518d85ed9057a

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