Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
VideoConfig
Defined in the agents module.
Rust AI Agent SDK
Configuration for video generation settings.
Fields
| Name | Type | Description |
|---|
seconds | String | Video duration in seconds |
size | Option<String> | Video dimensions (e.g., “720x1280”, “1280x720”) |
timeout | u32 | Timeout in seconds |
poll_interval | u32 | Poll interval for status checks |
max_wait_time | u32 | Maximum wait time |
api_base | Option<String> | API base URL |
api_key | Option<String> | API key |
Methods
new
Create a new VideoConfig
seconds
fn seconds(mut self, seconds: impl Into<String>) -> Self
Set the duration
Parameters:
| Name | Type |
|---|
seconds | impl Into<String> |
size
fn size(mut self, size: impl Into<String>) -> Self
Set the size
Parameters:
| Name | Type |
|---|
size | impl Into<String> |
Source
View on GitHub
praisonai/src/agents/mod.rs at line 393