Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
bitsandbytes
int8
image-generation
image-editing
rgba
8-bit precision
Instructions to use ixim/Image21-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-INT8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ixim/Image21-INT8", 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 Settings
- Draw Things
- DiffusionBee
Download evaluation/editing/cases.json from ixim/Image21-INT8: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/ixim/Image21-INT8/resolve/main/evaluation/editing/cases.json
- Command line
-
hf download hf://ixim/Image21-INT8/evaluation/editing/cases.json
-
curl -L -o cases.json https://huggingface.co/ixim/Image21-INT8/resolve/main/evaluation/editing/cases.json
1.34 kB
| [ | |
| { | |
| "id": "portrait_recolor", | |
| "category": "clothing color", | |
| "prompt": "Change only the cream sweater to a navy blue sweater. Preserve the same woman, face, hairstyle, pose, lighting and background.", | |
| "input_file": "portrait_recolor.png", | |
| "input_sha256": "00716ad4721f585be4b0bf0daf2413f4ab92b795f1eb4d08b4f1ecc604b075b8", | |
| "source": "evaluation/young_woman/bf16/young_chinese_woman-s42.png" | |
| }, | |
| { | |
| "id": "cup_material", | |
| "category": "material replacement", | |
| "prompt": "Change only the middle blue ceramic cup into a brushed silver metal cup. Preserve its shape and position, the red and yellow cups, the green apple, the tabletop, lighting and background.", | |
| "input_file": "cup_material.png", | |
| "input_sha256": "91e967685fbbd79ba13daece22a0f72c863cb518db88d5d2a6f9aecfc5f292b1", | |
| "source": "evaluation/bf16/composition-s42.png" | |
| }, | |
| { | |
| "id": "bird_background", | |
| "category": "background replacement", | |
| "prompt": "Replace only the blurred forest background with a softly blurred snowy winter forest. Preserve the same kingfisher, its colors and pose, the mossy branch, framing and foreground lighting.", | |
| "input_file": "bird_background.png", | |
| "input_sha256": "40a0f73bb407a394fa9e8a3f6922455df716b9725ad07437fa10c1daca2c2095", | |
| "source": "evaluation/bf16/texture-s42.png" | |
| } | |
| ] |