Instructions to use Omnico/Krea2_turbo_diff_loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Omnico/Krea2_turbo_diff_loras 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("Omnico/Krea2_turbo_diff_loras") prompt = "A photo-realistic photograph of a adult woman with long blonde hair, wearing a brown parka with a fur-lined hood. the woman, who appears to be in her late s or early twenties, has a serious expression and is resting her chin on her hand. she is looking directly at the camera with her blue eyes. her blonde hair is styled in loose waves and falls down her back. she is wearing a beige parka with a fur-lined hood, which is slightly open, revealing her bare shoulders. the parka has a zipper closure and two pockets on the front. the background is blurred, but it appears to be an outdoor setting with trees and a cloudy sky. the image has a sepia tone, giving it a melancholic atmosphere. the overall mood of the image is somber and contemplative.,," image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- images
- 2.31 kB
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 460 MB xet
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 460 MB xet
- 917 MB xet
- 460 MB xet
- 917 MB xet
- 1.83 GB xet
- 460 MB xet
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 5.47 kB
- 917 MB xet
- 117 MB xet
- 231 MB xet
- 460 MB xet
- 60.1 MB xet
- 917 MB xet
- 916 MB xet
- 116 MB xet
- 231 MB xet