better examples
parent
3c69efe7a8
commit
0cb020b157
Binary file not shown.
|
After Width: | Height: | Size: 3.0 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
Binary file not shown.
18
readme.md
18
readme.md
|
|
@ -3,11 +3,25 @@ This project allows you to automate video stylization task using StableDiffusion
|
||||||
|
|
||||||
|
|
||||||
### Video to Video Examples:
|
### Video to Video Examples:
|
||||||
|
<!--
|
||||||
[](https://youtu.be/j-0niEMm6DU)
|
[](https://youtu.be/j-0niEMm6DU)
|
||||||
|
|
||||||
|
|
||||||
This script can also be using to swap the person in the video like in this example: https://youtube.com/shorts/be93_dIeZWU
|
This script can also be using to swap the person in the video like in this example: https://youtube.com/shorts/be93_dIeZWU
|
||||||
|
-->
|
||||||
|
</table>
|
||||||
|
<table class="center">
|
||||||
|
<tr>
|
||||||
|
<td><img src="examples/girl_org.gif" raw=true></td>
|
||||||
|
<td><img src="examples/girl_to_jc.gif" raw=true></td>
|
||||||
|
<td><img src="examples/girl_to_wc.gif" raw=true></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td width=33% align="center">Original video</td>
|
||||||
|
<td width=33% align="center">"Jessica Chastain"</td>
|
||||||
|
<td width=33% align="center">"Watercolor painting"</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
Examples presented are generated at 1024x576 resolution using the 'realisticVisionV13_v13' model as a base. They were cropt, downsized and compressed for better loading speed. You can see them in their original quality in the 'examples' folder.
|
||||||
|
|
||||||
### Text to Video Examples:
|
### Text to Video Examples:
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,10 @@ import datetime
|
||||||
|
|
||||||
INPUT_VIDEO = "input.mp4"
|
INPUT_VIDEO = "input.mp4"
|
||||||
FLOW_MAPS = "flow.h5"
|
FLOW_MAPS = "flow.h5"
|
||||||
OUTPUT_VIDEO = f'result_{datetime.datetime.now().strftime("%Y-%m-%d_%H:%M:%S")}.mp4'
|
OUTPUT_VIDEO = f'videos/result_{datetime.datetime.now().strftime("%Y-%m-%d_%H:%M:%S")}.mp4'
|
||||||
|
|
||||||
PROMPT = "RAW photo, Jessica Chastain, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3"
|
PROMPT = "Watercolor painting"
|
||||||
N_PROMPT = "person, skin, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
|
N_PROMPT = "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
|
||||||
w,h = 1024, 576 # Width and height of the processed image. Note that actual image processed would be a W x H resolution.
|
w,h = 1024, 576 # Width and height of the processed image. Note that actual image processed would be a W x H resolution.
|
||||||
|
|
||||||
START_FROM_IND = 0 # index of a frame to start a processing from. Might be helpful with long animations where you need to restart the script multiple times
|
START_FROM_IND = 0 # index of a frame to start a processing from. Might be helpful with long animations where you need to restart the script multiple times
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue