--- license: creativeml-openrail-m tags: - pytorch - diffusers - stable-diffusion - text-to-image - diffusion-models-class - dreambooth-hackathon - landscape widget: - text: a photo of ppaine landscape, NIKON Z FX, cinematic light, galaxy sky --- # Dreambooth Hackaton 23': How can we use a text-to-image generative model to explore the cinematographic appeal of Torres del Paine ๐Ÿ‡จ๐Ÿ‡ฑ? > _Torres del Paine National Park is a national park encompassing mountains, glaciers, lakes, and rivers in southern Chilean Patagonia._ > _It is also part of the End of the World Route, a tourist scenic route. [Wikipedia](https://en.wikipedia.org/wiki/Torres_del_Paine_National_Park)_
Torres del Paine Snowcatt photo, Unsplash
Snowscat's' Photo, Unsplash
- Reddit post #1: [Dreambooth Hackaton: How can we use a text-to-image model to explore the cinematographic appeal of Torres del Paine ๐Ÿ‡จ๐Ÿ‡ฑ?](https://www.reddit.com/r/StableDiffusion/comments/109fjdu/dreambooth_hackaton_how_can_we_use_a_texttoimage/) - Reddit post #2: [Animal statues at Torres del Paine, ppain landscape model; Dreambooth + StableDiffusion](https://www.reddit.com/r/StableDiffusion/comments/10a55pz/animal_statues_at_torres_del_paine_ppain/) ## Description DreamBooth model for the ppaine concept trained by alkzar90 on the alkzar90/torres-del-paine dataset. This is a Stable Diffusion model fine-tuned on the ppaine concept with DreamBooth. It can be used by modifying the `instance_prompt`: **a photo of ppaine landscape** This model was created as part of the DreamBooth Hackathon ๐Ÿ”ฅ. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part! This is a Stable Diffusion model fine-tuned on `landscape` images for the landscape theme. ## Cinematographics rendering & Object/Artifacts insertion
Torres del Paine Landscape Model - Cinematographic Renderings/Artifacts Inmersion
Figure 1: Cinematographics renderings and object/artifacts insertions in the Chilean Torres del Paine national park. Text prompts for generated images up-to-down rows and left-to-right; (i) "The ppaine landscape in the middle earth, cinematic light, lord of the ring style, epic", (ii) "The ppaine landscape in the middle earth, a visible dragon skeleton bones, cinematic light, lord of the ring style, epic", (iii) "A long branches forest in the ppaine landscape, mountain peaks at the background, cinematic light, realistic, lord of the ring style, epic", (iv) "A futuristic jeep riding in ppaine landscape, cinematic light, technology, (v) "A futuristic tensor airship flying over the ppaine landscape at night, NIKON-Z-FX", (vi) "A huge tensor bridge in the ppaine landscape, cinematic light, majestic, architecture".
### Animal Statues
Condor statue in Torres del Paine landscape
Figure 2-a: Animal statues in the Chilean Torres del Paine national park. Text prompts for the image: "A photo of an ancient stone condor statue in the ppaine landscape, michaelangelo, majestic, NIKON-Z-FX, 28mm",
Huemul marble statue in Torres del Paine landscape
Figure 2-b: Animal statues in the Chilean Torres del Paine national park. Text prompts for the image: "A photo of a marble huemul statue in the ppaine landscape, majestic, michaelangelo, NIKON-Z-FX, 28mm",
## Director's eye view What does the director's cut concept mean? The definition by the [Merriam-Webster dictionary](https://www.merriam-webster.com/dictionary/director%27s%20cut#:~:text=noun,version%20created%20for%20general%20distribution) is: _"a version of a motion picture that is edited according to the director's wishes and that usually includes scenes cut from the version created for general distribution"_.
Torres del Paine Landscape Model - Wes Anderson's cut
Figure 3: Illustration of the director cuts of the Chilean Torres del Paine national park, in Wes Anderson's eyes. Text prompts for generated images left-to-right; (i) "The ppaine landscape, Wes Anderson style, cinematic light", (ii) "The ppaine landscape with a small house in the middle, Wes Anderson style, fish eye", (iii) "The ppaine landscape with a small house in the middle, Wes Anderson style, fish eye".
## Artistic Style Transfer
Torres del Paine Landscape Model - Artist Style Painting
Figure 4: Artistic renderings of the Chilean Torres del Paine national park in the style of famous painters. Text prompts for generated images up-to-down rows and left-to-right; (i) "A painting of the ppaine landscape, Vincent Van Gogh style", (ii) "A painting of the ppaine landscape, Michelangelo style", (iii) "A painting of the ppaine landscape, Botero style", (iv) "A painting of the ppaine landscape, Pierre-Auguste Renoir style", (v) "A painting of the ppaine landscape, Leonardo Da Vinci style", (vi) "A painting of the ppaine landscape, Rembrandt style".
## Usage ```python from diffusers import StableDiffusionPipeline pipeline = StableDiffusionPipeline.from_pretrained('alkzar90/ppaine-landscape') image = pipeline().images[0] image ``` ## References * [DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation (Ruiz et al. 2022)](https://arxiv.org/abs/2208.12242}) * [High-Resolution Image Synthesis with Latent Diffusion Models (Rombach et al., 2022 )](https://arxiv.org/abs/2112.10752) * [Training Stable Diffusion with Dreambooth using ๐Ÿงจ Diffusers (Post)](https://huggingface.co/blog/dreambooth) * [Hugging Face DreamBooth Hackathon](https://github.com/huggingface/diffusion-models-class/tree/main/hackathon) ## Thanks to John Whitaker and Lewis Tunstall Thanks to [John Whitaker](https://github.com/johnowhitaker) and [Lewis Tunstall](https://github.com/lewtun) for writing out and describing the initial hackathon parameters at https://huggingface.co/dreambooth-hackathon.