download • AI Agent SDK
download: Download a video to a file.
download
Method
</div>
This is a method of the VideoAgent class in the video_agent module.
Download a video to a file.
Signature
def download(video_id: str, output: str) -> strParameters
ParamField
strThe video ID to download
ParamField
strPath to save the video file
Returns
ResponseField
strPath to the saved file
Uses
contentf.write
Source
View on GitHubpraisonaiagents/agent/video_agent.py at line 759