AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationGemini Omni

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.

GET/v1/videos/{id}/content

Authorization

bearerAuth
AuthorizationBearer <token>

Use an API Key from the current platform.

In: header

Path Parameters

id*string

Interaction ID returned by the create API.

Length1 <= length

Header Parameters

Range?string

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.mp4

Omit 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.