Text-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
multilingual
English(En)
Chinese(Zh)
Spanish(Es)
French(Fr)
Russian(Ru)
Japanese(Ja)
Korean(Ko)
Arabic(Ar)
Italian(It)
Instructions to use BAAI/AltDiffusion-m9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BAAI/AltDiffusion-m9 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-m9", 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
turn on inference api
#3
by akhaliq HF Staff - opened
README.md
CHANGED
|
@@ -16,8 +16,9 @@ tags:
|
|
| 16 |
- Korean(Ko)
|
| 17 |
- Arabic(Ar)
|
| 18 |
- Italian(It)
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
inference: false
|
| 21 |
extra_gated_prompt: |-
|
| 22 |
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 23 |
The CreativeML OpenRAIL License specifies:
|
|
|
|
| 16 |
- Korean(Ko)
|
| 17 |
- Arabic(Ar)
|
| 18 |
- Italian(It)
|
| 19 |
+
- diffusers
|
| 20 |
+
inference: true
|
| 21 |
|
|
|
|
| 22 |
extra_gated_prompt: |-
|
| 23 |
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 24 |
The CreativeML OpenRAIL License specifies:
|