Instructions to use wabibito/Krea2-Onyx-Edit-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wabibito/Krea2-Onyx-Edit-mlx-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wabibito/Krea2-Onyx-Edit-mlx-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - MLX
How to use wabibito/Krea2-Onyx-Edit-mlx-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Krea2-Onyx-Edit-mlx-4bit wabibito/Krea2-Onyx-Edit-mlx-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
Krea 2 Onyx Edit mlx 4bit
MLX 4-bit build of Krea 2 with the krea2-identity-edit adapter (v1.2 r64) fused into the weights - zero runtime LoRA cost, streams like a plain checkpoint. Built for the Onyx on-device app: attach a reference photo (plus an optional second for swaps/try-on) and describe the change.
Distilled 8-step base: fast, instruction-faithful - the recommended edit build.
See NOTICE for attribution and LICENSE.pdf for the Krea 2 Community License this model is distributed under.
License
Krea 2 Onyx builds are Derivative Models of Krea 2 and are distributed under the Krea 2 Community License Agreement (LICENSE.pdf in this repository; https://krea.ai/krea-2-licensing). By downloading or using these weights you agree to be bound by that Agreement, including:
- its prohibited uses and Acceptable Use Policy;
- the requirement that deployments implement content filters (prompt/output filtering, abuse detection, moderation) to prevent prohibited uses and outputs;
- its Commercial Use terms (permitted under the Agreement only below the revenue threshold in s2.3; above it, an Enterprise License from Krea is required);
- passing these same obligations to anyone you redistribute to (s3.1).
This is an unofficial community build - not an official Krea product, and not endorsed by or affiliated with Krea.ai, Inc. See NOTICE for attribution.
- Downloads last month
- 14
Quantized