Skip to main content
POST
Veo 3.1 Video Generation (Reverse)
Veo 3.1 Video Generation and Query API
This is an asynchronous API and will only return the async task’s task_id. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
Width x height. The specific values are ignored: width > height is landscape, and width < height is portrait. Supported values: 1280x720, 720x1280
string
required
Prompt used to guide video generation. For example: the characters in the image start running and then collide with each other
integer
Video duration. Currently only 8 seconds is supported.
boolean
Whether a watermark is required. No watermark by default.
string[]
Image files used to guide video generation. veo-3.1-reverse supports uploading the first frame and last frame.

Response

string
required
Use the task_id to request the Get Task Result API to retrieve the generated output.