> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Veo 3.1 视频生成 (Reverse)

Veo 3.1 视频生成与查询 API

<Tip>
  这是一个**异步**API，只会返回异步任务的 task\_id。您应该使用该 task\_id 请求 [查询任务结果 API](/docs/models/reference-get-async-task-result) 来检索生成结果。
</Tip>

## 请求头

<ParamField header="Content-Type" type="string" required={true}>
  枚举值: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer 身份验证格式: Bearer \{\{API 密钥}}。
</ParamField>

## 请求体

<ParamField body="size" type="string">
  宽x高，会忽略具体数据 宽>高 为横屏，宽\<高为竖屏，支持值: 1280x720，720x1280
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  提示词，用于引导视频的生成。例如：图像中形象赛跑起来然后相互碰撞
</ParamField>

<ParamField body="seconds" type="integer">
  视频时长，目前仅支持 8 秒
</ParamField>

<ParamField body="watermark" type="boolean">
  是否需要水印，默认无水印
</ParamField>

<ParamField body="input_images" type="string[]">
  用于指导生成视频的图片文件，veo-3.1-reverse 支持上传首帧和尾帧
</ParamField>

## 响应信息

<ResponseField name="task_id" type="string" required={true}>
  使用 task\_id 请求 [查询任务结果 API](/docs/models/reference-get-async-task-result) 来检索生成的输出。
</ResponseField>
