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.3.tar.gz (315.9 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.3-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for praisonai_editor-0.1.3.tar.gz
Algorithm Hash digest
SHA256 188f1bc9726bf8c62fec8cef6898ad508645ee910ec1f35b5bfa0f82e5d65f17
MD5 33359ccc397b323c0cfce235e6720d9e
BLAKE2b-256 6f9a29414bb4763a4d171e8fda09cfa72751a4d49a39faa8e66d4049aed9e5f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for praisonai_editor-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eb20d4b8f4da3c0e9e1975818ca27f8a6220bcf2c378b170174a5d8780707503
MD5 1a536d16623ee6cf2fe8deb4e609daf5
BLAKE2b-256 2e5c7c94f86982a3a47aefb84a393cdb0bdd1032818a2e064f837eccfb4ce776

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