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
Metadata
Release files for praisonai-editor 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| praisonai_editor-0.1.7.tar.gz | 1.2 MB | Without provenance | Details for praisonai_editor-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| praisonai_editor-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for praisonai_editor-0.1.7-py3-none-any.whl |
Total release size: 1.3 MB
Release files / praisonai_editor-0.1.7.tar.gz
| Download URL | praisonai_editor-0.1.7.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5eb263afcdd3ab89ab8bc44be89ca888bc1612611fb5ed777c2a8c67088b1201
|
|
BLAKE2b-256 checksum How to use checksums |
e456e78efe22614fdd1019463736baadee2a9d064b2e022b5207bae88ca7b917
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / praisonai_editor-0.1.7-py3-none-any.whl
| Download URL | praisonai_editor-0.1.7-py3-none-any.whl |
|---|---|
| Size | 58.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51437b10a05c49ed415a2ede49cb3b9f05f9f3ca1cb17d047b3417a8e59e1069
|
|
BLAKE2b-256 checksum How to use checksums |
720c02140073456efc1afac47b0a8d57dc84295535a76048819ab6152bd02107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for praisonai-editor 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.