Diffusers
multilingual
flux.1
minicpm-o
qwenvl
internvl
text-to-image
multi-image-to-image
video-to-image
text_image-to-image
audio-to-image
speech-to-image
any-to-image
Instructions to use OPPOer/X2I with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OPPOer/X2I with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OPPOer/X2I", 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
Fix metadata
#2
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -9,8 +9,7 @@ base_model:
|
|
| 9 |
language:
|
| 10 |
- multilingual
|
| 11 |
license: apache-2.0
|
| 12 |
-
|
| 13 |
-
pipeline_tag: any-to-image
|
| 14 |
tags:
|
| 15 |
- flux.1
|
| 16 |
- minicpm-o
|
|
|
|
| 9 |
language:
|
| 10 |
- multilingual
|
| 11 |
license: apache-2.0
|
| 12 |
+
pipeline_tag: text-to-image
|
|
|
|
| 13 |
tags:
|
| 14 |
- flux.1
|
| 15 |
- minicpm-o
|