0
1

Comfy UIインストールとサンプル作成

Posted at

Comfy UIのサイトから7-zipをダウンロード
https://github.com/comfyanonymous/ComfyUI

※7-Zipのインストーラーはこちら
https://www.7-zip.org/

image.png

Comfy UI Managerのダウンロード
https://github.com/ltdrdata/ComfyUI-Manager

image.png
image.png

custom_nodesからコマンドプロンプト(cmd)を開く
ComfyUI231129\ComfyUI_windows_portable\ComfyUI\custom_nodes

https://github.com/ltdrdata/ComfyUI-Manager
CodeからURLをコピー
image.png

git cloneでURLを貼り付け

image.png

image.png

run_nvidia_gpu.batファイルをダブルクリックで起動
image.png

起動しました。
image.png

このbatファイルでアップデートできる。
image.png

--

使ってみよう。
画像からビデオにする。

ここからビデオをサンプルダウンロード
https://comfyanonymous.github.io/ComfyUI_examples/video/

image.png

ダウンロードした動画をドラックアンドドロップでこちらが表示される。
image.png

stable diffusionフォルダの読み込みをつくる
extra_model_paths.yaml.exampleのyaml以下を削除してパスを入れる。
image.png

モデルを選択
image.png

ここに入れてます。
image.png
これを使いました。
https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/blob/main/svd_image_decoder.safetensors

25フレームにしておく。Queue Promptで生成。
image.png

動画で保存できるようにする。
Managerをクリック
Install Custaom Nodesを選択
image.png

vhsでsearch
image.png

インストールする。
インストール後にRestartを求められるのでリスタートする。
image.png

何もないところでダブルクリックをして出てきたウィンドウでvhsを検索する。
VHS _VideoCombineをクリック
image.png

nodeの繋ぎ変え。
image.png

6フレームに
名前をAnimateDiffからSVD-XTに変更
フォーマットはh264に
image.png

Queue Promptで生成

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1