#
## Model Introduction
This model is trained using the [Civision/model training](https://modelscope.ai/civision/modelTraining) environment and computing resources provided by ModelScope.
* Model Type: LoRA
* Base Model: [Tongyi-MAI/Z-Image-Turbo](https://modelscope.ai/models/Tongyi-MAI/Z-Image-Turbo)
* Training Code: [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)
* Data amount:64
* Total training steps:3000
* License: Apache-2.0
## Inference Code
Install [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio):
```bash
pip install diffsynth
```
Inference:
```python
from diffsynth.pipelines.z_image import ZImagePipeline, ModelConfig
import torch
pipe = ZImagePipeline.from_pretrained(
torch_dtype=torch.bfloat16,
device="cuda",
model_configs=[
ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="transformer/*.safetensors"),
ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="text_encoder/*.safetensors"),
ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
],
tokenizer_config=ModelConfig(model_id="Tongyi-MAI/Z-Image-Turbo", origin_file_pattern="tokenizer/"),
)
pipe.load_lora(pipe.dit, ModelConfig(model_id="rui_pfe_R/yajana", origin_file_pattern="yajana_c1-st3000.safetensors"))
prompt = "a cat"
image = pipe(prompt=prompt, num_inference_steps=8, cfg_scale=1)
image.save("image.jpg")
```
Description
Details
Downloads
29
Platform
Civision
Platform Status
Available
Created
9/9/2026
Updated
9/9/2026
Deleted
-
Trigger Words:
young woman, long dark hair, white crop top, denim shorts, poses indoors, smiling softly, hand on hip, bed with pink bedding, patterned wallpaper, natural makeup, defined eyelashes, soft blush
