download
Asynchronously downloads a file from the GenAI API to the provided path.
Return
A future that resolves to the downloaded file.
Parameters
The name of the file to download.
The path to download the file to.
The configuration for the download.
Asynchronously downloads a video from the GenAI API to the provided path.
Return
A future that resolves to the downloaded video.
Parameters
The video to download.
The path to download the video to.
The configuration for the download.
Asynchronously downloads a generated video from the GenAI API to the provided path.
Return
A future that resolves to the downloaded video.
Parameters
The generated video to download.
The path to download the video to.
The configuration for the download.
Asynchronously downloads a file from the GenAI API to the provided path.
Return
A future that resolves to the downloaded file.
Parameters
The file to download.
The path to download the file to.
The configuration for the download.