valhalla's picture
Update README.md
6bebd0d
metadata
language:
  - en
license: openrail++
thumbnail: >-
  https://huggingface.co/valhalla/mad_max_diffusion-sd2/resolve/main/mad-max-fr.png
tags:
  - stable-diffusion
  - text-to-image
  - image-to-image
  - diffusers

Mad Max: Fury Road Diffusion (SD 2.0, 768x768)

This is the fine-tuned Stable Diffusion model trained on images from Mad Max: Fury Road. Use the tokens mad_max_fr in your prompts for the effect.

Images rendered with the model: Turn your favorite cars, city's, characters in fury road style.

Samples

🧨 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.

from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
import torch
model_id = "valhalla/mad_max_diffusion-sd2"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16).to("cuda")
pipe.enable_attention_slicing()
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)

prompt = "The streets of Paris with eiffel tower in the background in the style of mad_max_fr"
image = pipe(prompt, num_inference_steps=30).images[0]
image.save("./paris-mad-max-fr.png")