CoolFace
Modelpublic

cahlen/acid-ansi-lora

sourceHugging Faceopenrail++updated 7mo agoView on Hugging Face
1likes8downloads
Model Card

ACID ANSI LoRA

A LoRA fine-tune of Stable Diffusion XL 1.0 that generates images in the style of classic ANSI art from the BBS era (1990s). Trained on rendered ANSI/RIP art from the ACiD Productions art packs.

[image]

Usage

python
from diffusers import StableDiffusionXLPipeline
import torch

pipe = StableDiffusionXLPipeline.from_pretrained(
    "stabilityai/stable-diffusion-xl-base-1.0",
    torch_dtype=torch.float16,
).to("cuda")

pipe.load_lora_weights("cahlen/acid-ansi-lora")

prompt = "acid-ansi-style, a menacing skull wreathed in flames on a black background"
negative_prompt = "blurry, photorealistic, photo, smooth gradients, 3d render, watermark"

image = pipe(
    prompt,
    negative_prompt=negative_prompt,
    num_inference_steps=30,
    guidance_scale=7.5,
    cross_attention_kwargs={"scale": 0.7},
).images[0]

image.save("output.png")

Trigger Word

`acid-ansi-style` — prepend this to your prompts.

Recommended Settings

ParameterValue
Inference steps30
Guidance scale7.5
LoRA scale0.6 - 0.8 (0.7 recommended)
Negative promptblurry, photorealistic, photo, smooth gradients, 3d render, watermark

LoRA Scale

The LoRA scale controls style strength at inference time. Lower values (0.5-0.6) preserve more of the base model's composition while higher values (0.8-1.0) push harder into the ANSI style but may cause repetition artifacts. 0.7 is the recommended default.

Samples

All samples generated at step 3500, LoRA scale 0.7, seed 42.

SkullDragon
[image][image]
BBS LoginCityscape
[image][image]

Baseline Comparison (No LoRA)

Without LoRAWith LoRA (scale 0.7)
[image][image]

Training Details

ParameterValue
Base modelstabilityai/stable-diffusion-xl-base-1.0
LoRA rank32
LoRA alpha32
OptimizerProdigy (lr=1.0, constant scheduler)
Training steps3500
Batch size1 (gradient accumulation 4)
Precisionbf16
SNR gamma5
Noise offset0.05
Caption dropout0.15
Training frameworkSimpleTuner

Training Data

276 images derived from 50 curated ANSI/RIP art renders from ACiD Productions art packs (1993-1996):

  • —Nearest-neighbor upscaling to preserve blocky pixel edges
  • —Multi-crop extraction for tall/narrow ANSI art (overlapping 1440px sections)
  • —VGA 16-color palette quantization as data augmentation
  • —Instance prompt only (no per-image captions)