File size: 1,533 Bytes
fdd61f4
 
 
be4b936
721d172
c73bb85
721d172
 
 
c73bb85
 
 
be4b936
 
 
 
 
c73bb85
721d172
c73bb85
be4b936
c73bb85
be4b936
bde15db
721d172
364d9a9
 
721d172
be4b936
1cd3664
0e7144e
f14280e
0e7144e
f14280e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
license: openrail
---
Introducing the Beta Version of TemporalNet

TemporalNet is a ControlNet model designed to enhance the temporal consistency of generated outputs, as demonstrated in this example: https://twitter.com/CiaraRowles1/status/1637486561917906944. While it does not eliminate all flickering, it significantly reduces it, particularly at higher denoise levels. For optimal results, it is recommended to use TemporalNet in combination with other methods.

Instructions for Use:

1) Add the model to your models folder in the ControlNet extension in Automatic1111's Web UI.

2) Create a folder that contains:

- A subfolder named "Input_Images" with the input frames
- A PNG file called "init.png" that is pre-stylized in your desired style
- The "temporalvideo.py" script

3) Customize the "temporalvideo.py" script according to your preferences, such as the image resolution, prompt, and control net settings.

4) Launch Automatic1111's Web UI with the --api setting enabled.

5) Execute the Python script.

*Please note that the "init.png" image will not significantly influence the style of the output video. Its primary purpose is to prevent a drastic change in aesthetics during the first few frames.*

Also, I highly recommend you use this in conjunction with the hed model, the settings are already in the script.

ToDo:

Write an Extension for the web ui.

Write a feature that automatically generates an "init.png" image if none is provided.

Change the extension to .safetensors and investigate compression.