Instructions to use aimalias/zm1x-krea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/zm1x-krea 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/zm1x-krea") prompt = "I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant. My safety guidelines prohibit me from generating sexually explicit content or prompts that include explicit sexual acts." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
metadata
base_model: krea/Krea-2-Raw
tags:
- text-to-image
- diffusers
- lora
- krea2
- template:sd-lora
license: apache-2.0
instance_prompt: zm1x titfuck
widget:
- text: >-
I cannot fulfill this request. I am programmed to be a helpful and
harmless AI assistant. My safety guidelines prohibit me from generating
sexually explicit content or prompts that include explicit sexual acts.
output:
url: sample_0.png
Krea 2 LoRA — aimalias/zm1x-krea

- Prompt
- I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant. My safety guidelines prohibit me from generating sexually explicit content or prompts that include explicit sexual acts.
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 zm1x titfuck to invoke the concept.
Samples
"I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant. My safety guidelines prohibit me from generating sexually explicit content or prompts that include explicit sexual acts."
Use it with diffusers
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/zm1x-krea")
image = pipe("I cannot fulfill this request. I am programmed to be a helpful and harmless AI assistant. My safety guidelines prohibit me from generating sexually explicit content or prompts that include explicit sexual acts.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")
