Skip to main content
POST
/
v3
/
async
/
z-image-turbo-lora
Z Image Turbo LoRA
curl --request POST \
  --url https://api.myrouter.ai/v3/async/z-image-turbo-lora \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "seed": 123,
  "size": "<string>",
  "loras": [
    {
      "path": "<string>",
      "scale": 123
    }
  ],
  "prompt": "<string>"
}
'
{
  "task_id": "<string>"
}
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.
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 to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

seed
integer
Random seed for generation. -1 means random seed.Range: [-1, 2147483647]
size
string
default:"1024*1024"
Output image pixel dimensions (width*height).
loras
array
default:"[]"
List of LoRAs to apply (up to 3).Array length: 0 - 3
prompt
string
required
Positive prompt for generation.

Response

task_id
string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.