Skip to main content

VideoAgent

Defined in the agents module.
Rust AI Agent SDK A specialized agent for generating videos using AI models.

Fields

NameTypeDescription
nameStringAgent name
modelStringLLM model (e.g., “openai/sora-2”)
configVideoConfigVideo configuration
verboseboolVerbose output

Methods

new

fn new() -> VideoAgentBuilder
Create a new VideoAgent builder

name

fn name(&self) -> &str
Get agent name

generate

fn generate(&self, _prompt: &str) -> Result<VideoResult>
Generate a video from a prompt (placeholder) Parameters:
NameType
_prompt&str

Source

View on GitHub

praisonai/src/agents/mod.rs at line 445