---
title: HidreamO1-japanesegarden-photorealistic-naturallight-4159d3
canonical_url: "https://www.modelscope.cn/models/diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3"
md_url: "https://www.modelscope.cn/models/diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3.md"
repository: diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3
chinese_name: "日式庭院、写实摄影、自然光"
last_updated: 2026-09-08
license: "Apache License 2.0"
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - HiDream-ai/HiDream-O1-Image
base_model_relation: adapter
parameters: 12.8M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - safetensors
supports_inference: txt2img
downloads: 2
stars: 0
tags:
  - LoRA
  - text-to-image
---

# HidreamO1-japanesegarden-photorealistic-naturallight-4159d3

> HidreamO1-japanesegarden-photorealistic-naturallight-4159d3 - diffsynth-i2L-gallery 在 ModelScope 开源的模型。本模型由模型 DiffSynth-Studio/HidreamO1-i2L-v2 生成

diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3 是 ModelScope 魔搭社区上的 12.8M 参数text-to-image-synthesis模型，采用 Apache License 2.0 许可，基于 HiDream-ai/HiDream-O1-Image 构建，并支持在线推理（txt2img）。

- **Repository**: diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3
- **License**: Apache License 2.0
- **Tasks**: text-to-image-synthesis
- **Parameters**: 12.8M
- **Base model**: HiDream-ai/HiDream-O1-Image
- **Online inference**: txt2img
- **Tags**: LoRA, text-to-image
- **Downloads**: 2
- **Stars**: 0
- **Last updated**: 2026-09-08

Source: https://www.modelscope.cn/models/diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3

---

# 日式庭院、写实摄影、自然光

## 模型介绍

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

## 推理代码

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

```bash
pip install diffsynth
```

开始推理：

```python
from diffsynth.pipelines.hidream_o1_image import HiDreamO1ImagePipeline, ModelConfig
import torch

pipe = HiDreamO1ImagePipeline.from_pretrained(
    torch_dtype=torch.bfloat16,
    device="cuda",
    model_configs=[
        ModelConfig(model_id="HiDream-ai/HiDream-O1-Image", origin_file_pattern="*.safetensors"),
    ],
    processor_config=ModelConfig(model_id="HiDream-ai/HiDream-O1-Image"),
)
pipe.load_lora(pipe.dit, ModelConfig(model_id="diffsynth-i2L-gallery/HidreamO1-japanesegarden-photorealistic-naturallight-4159d3", origin_file_pattern="1788841939.331088-00bf8dec-7a29-411e-a965-f9a3b86c628b.safetensors"))
prompt = "a cat"
image = pipe(prompt=prompt, num_inference_steps=30, cfg_scale=4)
image.save("image.jpg")
```
