Downloads · 30 days
14
31% of all-time downloads
SkullSameh/ac-blackflag-style-lora
ac-blackflag-style-lora is a image-to-image model from SkullSameh. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
A LoRA fine-tune of Stable Diffusion 1.5's UNet that repaints a photo in the art style of Assassin's Creed Black Flag. Use it with img2img: upload a photo, get back a version of yourself painted like a pirate out of t…
Downloads · 30 days
14
31% of all-time downloads
All-time downloads
45
Public
Repo size
6.4 MB
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 MB · 100%
From the Hugging Face model README
A LoRA fine-tune of Stable Diffusion 1.5's UNet that repaints a photo in the art style of Assassin's Creed Black Flag. Use it with img2img: upload a photo, get back a version of yourself painted like a pirate out of the game.
Trained by Bakeer as part of the weekend_ai project, alongside captain-byte-qwen2.5-7b and the companion ac-blackflag-character-classifier.
import torch
from diffusers import StableDiffusionImg2ImgPipeline
from PIL import Image
pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
"stable-diffusion-v1-5/stable-diffusion-v1-5", torch_dtype=torch.float16
)
pipe.load_lora_weights("SkullSameh/ac-blackflag-style-lora")
pipe.to("cuda")
image = Image.open("your_photo.jpg").convert("RGB").resize((512, 512))
result = pipe(
prompt="concept art in the style of Assassin's Creed Black Flag, painterly pirate video game character portrait",
image=image,
strength=0.6,
guidance_scale=7.5,
).images[0]
result.save("stylized.png")
strength controls how much of your original photo is preserved: lower
values (~0.4-0.5) keep more of your likeness and background, higher values
(~0.7-0.9) lean further into the art style at the cost of resemblance.
stable-diffusion-v1-5/stable-diffusion-v1-5to_q, to_k, to_v, to_out.0), trained via PEFT + diffusers