Video Module
Thepraisonai.video module provides end-to-end AI-powered video editing capabilities. It automatically:
- Transcribes audio with word-level timestamps
- Removes filler words (um, uh, like, you know)
- Detects and removes repetitions (stutters, restarts)
- Identifies tangent segments (off-topic content)
- Removes long silences
- Generates captions (SRT format or burned-in)
- Produces edit decision lists (EDL)
Requirements
-
FFmpeg: Required for video processing
-
OpenAI API Key: Required for transcription and content analysis
Quick Start
Python API
CLI
API Reference
video.edit()
Main function for AI-powered video editing.
Returns:
VideoEditResult object
video.probe()
Extract video metadata.
VideoProbeResult with:
duration: Video duration in secondswidth,height: Resolutionfps: Frame ratecodec: Video codecaudio_codec: Audio codecfile_size: File size in bytes
video.transcript()
Generate transcript with word-level timestamps.
TranscriptResult with:
text: Full transcript textwords: List of words with timestampsduration: Audio durationprovider: Provider used

