Stable-Diffusion-ebsynth-utility短片轉動畫

Stable Diffusion-ebsynth utility下載安裝
Stable Diffusion-ebsynth utility下載安裝
EbSynth生成過渡幀
EbSynth生成過渡幀
transparent-background遮罩
transparent-background遮罩
FFmpeg BIN設定指南
FFmpeg BIN設定指南

ebsynth-utility短片轉動畫,係開工之前,需准备架餐.

  1. EbSynth
  2. Ebsynth_Utility
  3. FFmpeg BIN設定指南
  4. transparent-background遮罩
  5. 首先建立工程project資料夾, 以『a~z/A~Z』起名,『吉格』以『-』替换.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output
  1. 係input下擺影片
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input\model.mp4
  1. 著『stable diffusion webui』

 

 

 

 

  1. 撳『Ebsynth Utility』->『stage1』分幀同埋遮罩
  2. 『Project directory』工程資料夾路徑,吉資料夾.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output
  1. 『Original Movie Path』填影片路徑
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\input\model.mp4
  1. 撳『Configuration』->『stage1』
  2. 『Frame Width』『Frame Height』填『-1』,與影片寬高臺致.
  3. 『Mask Threshold』遮罩閾值『0~0.1』ࣿ
  4. 撳『Generate』生成『video_frame』分幀『video_mask』遮罩.
  5. 『video_frame』分幀
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_frame
  1. 『video_mask』輸出幀遮罩
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_mask

 

 

 

  1. 撳『Ebsynth Utility』->『stage2』生成關鍵幀
  2. 撳『Configuration』->『stage2』
  3. 『Minimum keyframe gap』最细關鍵幀間隔,默認
  4. 『Maximum keyframe gap』最大關鍵幀間隔,默認
  5. 『Threshold of delta frame edge』幀邊緣檢測閾值. 默認5
  6. 撳『Generate』复制關鍵幀『video_key』
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\video_key

 

 

 

  1. 撳『Ebsynth Utility』->『stage3』轉二元.
  2. 『Stable Diffusion checkpoint』揀貳次元模型『safetensors』
  3. 撳『img2img』
  4. 『prompt』咒詞
Masterpiece,Ultra high res,High quality,4k,(Photorealistic:1.2),Photo,Miniskirt,Breasts,large breasts,Navel,Lace,
  1. 『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,
  1. 『Resize by』->『WIDTH』『HEIGHT』與原片寛高壹致.
  2. 『Denoising strength重绘幅度』值細於『5』值越細圖像與原圖越似.
  3. 『SEED』随機種子.随意填固定值,例『123』.
  4. 係『script脚本』揀『ebsynth utility』
  5. 係『Project directory』填工程路徑.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output
  1. 係『Mask option (Override img2img Mask mode)』遮罩揀『Normal』
  2. 係『Inpaint Area(Override img2img Inpaint area)』揀『Only masked』僅重繪遮罩.
  3. 『Control Net Weight』权重『5』
  4. 『Control Net Weight For Face』face权重『5』
  5. 勾『Use Preprocess image If exists in /controlnet_preprocess』
  6. 撳『Settings』->『ControlNet』 .
  7. 勾『Allow other script to control this extension』允许 ControlNet 畀其它脚本调用.
  8. 『Apply settings』應用設定.
  9. 撳『img2img』->『Generate』生成『controlnet_input』同埋『img2img_key』
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_key

 

 

  1. 撳『Ebsynth Utility』->『5』校色
  2. 撳『Color Transfer Method』揀『default』
  3. 撳『Color Matcher Ref Image Type』揀『original video frame』
  4. 撳『Generate』生成撳『st3_5_backup_img2img_key』

 

 

  1. 撳『Ebsynth Utility』->『stage4』放大關鍵幀
  2. 撳『Settings』->『Saving images/grids』
  3. 勾『Use original name for output filename during batch process in extras tab』. 原始名稱作為輸出檔名
  4. 撳『Apply settings』應用設定.
  5. 撳『extrans』->『Batch from Directory』從資料㚒批次處理
  6. 『Input directory』輸入資料㚒
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_key
  1. 『Output directory』輸出資料㚒
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\output\img2img_upscale_key
  1. 『Upscaler1』揀『4x-UltraSharp』
  2. 『Scale By』揀『1』
  3. 撳『extrans』->『Generate』生成『img2img_upscale_key』放大關鍵幀.

 

 

 

 

  1. 撳『Ebsynth Utility』->『stage5』生成ebs文檔.
  2. 撳『Generate』生成ebs文檔.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\xxxxx.ebs

 

 

 

  1. 撳『Ebsynth Utility』->『stage6』生成過度幀.
  2. 著『Ebsynth』載入『ebs』,頁眉顯示當前EBS檔名.
  3. 撳『Run All』生成『out』
  4. Ebsynth 過渡幀狀態變成 Synth後,依次載入『ebs』『00002.ebs』『00003.ebs』…重复上述两步.
Z:\Bookcard\Stable-Diffusion-ebsynth-utility\out-…

 

 

 

  1. 撳『Ebsynth Utility』->『stage7』合成短片.
  2. 『Crossfade blend rate』速率填
  3. 『Export type』可揀『mp4』『webm』『gif』『rawvideo』.
  4. 撳『Generate』生成两條片壹條有聲壹條冇聲.

 

 

 

 

  1. 撳『Ebsynth Utility』->『stage8』替換背景.
  2. 『Background source』背景可揀『圖』或『短片』
  3. 『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, 極地低氣壓

 

 

發佈留言