Instructions to use aimalias/sj0h4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/sj0h4 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-Raw", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("aimalias/sj0h4") prompt = "A cinematic shot of a SJ0H4 woman in futuristic neon armor standing amidst the rain-slicked streets of a cyberpunk Tokyo metropolis." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,992 Bytes
02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f 4ef7b78 02a6a9f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
base_model: krea/Krea-2-Raw
tags:
- text-to-image
- diffusers
- lora
- krea2
- template:sd-lora
license: apache-2.0
instance_prompt: "SJ0H4 woman"
widget:
- text: "A cinematic shot of a SJ0H4 woman in futuristic neon armor standing amidst the rain-slicked streets of a cyberpunk Tokyo metropolis."
output:
url: sample_0.png
- text: "A serene oil painting of a SJ0H4 woman reading an ancient leather-bound book in a sun-drenched Victorian library filled with floating dust motes."
output:
url: sample_1.png
- text: "A high-fashion editorial photo of a SJ0H4 woman wearing a flowing gold gown, posing atop a stark white salt flat under a deep violet galactic nebula sky."
output:
url: sample_2.png
---
# Krea 2 LoRA — aimalias/sj0h4
<Gallery />
A DreamBooth-LoRA for **Krea 2**, trained on **Krea 2 RAW** and shown on **Krea 2 Turbo**. The samples below were generated with this LoRA on Turbo (8 steps).
## Trigger
Use the token `SJ0H4 woman` to invoke the concept.
## Samples

> *"A cinematic shot of a SJ0H4 woman in futuristic neon armor standing amidst the rain-slicked streets of a cyberpunk Tokyo metropolis."*

> *"A serene oil painting of a SJ0H4 woman reading an ancient leather-bound book in a sun-drenched Victorian library filled with floating dust motes."*

> *"A high-fashion editorial photo of a SJ0H4 woman wearing a flowing gold gown, posing atop a stark white salt flat under a deep violet galactic nebula sky."*
## Use it with diffusers
```py
import torch
from diffusers import Krea2Pipeline
pipe = Krea2Pipeline.from_pretrained("krea/Krea-2-Turbo", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("aimalias/sj0h4")
image = pipe("A cinematic shot of a SJ0H4 woman in futuristic neon armor standing amidst the rain-slicked streets of a cyberpunk Tokyo metropolis.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
```
|