Download a Gemini Omni 1.2 Flash video
Download a generated Gemini Omni video file.
After the task succeeds, download the MP4 video through the platform’s auxiliary API. Downloading requires a valid API Key belonging to the task’s account and permission to use the model; the address is not an anonymous public link.
/v1/videos/{id}/contentAuthorization
bearerAuth Use an API Key from the current platform.
In: header
Path Parameters
Interaction ID returned by the create API.
1 <= lengthHeader Parameters
Optional byte range. Omit it to download the complete video.
Response Body
video/mp4
video/mp4
Save the video
Save the response body directly to a file:
curl 'https://api.agtcloud.cn/v1/videos/INTERACTION_ID/content' \
-H 'Authorization: Bearer YOUR_API_KEY' \
--output output.mp4Omit Range to download the complete video. For partial content, set Range: bytes=0-1023; a successful partial response returns 206.
First use Retrieve video to check the task status. To submit a new task, use Create video.