AI Agent Prompt-Based EditingΒΆ
Edit media using plain English instructions. An AI agent interprets your prompt and creates a precise edit plan.
UsageΒΆ
praisonai-editor edit interview.mp3 \
--prompt "Remove the intro, any weather discussion, and keep only the technical part"
How it worksΒΆ
sequenceDiagram
participant You
participant CLI
participant Whisper
participant Agent
participant FFmpeg
You->>CLI: edit file.mp3 --prompt "..."
CLI->>Whisper: transcribe (with cache)
Whisper-->>CLI: transcript + timestamps
CLI->>Agent: transcript + prompt β create edit plan
Agent-->>CLI: JSON segments (keep/remove)
CLI->>FFmpeg: render keep segments
FFmpeg-->>You: edited file β
Prompt examplesΒΆ
Fallback
If the agent cannot parse its own output, it falls back to the heuristic podcast preset automatically.