Text-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
bilingual
Chinese
en
English
Instructions to use BAAI/AltDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BAAI/AltDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BAAI/AltDiffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Commit ·
e289895
1
Parent(s): d5f3878
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,6 @@ tags:
|
|
| 12 |
- en
|
| 13 |
- English
|
| 14 |
|
| 15 |
-
inference: false
|
| 16 |
extra_gated_prompt: |-
|
| 17 |
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 18 |
The CreativeML OpenRAIL License specifies:
|
|
|
|
| 12 |
- en
|
| 13 |
- English
|
| 14 |
|
|
|
|
| 15 |
extra_gated_prompt: |-
|
| 16 |
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 17 |
The CreativeML OpenRAIL License specifies:
|