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

# PixVerse V6 文生视频

使用 PixVerse V6 模型根据文本提示生成视频，支持可配置的分辨率、时长、宽高比以及可选的音频生成。

<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="prompt" type="string" required={true}>
  视频内容的文本描述。
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  视频时长，单位为秒。

  取值范围：\[1, 15]
</ParamField>

<ParamField body="resolution" type="string" default="720p">
  输出视频的分辨率。

  可选值：`360p`, `540p`, `720p`, `1080p`
</ParamField>

<ParamField body="aspect_ratio" type="string" default="16:9">
  输出视频的宽高比。

  可选值：`16:9`, `9:16`, `1:1`, `4:3`, `3:4`
</ParamField>

<ParamField body="thinking_type" type="string" default="auto">
  生成时的思考类型。
</ParamField>

<ParamField body="negative_prompt" type="string">
  生成视频中需要避免的元素。
</ParamField>

<ParamField body="generate_audio_switch" type="boolean" default={false}>
  是否开启视频音频生成。
</ParamField>

## 响应信息

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