> ## 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 C1 文生视频

PixVerse C1 文生视频模型，支持通过文本描述生成高质量视频，支持多种分辨率和宽高比，可选音频同步生成，视频时长1-15秒。

<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}>
  视频生成的文本描述，包含场景、运动、镜头风格和氛围等信息。

  长度限制：0 - 2048
</ParamField>

<ParamField body="duration" type="integer" default={5}>
  生成视频的时长（秒），范围1-15秒。

  取值范围：\[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`, `4:3`, `3:4`, `1:1`, `2:3`, `3:2`, `21:9`
</ParamField>

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

## 响应信息

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