Video Agent • Rust AI Agent SDK
VideoAgent: A specialized agent for generating videos using AI models.
VideoAgent
Defined in the agents module.
Rust AI Agent SDK
A specialized agent for generating videos using AI models.
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: VideoAgent"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffFields
| Name | Type | Description |
|---|---|---|
name | String | Agent name |
model | String | LLM model (e.g., “openai/sora-2”) |
config | VideoConfig | Video configuration |
verbose | bool | Verbose output |
Methods
new
fn new() -> VideoAgentBuilderCreate a new VideoAgent builder
name
fn name(&self) -> &strGet agent name
generate
fn generate(&self, _prompt: &str) -> Result<VideoResult>Generate a video from a prompt (placeholder)
Parameters:
| Name | Type |
|---|---|
_prompt | &str |
Source
View on GitHubpraisonai/src/agents/mod.rs at line 445