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

# Z Image 文生图 Turbo LoRA

Z-Image Turbo LoRA 是高速图像生成模型，支持根据文本提示快速生成高质量图像，并支持应用自定义 LoRA 权重。

<Tip>
  这是一个**异步**API，只会返回异步任务的 task\_id。您应该使用该 task\_id 请求 [查询任务结果 API](/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="seed" type="integer" default={-1}>
  生成的随机种子。-1 表示使用随机种子

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

<ParamField body="size" type="string" default="1024*1024">
  生成图像的像素尺寸（宽\*高）
</ParamField>

<ParamField body="loras" type="array" default="[]">
  要应用的 LoRA 列表（最多 3 个）

  数组长度：0 - 3

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="path" type="string" required={true}>
      LoRA 权重的 URL 或路径
    </ParamField>

    <ParamField body="scale" type="number" default={1}>
      LoRA 权重的缩放比例。用于在与基础模型合并前缩放 LoRA 权重

      取值范围：\[0, 4]
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  生成的正向提示词
</ParamField>

## 响应

<ResponseField name="task_id" type="string" required={true}>
  异步任务的 task\_id。您应该使用该 task\_id 请求 [查询任务结果 API](/models/reference-get-async-task-result) 以获取生成结果
</ResponseField>
