How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("PakNin/chao-hu-min-ge")

prompt = "巢湖民歌 渔船 国画风"
image = pipe(prompt).images[0]

chao-hu-min-ge

Model trained with AI Toolkit by Ostris

Prompt
巢湖民歌 渔船 国画风
Prompt
巢湖民歌 渔船 油画风
Prompt
渔船

Trigger words

You should use 巢湖民歌 to trigger the image generation.

Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('PakNin/chao-hu-min-ge', weight_name='chao-hu-min-ge.safetensors')
image = pipeline('巢湖民歌 渔船 国画风').images[0]
image.save("my_image.png")

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers

Downloads last month
51
Inference Providers NEW
Examples

Model tree for PakNin/chao-hu-min-ge

Base model

Qwen/Qwen-Image
Adapter
(476)
this model