Skip to main content

Protocol-driven audio & video editor for PraisonAI — transcribe, clean, and edit media with AI

Project description

PraisonAI Editor

AI-powered audio & video editor for PraisonAI. Protocol-driven, modular, and ready for agent integration.

Install

pip install praisonai-editor

With local Whisper support:

pip install "praisonai-editor[local]"

With PraisonAI Agent integration:

pip install "praisonai-editor[agent]"

Quick Start

CLI

# Edit audio (transcribe → detect fillers/silence → render)
praisonai-editor edit podcast.mp3 --preset podcast --verbose

# Edit video
praisonai-editor edit interview.mp4 --output edited.mp4

# AI-guided editing with prompt
praisonai-editor edit podcast.mp3 --prompt "Remove intro and off-topic weather discussion"

# Transcribe
praisonai-editor transcribe audio.mp3 --format srt

# Convert MP4 → MP3
praisonai-editor convert video.mp4 --format mp3

# Probe file metadata
praisonai-editor probe media.mp4

Python API

from praisonai_editor import edit_media, transcribe_audio, convert_media

# Edit any media
result = edit_media("podcast.mp3", preset="podcast")

# Transcribe
transcript = transcribe_audio("audio.mp3")
print(transcript.to_srt())

# Convert
convert_media("video.mp4", "audio.mp3")

PraisonAI Agent

from praisonaiagents import Agent
from praisonai_editor.agent_tool import audio_editor_tool

agent = Agent(
    instructions="You are an audio editor.",
    tools=[audio_editor_tool],
)

Presets

Preset Fillers Repetitions Silence (min)
podcast ✅ Remove ✅ Remove 1.5s
meeting ✅ Remove Keep 2.0s
course ✅ Remove ✅ Remove 1.0s
clean ✅ Remove ✅ Remove 0.8s

Requirements

  • Python ≥ 3.10
  • FFmpeg (for audio/video processing)
  • OpenAI API key (for transcription) or [local] extra for offline Whisper

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

praisonai_editor-0.1.4.tar.gz (349.2 kB view details)

Uploaded Source

Built Distribution

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

praisonai_editor-0.1.4-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file praisonai_editor-0.1.4.tar.gz.

File metadata

  • Download URL: praisonai_editor-0.1.4.tar.gz
  • Upload date:
  • Size: 349.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for praisonai_editor-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a86700b38629febbfc9bea51074b712d6fd85fab192d5d24aed4bead19fc4556
MD5 5eac5fa717f3f6d17ed31d766b6685af
BLAKE2b-256 8a2b2fd9c099ce8959f7895ce77bd53b909244efc15aa4a7febe36908cb630c4

See more details on using hashes here.

File details

Details for the file praisonai_editor-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for praisonai_editor-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 107aa2eafe958c6ecea8643146f6a2405af1770916f5418cb6395db233715137
MD5 e5cf09ba40a981cd6f27a642d445a17e
BLAKE2b-256 cc5368fa18038e9ec3b468a7a6768afac551405973b9ee0dc70e9a3ff30d56bd

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