Pricing
Compare models →- You pay $1.25 for every 1000 training steps, billed proportionally to the total number of steps in your job. With default settings (1000 steps), a run costs $1.25.
Examples
| Training steps | Price (USD) |
|---|---|
| 500 steps | $0.625 |
| 1000 steps | $1.25 |
| 2000 steps | $2.50 |
| 5000 steps | $6.25 |
| 10000 steps | $12.50 |
Input schema
| Parameter | Type | Description |
|---|---|---|
dataRequired | string | URL to zip archive with images. Try to use at least 4 images in general the more the better.
In addition to images the archive can contain text files with captions. Each text file should have the same name as the image file it corresponds to.JSON schema{
"x-accept": "application/zip",
"x-placeholder": "Please upload a zip file containing images."
} |
trigger_word | string | Optional trigger word. If a caption file exists, it is prepended when not already present. If no caption file exists and trigger_word is non-empty, a caption containing only the trigger word is created. Leave empty to enable no-caption training. |
steps | integer | Number of steps to train the LoRA on.Default: 1000Minimum: 500 · Maximum: 10000 |
learning_rate | number | Default: 0.0001Minimum: 0 · Maximum: 1JSON schema{
"step": 0.00001
} |
lora_rank | integer | Default: 16Minimum: 1 · Maximum: 64 |
README
Z-Image LoRA Trainer
Z-Image LoRA Trainer is a high-performance custom model training service for the Z-Image-Turbo text-to-image generation models. It allows you to train lightweight LoRA (Low-Rank Adaptation) adapters for personalized styles, characters, and concepts, while preserving the fast and high-quality generation properties of Z-Image.
Training Architecture
The trainer is designed around Z-Image’s efficient diffusion architecture and its Turbo distilled variants, and produces one or more specialized LoRA adapters depending on your configuration:
- Base LoRA adapter
Trains on the core Z-Image representation to capture your target style, character, or object, while keeping the base model frozen and stable.
- Turbo-aware fine-tuning (optional)
When used with Z-Image-Turbo, the trainer applies Turbo-compatible optimization settings (step-aware learning rate, safe rank and scaling) to maintain high image quality even at low sampling steps.
This architecture ensures that your LoRA:
- Remains compact and easy to share
- Is plug-and-play with supported UIs and pipelines (e.g. ComfyUI / AI Toolkit)
- Preserves the speed and efficiency of Z-Image / Z-Image-Turbo
Training Process
- Data Upload
Prepare and upload a ZIP file containing your training images and, optionally, captions or prompts.
- Automatic Preprocessing
The trainer automatically:
- Validates and filters your dataset
- Resizes and normalizes images for Z-Image
- Aligns captions / prompts (or auto-generates basic captions if enabled)
- LoRA Training
The system runs a tailored LoRA optimization loop for Z-Image:
- Freezes the base model weights
- Trains only the low-rank adapter layers
- Applies Turbo-safe settings when targeting Z-Image-Turbo
- Model Export
After training completes, you receive:
- A LoRA adapter file compatible with Z-Image / Z-Image-Turbo
- Recommended loading settings (weight scale, steps, and sampling tips) for image generation
Price
- You pay $1.25 for every 1000 training steps, billed proportionally to the total number of steps in your job. With default settings (1000 steps), a run costs $1.25.
Examples
| Training steps | Price (USD) |
|---|---|
| 500 steps | $0.625 |
| 1000 steps | $1.25 |
| 2000 steps | $2.50 |
| 5000 steps | $6.25 |
| 10000 steps | $12.50 |
Try more trainers
- Wan 2.2 Image LoRA Trainer - High-performance LoRA trainer for the Wan 2.2 image model, ideal for custom styles and characters that integrate smoothly into the Wan video/image ecosystem.
- Qwen Image LoRA Trainer - Built on the Qwen image model with strong multi-language prompt support and rich semantic understanding, great for text-sensitive image customization.
- Flux Dev LoRA Trainer - LoRA trainer tailored for the Flux Dev model, focusing on high-fidelity, creative visuals and experimentation with new artistic styles.
Guidance
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Z Image LoRA Trainer API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/z-image-lora-trainer for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"data": "https://github.com/mdn/interactive-examples/archive/refs/heads/main.zip",
"trigger_word": "example",
"steps": 1000,
"learning_rate": 0.0001,
"lora_rank": 16
}Z Image LoRA Trainer API — Frequently asked questions
What is the Z Image Lora Trainer API?
Z Image Lora Trainer is a OpenSIAI model for AI inference, exposed as a REST API on OpenSIAI. Z-Image-LoRA-Trainer – train custom image LoRA models from your own dataset, with zip uploads, auto-tuned defaults and fast iteration for brand, character or IP looks. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Z Image Lora Trainer API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/z-image-lora-trainer.
How much does Z Image Lora Trainer cost per run or per second?
Z Image Lora Trainer starts at $1.25 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Z Image Lora Trainer accept?
Key inputs: data, learning_rate, lora_rank, steps, trigger_word. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/z-image-lora-trainer.
How long does Z Image Lora Trainer take to generate?
Reported generation time on OpenSIAI is around 423 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Z Image Lora Trainer outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
