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
seconds
| Name | Type |
|---|---|
seconds | impl Into<String> |
size
| Name | Type |
|---|---|
size | impl Into<String> |
Source
View on GitHub
praisonai/src/agents/mod.rs at line 393
