Downloads · 30 days
88
13% of all-time downloads
dimdimz/samuraijack-lora
samuraijack-lora is a text-to-image model from dimdimz. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
Downloads · 30 days
88
13% of all-time downloads
All-time downloads
670
Public
Repo size
3 GB
Likes
1
Public
Click a slice to open those files.
.safetensors3 GB · 100%
From the Hugging Face model README
Model trained with AI Toolkit by Ostris
You should use samuraijack to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('dimdimz/samuraijack-lora', weight_name='samuraijack_000002750.safetensors')
image = pipeline('samuraijack').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers