Pricing
Compare models →| Output | Cost |
|---|---|
| Per image | $0.012 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | URL of the reference image to guide the generation. |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"description": "URL or the path to the LoRA weights.",
"type": "string"
},
"scale": {
"default": 1,
"description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
strength | number | Controls the strength of the transformation. Higher values produce outputs more different from the input image.Default: 0.6Minimum: 0 · Maximum: 1 |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
Z-Image Base LoRA
Z-Image Base LoRA is a 6-billion parameter text-to-image model from Tongyi-MAI with full LoRA support. Apply up to 3 custom LoRA adapters simultaneously to generate images with personalized styles, characters, or brand aesthetics — all while maintaining fast generation speeds.
Why Choose This?
- Triple LoRA support
Apply up to 3 custom LoRA adapters at once for layered style control — combine character, style, and aesthetic LoRAs in a single generation.
- Flexible output sizing
Customize width and height up to 1024px for any aspect ratio you need.
- Prompt Enhancer
Built-in tool to automatically improve your prompts for better results.
- LoRA ecosystem compatibility
Load LoRA weights from popular sources like Civitai and Hugging Face, or train your own custom LoRAs.
- Affordable pricing
Just $0.012 per image — perfect for high-volume generation with custom styles.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate |
| loras | No | Up to 3 LoRA adapters to apply (click "+ Add Item") |
| size | No | Preset size options |
| width | No | Output width in pixels (default: 1024) |
| height | No | Output height in pixels (default: 1024) |
| seed | No | Random seed for reproducibility (default: -1 for random) |
| output_format | No | Output format: jpeg, png (default: jpeg) |
| enable_sync_mode | No | API only: wait for result before returning response |
How to Use
- Write your prompt — describe the image you want to create, including your LoRA trigger words.
- Add LoRAs — click "+ Add Item" to add up to 3 LoRA adapters with their weights.
- Set dimensions — adjust width and height for your needs.
- Run — submit and download your image.
Pricing
| Output | Cost |
|---|---|
| Per image | $0.012 |
Best Use Cases
- Character Consistency — Use character LoRAs to maintain identity across multiple generations.
- Brand Aesthetics — Apply brand-specific style LoRAs for consistent marketing visuals.
- Art Style Transfer — Generate images in specific artistic styles trained into LoRAs.
- Combined Styles — Layer multiple LoRAs for unique style combinations.
- Rapid Iteration — Test different LoRA combinations quickly at low cost.
Pro Tips
- Include your LoRA trigger words in the prompt for best activation.
- Start with LoRA weight around 0.7-1.0, then adjust based on results.
- Combine complementary LoRAs (e.g., character + style + lighting) for richer outputs.
- Use the Prompt Enhancer to automatically improve your descriptions.
- Keep the same seed when comparing different LoRA combinations.
Train Your Own LoRA
Want to create custom LoRAs for Z-Image? Use the Z-Image LoRA Trainer:
- Z-Image LoRA Trainer — Train custom LoRAs with your own images.
Guidance
Related Models
- Z-Image Base — Base model without LoRA support at $0.012 per image.
- Z-Image Turbo — Faster generation optimized for sub-second inference.
Notes
- Maximum of 3 LoRAs can be applied per generation.
- LoRA weights typically range from 0.5 to 1.0 for best results.
- enable_sync_mode is only available through the API, not in the web interface.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Z Image Base LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/z-image/base-lora for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251118/6784e7f4b50aebc7e17fe396/1w64a9seeuy4.jpeg",
"loras": [],
"size": "1024*1024",
"strength": 0.6,
"seed": 0,
"output_format": "jpeg"
}Z Image Base LoRA Image API — Frequently asked questions
What is the Z Image Base Lora API?
Z Image Base Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. Z-Image-Base LoRA (6B) enables high-quality text-to-image generation with full CFG support and external LoRA support. Supports applying up to 3 LoRAs for custom styles. 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 Base Lora 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/base-lora.
How much does Z Image Base Lora cost per run or per second?
Z Image Base Lora starts at $0.012 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 Base Lora accept?
Key inputs: prompt, image, size, seed, loras, output_format. 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/base-lora.
How long does Z Image Base Lora take to generate?
Reported generation time on OpenSIAI is around 39 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 Base Lora 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.
