Any-to-Any
Transformers
Diffusers
Safetensors
text-to-image
image-editing
image-understanding
vision-language
multimodal
autoregressive
unified-model
Instructions to use Skywork/UniPic2-SD3.5M-Kontext-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Skywork/UniPic2-SD3.5M-Kontext-2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Skywork/UniPic2-SD3.5M-Kontext-2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -123,8 +123,6 @@ image.save("text2image.png")
|
|
| 123 |
|
| 124 |
|
| 125 |
### 4. Image Editing
|
| 126 |
-
The image editing feature within this unified model is an exploratory module at the forefront of research. And it is not yet production-ready.
|
| 127 |
-
|
| 128 |
```bash
|
| 129 |
# Load and preprocess image
|
| 130 |
def fix_longer_edge(x, image_size, factor=32):
|
|
|
|
| 123 |
|
| 124 |
|
| 125 |
### 4. Image Editing
|
|
|
|
|
|
|
| 126 |
```bash
|
| 127 |
# Load and preprocess image
|
| 128 |
def fix_longer_edge(x, image_size, factor=32):
|