You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+56-12Lines changed: 56 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ Try interpolating on the hidden vectors of conditioning prompt to make seemingly
34
34
35
35
⚪ Features
36
36
37
+
- 2023/01/20: `v2.0` add optional external [post-processing pipeline](#post-processing-pipeline) to highly boost up smoothness, greate thx to [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) and [RIFE](https://github.com/nihui/rife-ncnn-vulkan)!!
37
38
- 2023/01/16: `v1.5` add upscale options (issue #12); add 'embryo' genesis, reproducing idea of [stable-diffusion-animation](https://replicate.com/andreasjansson/stable-diffusion-animation) except [FILM](https://github.com/google-research/frame-interpolation) support (issue #11)
38
39
- 2023/01/12: `v1.4` remove 'replace' & 'grad' mode support, due to webui's code change
39
40
- 2022/12/11: `v1.3` work in a more 'successive' way, idea borrowed from [deforum](https://github.com/deforum-art/deforum-for-automatic1111-webui) ('genesis' option)
@@ -58,6 +59,7 @@ Try interpolating on the hidden vectors of conditioning prompt to make seemingly
58
59
- freeze all other settings (`steps`, `sampler`, `cfg factor`, `seed`, etc.)
59
60
- note that only the major `seed` will be forcely fixed through all processes, you can still set `subseed = -1` to allow more variances
60
61
- export a video!
62
+
- follow [post-processing pipeline](#post-processing-pipeline) to get much better result 👌
61
63
62
64
⚪ Txt2Img
63
65
@@ -73,13 +75,18 @@ Try interpolating on the hidden vectors of conditioning prompt to make seemingly
73
75
| Eular a ||||
74
76
| DDIM ||||
@@ -106,7 +113,7 @@ Hypernet: (this is my secret :)
106
113
- prompt: (list of strings)
107
114
- negative prompt: (list of strings)
108
115
- input multiple lines of prompt text
109
-
- we call each line of prompt a stage, usually you need at least 2 lines of text to starts travel (unless in 'grad' mode)
116
+
- we call each line of prompt a stage, usually you need at least 2 lines of text to starts travel
110
117
- if len(positive_prompts) != len(negative_prompts), the shorter one's last item will be repeated to match the longer one
111
118
- steps: (int, list of int)
112
119
- number of images to interpolate between two stages
@@ -116,8 +123,8 @@ Hypernet: (this is my secret :)
116
123
-`fixed`: starts from pure noise in txt2img pipeline, or from the same ref-image given in img2img pipeline
117
124
-`successive`: starts from the last generated image (this will force txt2img turn to actually be img2img from the 2nd frame on)
118
125
-`embryo`: starts from the same half-denoised image, see [=> How does it work?](https://replicate.com/andreasjansson/stable-diffusion-animation#readme)
119
-
- (experimental): it only processes 2 lines of prompts, and does not interpolate on negative_prompt, and with no FILM postprocessing :(
120
-
- genesis_extra_params:
126
+
- (experimental) it only processes 2 lines of prompts, and does not interpolate on negative_prompt :(
127
+
- genesis_extra_params
121
128
- denoise_strength: (float), denoise strength in img2img pipelines (for `successive`)
122
129
- embryo_step: (int or float), steps to hatch the common embryo (for `embryo`)
123
130
- if >= 1, taken as step cout
@@ -143,6 +150,38 @@ Manual install:
143
150
2. (Optional) Restart the webui
144
151
145
152
153
+
### Post-processing pipeline
154
+
155
+
There are still two steps away from a really smooth and high resolution animation, namely image **super-resolution** & video **frame interpolation** (see `third-party tools` below).
156
+
⚠ Media data processing is intrinsic resource-exhausting, and it's also not webui's work or duty, hence we separated it out. 😃
157
+
158
+
#### setup once
159
+
160
+
⚪ auto install
161
+
162
+
- run `tools/install.cmd`
163
+
- if you got any errors like `Access denied.`, try run it again until you see `Done!` without errors 😂
164
+
- you will have three components: [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan), [RIFE](https://github.com/nihui/rife-ncnn-vulkan) and [FFmpeg](https://ffmpeg.org/) installed under the [tools](tools) folder
165
+
166
+
⚪ manually install
167
+
168
+
- understand the `tools` folder layout => [tools/README.txt](tools/README.txt)
169
+
- if you indeed wanna put the tools elsewhere, modify paths in [tools/link.cmd](tools/link.cmd) and run `tools/link.cmd` 😉
0 commit comments