by Alibaba

8-step Z-Image Turbo that loads your own LoRAs

alibaba/z-image-turbo-lora/text-to-image
Z-Image Turbo LoRA AI Image Generator online
  • Up to 1.5K
  • 9 aspect ratios
  • Loads your own LoRA
  • Create Image
  • Edit Image

About Z-Image Turbo LoRA

The Z-Image Turbo LoRA API combines a large community LoRA ecosystem with fast eight-step inference: text to image takes about 10 seconds and image to image about 12, at one flat low price. It is a cost-effective engine for style libraries and restyle filters.

Call it with the model name alibaba/z-image-turbo-lora/text-to-image on POST /jobs/createTask, from $0.012.

Introduction

Z-Image Turbo LoRA Text to image makes one image from a written prompt on Alibaba's Z-Image Turbo, a 6-billion-parameter model distilled to eight sampling steps, with up to three of your own LoRA files loaded.

Choose a mode by starting material

What you haveMode
a written descriptionZ-Image Turbo LoRA Text to image
a picture to restyleZ-Image Turbo LoRA Image to image

Key features

Eight steps, seconds per image

Z-Image Turbo is distilled to eight sampling steps. In our runs the model took roughly three to ten seconds per image, which makes it practical for testing LoRA scales and prompts in quick loops.

A large library of community LoRAs

Pass the direct file link and a scale; nothing is uploaded to us in advance.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · Default: 1:1
lorasNoAdd LoRA weights compatible with this model to guide its style or character. Default: []
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
promptYesDescribe what you want to make.
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
Standard$0.012

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Character sheets

Keep a character LoRA and a seed fixed and change only the outfit, place and light between prompts. The face and build stay recognisable across the whole set, which is what a sheet needs.

Prompt guide & pro tips

Trigger word first

Most Z-Image Turbo LoRAs are trained with a trigger such as "Realism" or "Pixel art style". Put it at the very start, then describe the scene in plain sentences: who is in the frame, what they wear, where they are and what time of day it is.

Describe light, not adjectives

Name the light source, its direction and its colour: rain on the window, a warm lamp on the face, neon behind. Concrete lighting lands better than words like "cinematic", and it is the fastest way to make a realism LoRA look like a photograph.

Change one scale at a time

When stacking LoRAs, fix the seed and move one scale by about 0.2 at a time. Two style LoRAs at full strength usually fight; start the second one around 0.5 and raise it until its look appears without swallowing the first.

Draft in the shape you will publish

Pick the aspect ratio before you iterate.

API quick start

Call the Z-Image Turbo LoRA API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model alibaba/z-image-turbo-lora/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "alibaba/z-image-turbo-lora/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "aspect_ratio": "1:1",
    "output_format": "jpeg"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

What to build with the Z-Image Turbo LoRA API

  • Style libraries backed by community Z-Image Turbo LoRAs.
  • Photo-to-painting and drawing-to-photo filters.
  • Batch art generation with predictable cost.

Z-Image Turbo LoRA parameter notes

  • loras up to three Z-Image Turbo LoRAs.
  • edit takes one image_url, strength (default 0.8) and resolution 1k or 1.5k.
  • Output keeps the source's aspect ratio on edit.
  • seed and output_format on both endpoints.

How Z-Image Turbo LoRA API pricing adds up

One flat low price per image on both endpoints.

  • Create Image: $0.012 per run, $1.20 for 100 runs

Async jobs, webhooks and rate limits

Every Z-Image Turbo LoRA request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/z-image-turbo-lora/text-to-image never runs or bills twice.

Common Z-Image Turbo LoRA API errors

errorCodeWhat it usually means and how to fix it
invalid_assetA LoRA link that does not download a file.
invalid_requestMore than three LoRAs or strength outside 0 to 1.
content_rejectedA refused prompt or photo.

Z-Image Turbo LoRA API questions

How much does the Z-Image Turbo LoRA API cost?

Z-Image Turbo LoRA starts at $0.012 per image with Create Image, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Z-Image Turbo LoRA in the API?

Put alibaba/z-image-turbo-lora/text-to-image for Create Image; alibaba/z-image-turbo-lora/edit for Edit Image in the model field of POST /jobs/createTask.

How fast is Z-Image Turbo LoRA?

About 10 seconds for text to image and 12 for image to image.

Do SDXL or FLUX LoRAs work?

No, only Z-Image Turbo LoRAs.

What is the default strength on edits?

0.8.

What are the limits of the Z-Image Turbo LoRA API?

Aspect ratios: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +3; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

Can I try Z-Image Turbo LoRA without writing code?

Run Z-Image Turbo LoRA in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Z-Image models

Z-Image Base LoRA runs the full, slower base model for LoRAs trained on it.

More about Z-Image Turbo LoRA