Text-to-Image
Diffusers
stable-diffusion
lora

LoRA - Estilo de ilustraciones de libros antiguos (SD v1-4)

LoRA entrenada sobre CompVis/stable-diffusion-v1-4 con el dataset gigant/oldbookillustrations para reproducir el estilo de las ilustraciones de libros antiguos.

🔁 Versión de finetuning completo (pipeline entero con la UNet finetuneada): manupm87/finetuned-sd-1.4-oldbookillustrations.

Trigger de estilo: anade old book illustration, engraving, antique al final del prompt para activar el estilo.

Uso

import torch
from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained(
    "CompVis/stable-diffusion-v1-4", torch_dtype=torch.float16,
).to("cuda")
pipe.load_lora_weights("manupm87/finetuned-sd-1.4-oldbookillustrations-lora")

prompt = "a lighthouse on a cliff, old book illustration, engraving, antique"
image = pipe(prompt).images[0]
image.save("output.png")

Detalles del entrenamiento

Parametro Valor
Modelo base CompVis/stable-diffusion-v1-4
Dataset gigant/oldbookillustrations (columnas 1600px / info_alt)
Metodo LoRA en la UNet (capas de atencion)
Rango / alpha 16 / 16
Epocas 3
Learning rate 0.0001
Batch size 6
Resolucion 512x512
Trigger de estilo old book illustration, engraving, antique

Ejemplos

Generadas con esta LoRA (con el trigger de estilo, misma semilla):

Prompt Imagen
A sailing ship with billowing sails rides the tall waves of a stormy sea
A ruined castle stands on a cliff overlooking the misty sea at dusk
A young girl wanders alone into a forest of tall, twisted trees
A solitary lighthouse rises above the rocky shore as waves break below it
A steam locomotive races across the countryside, trailing a long plume of smoke
Downloads last month
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for manupm87/finetuned-sd-1.4-oldbookillustrations-lora

Adapter
(597)
this model

Dataset used to train manupm87/finetuned-sd-1.4-oldbookillustrations-lora