Instructions to use aimalias/zm1x-retrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aimalias/zm1x-retrain 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-retrain") prompt = "A futuristic cyberpunk cyborg resting in a neon-lit rain-soaked alley, zm1x squeeze, cinematic lighting with iridescent puddles." 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 squeeze
widget:
- text: >-
A futuristic cyberpunk cyborg resting in a neon-lit rain-soaked alley,
zm1x squeeze, cinematic lighting with iridescent puddles.
output:
url: sample_0.png
- text: >-
A tiny, fluffy baby owl perched on a frosted pine branch during a heavy
snowfall, zm1x squeeze, macro photography with soft bokeh.
output:
url: sample_1.png
- text: >-
An ornate golden steampunk clockwork heart floating in a void of swirling
cosmic nebula, zm1x squeeze, hyper-realistic 8k digital art.
output:
url: sample_2.png
Krea 2 LoRA — aimalias/zm1x-retrain

- Prompt
- A futuristic cyberpunk cyborg resting in a neon-lit rain-soaked alley, zm1x squeeze, cinematic lighting with iridescent puddles.

- Prompt
- A tiny, fluffy baby owl perched on a frosted pine branch during a heavy snowfall, zm1x squeeze, macro photography with soft bokeh.

- Prompt
- An ornate golden steampunk clockwork heart floating in a void of swirling cosmic nebula, zm1x squeeze, hyper-realistic 8k digital art.
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 squeeze to invoke the concept.
Samples
"A futuristic cyberpunk cyborg resting in a neon-lit rain-soaked alley, zm1x squeeze, cinematic lighting with iridescent puddles."
"A tiny, fluffy baby owl perched on a frosted pine branch during a heavy snowfall, zm1x squeeze, macro photography with soft bokeh."
"An ornate golden steampunk clockwork heart floating in a void of swirling cosmic nebula, zm1x squeeze, hyper-realistic 8k digital art."
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-retrain")
image = pipe("A futuristic cyberpunk cyborg resting in a neon-lit rain-soaked alley, zm1x squeeze, cinematic lighting with iridescent puddles.", num_inference_steps=8, guidance_scale=0.0).images[0]
image.save("output.png")


