nitrosocke commited on
Commit
a929fcb
1 Parent(s): e426c2f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -0
README.md CHANGED
@@ -1,3 +1,72 @@
1
  ---
 
 
2
  license: creativeml-openrail-m
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
  license: creativeml-openrail-m
5
+ thumbnail: "https://huggingface.co/nitrosocke/redshift-diffusion/resolve/main/images/redshift-diffusion-samples-01s.jpg"
6
+ tags:
7
+ - stable-diffusion
8
+ - text-to-image
9
+ - image-to-image
10
+
11
  ---
12
+ ### Ghibli Diffusion
13
+
14
+ This is the fine-tuned Stable Diffusion model trained on images from modern anime feature films from Studio Ghibli.
15
+ Use the tokens **_ghibli style_** in your prompts for the effect.
16
+
17
+ **If you enjoy my work and want to test new models before release, please consider supporting me**
18
+ [![Become A Patreon](https://badgen.net/badge/become/a%20patron/F96854)](https://patreon.com/user?u=79196446)
19
+
20
+ **Characters rendered with the model:**
21
+ ![Characters Samples](https://huggingface.co/nitrosocke/Ghibli-Diffusion/resolve/main/images/ghibli-diffusion-samples-01s.jpg)
22
+ **Cars and Animals rendered with the model:**
23
+ ![Misc. Samples](https://huggingface.co/nitrosocke/Ghibli-Diffusion/resolve/main/images/ghibli-diffusion-samples-02s.jpg)
24
+ **Landscapes rendered with the model:**
25
+ ![Landscape 1](https://huggingface.co/nitrosocke/Ghibli-Diffusion/resolve/main/images/ghibli-diffusion-samples-03s.jpg)
26
+ ![Landscape 2](https://huggingface.co/nitrosocke/Ghibli-Diffusion/resolve/main/images/ghibli-diffusion-samples-04s.jpg)
27
+
28
+ #### Prompt and settings for Tony Stark:
29
+ **(redshift style) robert downey jr as ironman Negative prompt: glasses helmet**
30
+ _Steps: 40, Sampler: DPM2 Karras, CFG scale: 7, Seed: 908018284, Size: 512x704_
31
+
32
+ #### Prompt and settings for the Ford Mustang:
33
+ **redshift style Ford Mustang**
34
+ _Steps: 20, Sampler: DPM2 Karras, CFG scale: 7, Seed: 579593863, Size: 704x512_
35
+
36
+ This model was trained using the diffusers based dreambooth training by ShivamShrirao using prior-preservation loss and the _train-text-encoder_ flag in 15.000 steps.
37
+
38
+ <!-- ### Gradio
39
+
40
+ We support a [Gradio](https://github.com/gradio-app/gradio) Web UI run redshift-diffusion:
41
+ [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/nitrosocke/Ghibli-Diffusion-Demo)-->
42
+
43
+ ### 🧨 Diffusers
44
+
45
+ This model can be used just like any other Stable Diffusion model. For more information,
46
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
47
+
48
+ You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
49
+
50
+ ```python
51
+ from diffusers import StableDiffusionPipeline
52
+ import torch
53
+
54
+ model_id = "nitrosocke/ghibli-diffusion"
55
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
56
+ pipe = pipe.to("cuda")
57
+
58
+ prompt = "ghibli style magical princess with golden hair"
59
+ image = pipe(prompt).images[0]
60
+
61
+ image.save("./magical_princess.png")
62
+ ```
63
+
64
+ ## License
65
+
66
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
67
+ The CreativeML OpenRAIL License specifies:
68
+
69
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
70
+ 2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
71
+ 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
72
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)