Instructions to use ostris/Krea2OstrisEdit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ostris/Krea2OstrisEdit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ostris/Krea2OstrisEdit") 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

- Xet hash:
- b1ec13d8a1dd6bb9e450b8769194e9f55ca364fb58c8b7afdb0b3e7b9c03f414
- Size of remote file:
- 2.09 MB
- SHA256:
- dd36b3495e36eb94460f9d6d403ea6b9926244ab3f940074a9a214f92e68fc69
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.