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

# Z Image Turbo LoRA

This is an async API that only returns the async task\_id. Use the task\_id to call the Get Async Task Result API to retrieve the generated result.

<Tip>
  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](/docs/models/reference-get-async-task-result) to retrieve the generated result.
</Tip>

## Request Headers

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

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="seed" type="integer" default={-1}>
  Random seed for generation. -1 means random seed.

  Range: \[-1, 2147483647]
</ParamField>

<ParamField body="size" type="string" default="1024*1024">
  Output image pixel dimensions (width\*height).
</ParamField>

<ParamField body="loras" type="array" default="[]">
  List of LoRAs to apply (up to 3).

  Array length: 0 - 3

  <Expandable title="properties" defaultOpen={true}>
    <ParamField body="path" type="string" required={true}>
      URL or path to the LoRA weights.
    </ParamField>

    <ParamField body="scale" type="number" default={1}>
      Scale factor for the LoRA weights. Used to scale LoRA weights before merging with the base model.

      Range: \[0, 4]
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="prompt" type="string" required={true}>
  Positive prompt for generation.
</ParamField>

## Response

<ResponseField name="task_id" type="string" required={true}>
  Use the task\_id to call the [Get Async Task Result API](/docs/models/reference-get-async-task-result) to retrieve the generated output.
</ResponseField>
