Text-to-Image
Diffusers
Safetensors
English
Chinese
flow-matching
qwen-image
ascend
lora
recursive-self-improvement
Instructions to use DALabCommunity/Haidass-Image-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DALabCommunity/Haidass-Image-Instruct with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DALabCommunity/Haidass-Image-Base-v1_0.6B_512px", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DALabCommunity/Haidass-Image-Instruct") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Use a gallery prompt for the command-line example
Browse filesFiles changed (2)
- README.md+1-1
- README_zh.md+1-1
233 unmodified lines234235236237238239240233 unmodified lines### Command line```bashpython inference.py "Five ripe pears arranged in a row on an uncluttered blue shelf." --seed 0 --output pears.png```| Option | Default | Description |233 unmodified lines234235236237238239240233 unmodified lines### Command line```bashpython inference.py "A red fox listening at the edge of a frosted field, its tail curled over brown leaves." --seed 71204 --output fox.png```| Option | Default | Description |
233 unmodified lines234235236237238239240233 unmodified lines### 命令行```bashpython inference.py "Five ripe pears arranged in a row on an uncluttered blue shelf." --seed 0 --output pears.png```| 参数 | 默认值 | 说明 |233 unmodified lines234235236237238239240233 unmodified lines### 命令行```bashpython inference.py "A red fox listening at the edge of a frosted field, its tail curled over brown leaves." --seed 71204 --output fox.png```| 参数 | 默认值 | 说明 |
README.md+1-1
README_zh.md+1-1