Skip to main content
POST
/
v3
/
async
/
veo-3.1-reverse
Veo 3.1 Video Generation (Reverse)
curl --request POST \
  --url https://api.myrouter.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>"
}
Video generation and query API
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

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

Request Body

size
string
Width x Height. Exact values are ignored; width > height produces landscape orientation, width < height produces portrait orientation. Supported values: 1280x720, 720x1280.
prompt
string
required
Text prompt to guide video generation. Example: Characters in the image start racing and then collide with each other.
seconds
integer
Video duration. Currently only 8 seconds is supported.
watermark
boolean
Whether to add a watermark. Default: no watermark.
input_images
array
Image files to guide video generation. veo-3.1-reverse supports uploading first frame and last frame images.

Response

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