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
Run this model with HF Jobs
Run OPPOer/X2I on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OPPOer/X2I. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OPPOer/X2I on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Add library_name and update pipeline tag
Browse filesThis PR updates the model card by adding the `library_name` to the metadata and updating the `pipeline_tag` to `any-to-image`. The model uses diffusers and can generate images from various input modalities, therefore these changes improve the metadata accuracy and discoverability.
12345671 unmodified line910111213145 unmodified lines20212223242526272829---license: apache-2.0language:- multilingualbase_model:- black-forest-labs/FLUX.1-dev- OpenGVLab/InternVL2_5-1B1 unmodified line- openbmb/MiniCPM-o-2_6- Qwen/Qwen2.5-7B-Instruct- Qwen/Qwen2.5-3B-Instructtags:- flux.1- minicpm-o5 unmodified lines- text_image-to-image- audio-to-image- speech-to-imagepipeline_tag: text-to-image---<div align="center"><a href="https://export.arxiv.org/abs/2503.06134">📜 X2I Paper </a><a href="https://github.com/OPPO-Mente-Lab/X2I">🌐 Github </a>12341 unmodified line6789101112131415165 unmodified lines2223242526272829---base_model:- black-forest-labs/FLUX.1-dev- OpenGVLab/InternVL2_5-1B1 unmodified line- openbmb/MiniCPM-o-2_6- Qwen/Qwen2.5-7B-Instruct- Qwen/Qwen2.5-3B-Instructlanguage:- multilinguallicense: apache-2.0library_name: diffuserspipeline_tag: any-to-imagetags:- flux.1- minicpm-o5 unmodified lines- text_image-to-image- audio-to-image- speech-to-image---<div align="center"><a href="https://export.arxiv.org/abs/2503.06134">📜 X2I Paper </a><a href="https://github.com/OPPO-Mente-Lab/X2I">🌐 Github </a>
README.md+5-5