Video

Process and generate video content

Video capabilities for agents to understand and generate video.

Diagram

Video

🎬 Video

🤖 Agent

📤 Output

Quick Start

  1. Analyze Video
    rust
    use praisonai::{Agent, tool};
    
    #[tool]
    async fn analyze_video(path: String) -> String {
        // Video analysis
        video::analyze(&path).await
    }
    
    let agent = Agent::new()
        .name("Video Analyst")
        .tool(analyze_video)
        .build()?;
    
    agent.chat("Describe this video: demo.mp4").await?;

Related