---
title: Z-Image-anime-manga-clean-bd53e5
canonical_url: "https://www.modelscope.cn/models/diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5"
md_url: "https://www.modelscope.cn/models/diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5.md"
repository: diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5
chinese_name: "动漫、二次元、清新"
last_updated: 2026-10-09
license: "Apache License 2.0"
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - Tongyi-MAI/Z-Image
base_model_relation: adapter
parameters: 9.9M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - safetensors
supports_inference: txt2img
downloads: 4
stars: 0
tags:
  - LoRA
  - text-to-image
---

# Z-Image-anime-manga-clean-bd53e5

> Z-Image-anime-manga-clean-bd53e5 - diffsynth-i2L-gallery 在 ModelScope 开源的模型。本模型由模型 DiffSynth-Studio/ZImage-i2L-v2 生成

diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5 是 ModelScope 魔搭社区上的 9.9M 参数text-to-image-synthesis模型，采用 Apache License 2.0 许可，基于 Tongyi-MAI/Z-Image 构建，并支持在线推理（txt2img）。

- **Repository**: diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5
- **License**: Apache License 2.0
- **Tasks**: text-to-image-synthesis
- **Parameters**: 9.9M
- **Base model**: Tongyi-MAI/Z-Image
- **Online inference**: txt2img
- **Tags**: LoRA, text-to-image
- **Downloads**: 4
- **Stars**: 0
- **Last updated**: 2026-10-09

Source: https://www.modelscope.cn/models/diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5

---

# 动漫、二次元、清新

## 模型介绍

本模型由模型 [DiffSynth-Studio/ZImage-i2L-v2](https://modelscope.cn/models/DiffSynth-Studio/ZImage-i2L-v2) 生成

## 推理代码

安装 [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)：

```bash
pip install diffsynth
```

开始推理：

```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", origin_file_pattern="transformer/*.safetensors"),
        ModelConfig(model_id="Tongyi-MAI/Z-Image", origin_file_pattern="text_encoder/*.safetensors"),
        ModelConfig(model_id="Tongyi-MAI/Z-Image", origin_file_pattern="vae/diffusion_pytorch_model.safetensors"),
    ],
    tokenizer_config=ModelConfig(model_id="Tongyi-MAI/Z-Image", origin_file_pattern="tokenizer/"),
)
pipe.load_lora(pipe.dit, ModelConfig(model_id="diffsynth-i2L-gallery/Z-Image-anime-manga-clean-bd53e5", origin_file_pattern="1791549337.658579-784bb37e-8fd3-4d09-99bf-a939c2c5867b.safetensors"))
prompt = "a cat"
image = pipe(prompt=prompt, num_inference_steps=50, cfg_scale=4)
image.save("image.jpg")
```
