archer-diffusion / README.md
nitrosocke's picture
Add diffusers example (#3)
f9ecab4
|
raw
history blame
2.45 kB
metadata
license: creativeml-openrail-m

Archer Diffusion

This is the fine-tuned Stable Diffusion model trained on screenshots from the TV-show Archer. Use the tokens archer style in your prompts for the effect.

If you enjoy this model, please check out my other models on Huggingface

🧨 Diffusers

This model can be used just like any other Stable Diffusion model. For more information, please have a look at the Stable Diffusion.

You can also export the model to ONNX, MPS and/or FLAX/JAX.

#!pip install diffusers transformers scipy torch
from diffusers import StableDiffusionPipeline
import torch

model_id = "nitrosocke/archer-diffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "a magical princess with golden hair, archer style"
image = pipe(prompt).images[0]

image.save("./magical_princess.png")

Portraits rendered with the model: Portrait Samples Celebrities rendered with the model: Celebrities Samples Landscapes rendered with the model: Landscape Samples Animals rendered with the model: Animal Samples Sample images used for training: Training Samples

Prompt and settings for portraits:

archer style beautiful portrait of ariana grande Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 946707299, Size: 512x704

Prompt and settings for landscapes:

archer style suburban street night blue indoor lighting Negative prompt: grey cars Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2915669764, Size: 1024x576

This model was trained using the diffusers based dreambooth training and prior-preservation loss in 4.000 steps and using the train-text-encoder feature.