Skip to main content
POST
/
v3
/
async
/
veo-3.1-reverse
Veo 3.1 Video Generation (Reverse)
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/veo-3.1-reverse \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "size": "<string>",
  "prompt": "<string>",
  "seconds": 123,
  "watermark": true,
  "input_images": [
    {}
  ]
}
'
{
  "task_id": "<string>"
}
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

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

Request Body

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

Response

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