ebsynth-utility短片轉動畫,係開工之前,需准备架餐.
- EbSynth
- Ebsynth_Utility
- FFmpeg BIN設定指南
- transparent-background遮罩
- 首先建立工程project資料夾, 以『a~z/A~Z』起名,『吉格』以『-』替换.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input |
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output |
- 係input下擺影片
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input\model.mp4 |
- 著『stable diffusion webui』
- 撳『Ebsynth Utility』->『stage1』分幀同埋遮罩
- 『Project directory』工程資料夾路徑,吉資料夾.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output |
- 『Original Movie Path』填影片路徑
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input\model.mp4 |
- 撳『Configuration』->『stage1』
- 『Frame Width』『Frame Height』填『-1』,與影片寬高臺致.
- 『Mask Threshold』遮罩閾值『0~0.1』ࣿ
- 撳『Generate』生成『video_frame』分幀『video_mask』遮罩.
- 『video_frame』分幀
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_frame |
- 『video_mask』輸出幀遮罩
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_mask |
- 撳『Ebsynth Utility』->『stage2』生成關鍵幀
- 撳『Configuration』->『stage2』
- 『Minimum keyframe gap』最细關鍵幀間隔,默認
- 『Maximum keyframe gap』最大關鍵幀間隔,默認
- 『Threshold of delta frame edge』幀邊緣檢測閾值. 默認5
- 撳『Generate』复制關鍵幀『video_key』
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_key |
- 撳『Ebsynth Utility』->『stage3』轉二元.
- 『Stable Diffusion checkpoint』揀貳次元模型『safetensors』
- 撳『img2img』
- 『prompt』咒詞
Masterpiece,Ultra high res,High quality,4k,(Photorealistic:1.2),Photo,Miniskirt,Breasts,large breasts,Navel,Lace, |
- 『Negative prompt』反向咒詞
(worst quality:2), (low quality:2), (normal quality:2),lowres,((monochrome)),((grayscale)), (monochrome), skin spots, acnes, skin blemishes, age spot, glans,extra limbs,extra arms,extra legs,extra leg,extra foot,extra fingers,fewer fingers,strange fingers,missing arms,missing legs,missing fingers,fused fingers,too many fingers,bad hand,(bad_prompt:0.8), bad anatomy,bad hands, bad feet,bad body,bad proportions,gross proportions,DeepNegative,(fat:1.2),looking away,tilted head,{Multiple people},text,error,extra digit,fewer digits,cropped,jpeg artifacts,signature,watermark,username,blurry,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,malformed limbs,long neck,cross-eyed,mutated hands,polar lowres, |
- 『Resize by』->『WIDTH』『HEIGHT』與原片寛高壹致.
- 『Denoising strength重绘幅度』值細於『5』值越細圖像與原圖越似.
- 『SEED』随機種子.随意填固定值,例『123』.
- 係『script脚本』揀『ebsynth utility』
- 係『Project directory』填工程路徑.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output |
- 係『Mask option (Override img2img Mask mode)』遮罩揀『Normal』
- 係『Inpaint Area(Override img2img Inpaint area)』揀『Only masked』僅重繪遮罩.
- 『Control Net Weight』权重『5』
- 『Control Net Weight For Face』face权重『5』
- 勾『Use Preprocess image If exists in /controlnet_preprocess』
- 撳『Settings』->『ControlNet』 .
- 勾『Allow other script to control this extension』允许 ControlNet 畀其它脚本调用.
- 『Apply settings』應用設定.
- 撳『img2img』->『Generate』生成『controlnet_input』同埋『img2img_key』
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_key |
- 撳『Ebsynth Utility』->『5』校色
- 撳『Color Transfer Method』揀『default』
- 撳『Color Matcher Ref Image Type』揀『original video frame』
- 撳『Generate』生成撳『st3_5_backup_img2img_key』
- 撳『Ebsynth Utility』->『stage4』放大關鍵幀
- 撳『Settings』->『Saving images/grids』
- 勾『Use original name for output filename during batch process in extras tab』. 原始名稱作為輸出檔名
- 撳『Apply settings』應用設定.
- 撳『extrans』->『Batch from Directory』從資料㚒批次處理
- 『Input directory』輸入資料㚒
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_key |
- 『Output directory』輸出資料㚒
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_upscale_key |
- 『Upscaler1』揀『4x-UltraSharp』
- 『Scale By』揀『1』
- 撳『extrans』->『Generate』生成『img2img_upscale_key』放大關鍵幀.
- 撳『Ebsynth Utility』->『stage5』生成ebs文檔.
- 撳『Generate』生成ebs文檔.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\xxxxx.ebs |
- 撳『Ebsynth Utility』->『stage6』生成過度幀.
- 著『Ebsynth』載入『ebs』,頁眉顯示當前EBS檔名.
- 撳『Run All』生成『out』
- Ebsynth 過渡幀狀態變成 Synth後,依次載入『ebs』『00002.ebs』『00003.ebs』…重复上述两步.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\out-… |
- 撳『Ebsynth Utility』->『stage7』合成短片.
- 『Crossfade blend rate』速率填
- 『Export type』可揀『mp4』『webm』『gif』『rawvideo』.
- 撳『Generate』生成两條片壹條有聲壹條冇聲.
- 撳『Ebsynth Utility』->『stage8』替換背景.
- 『Background source』背景可揀『圖』或『短片』
- 『Background type』可揀『Fit video length』或『LOOP』
正面咒詞 | 譯 |
Masterpiece, | 傑作 |
Ultra high res, | 超高解像 |
High quality, | 高品質 |
4k, | 4k |
(Photorealistic:1.2), | 真實感 |
Photo, | 相片 |
Miniskirt, | 迷你裙 |
Breasts, | 胸部 |
large breasts, | 大乳 |
Navel, | 肚臍 |
Lace, | 蕾絲 |
WHITE LACE, | 白色蕾絲 |
a girl with Tulle skirt, | 薄紗裙 |
a girl with Lace blouse, | 蕾絲襯衫 |
反向咒語Negative Prompt | 簡述 |
(worst quality:2), | 低質內容 |
(low quality:2), | 低質內容 |
(normal quality:2), | 低質內容 |
lowres, | 低質內容 |
((monochrome)), | 黑白 |
((grayscale)), | 灰階 |
(monochrome), | 單色 |
skin spots, | 皮膚斑點 |
acnes, | 痤瘡 |
skin blemishes, | 皮膚瑕疵 |
age spot, | 老人斑 |
glans, | 龜頭 |
extra limbs, | 多餘肢體 |
extra arms, | 額外武器 |
extra legs, | 多餘腳瓜瓤 |
extra leg, | 多餘腳瓜瓤, |
extra foot, | 多餘腳掌 |
extra fingers, | 手指太多 |
fewer fingers, | 手指更少 |
strange fingers, | 怪手指 |
missing arms, | 缺手瓜 |
missing legs, | 缺腳瓜瓤 |
missing fingers, | 缺手指 |
fused fingers, | 融合手指 |
too many fingers, | 手指太多 |
bad hand, | 歪手 |
(bad_prompt:0.8), | 不良提示 |
bad anatomy, | 解剖不良 |
bad hands, | 歪手 |
bad feet, | 脚 |
bad body, | 歪身歪勢, |
bad proportions, | 身體比例差, |
gross proportions, | 總比例 |
DeepNegative, | 深度負面 |
(fat:1.2), | 脂肪 |
looking away, | 睇向別處 |
tilted head, | 側頭 |
{Multiple people}, | 多人 |
text, | 文字 |
error, | 錯字 |
extra digit, | 額外數字 |
fewer digits, | 細數 |
cropped, | 裁剪 |
jpeg artifacts, | 壓縮痕跡 |
signature, | 簽名 |
watermark, | 水印 |
username, | 身份 |
blurry, | 模糊 |
cropped, | 裁剪 |
poorly drawn hands, | 手畫得吾靚 |
poorly drawn face, | 樣畫得吾靚 |
mutation, | 突變 |
deformed, | 變形 |
malformed limbs, | 肢體畸形 |
long neck, | 長頸 |
cross-eyed, | 鬥雞眼 |
mutated hands, | 手型變異 |
polar lowres, | 極地低氣壓 |
你必須登入才能發表留言。