![見出し画像](https://assets.st-note.com/production/uploads/images/130456036/rectangle_large_type_2_59c9d3701cabdff5beda551558a4cb99.png?width=800)
ComfyUI で AnimateLCM を試す
「ComfyUI」で「AnimateLCM」を試したので、まとめました。
1. AnimateLCM
「AnimateLCM」は、最小限のステップで忠実度の高い動画生成を可能にする手法です。
2. ComfyUIでの実行
「ComfyUI」での実行手順は、次のとおりです。
(1) 「ComfyUI」のインストール。
(2) 「ComfyUI Manager」のインストール。
「ComfyUI/custom_nodes」で以下のコマンドを実行します。
!git clone https://github.com/ltdrdata/ComfyUI-Manager.git
「CompyUI」起動時に左のメニューに「Manager」が追加されます。
![](https://assets.st-note.com/img/1707575245304-0gZ2RF29WP.png)
(3) モデルの準備。
各モデルを以下の場所に配置します。上2つが「AnimateLCM」で提供されてるモデルで、下2つは任意のSD1.5モデルとVAEになります。
・sd15_t2v_beta.ckpt : ComfyUI/models/animatediff_models
・sd15_lora_beta.safetensors : ComfyUI/models/loras
・IrisMix-v3.safetensors : ComfyUI/models/checkpoints
・vae-ft-mse-840000-ema-pruned.safetensors : ComfyUI/models/vae
(4) 「ComfyUI-AnimateLCM」リポジトリからWorkflow「animatelcm.json」をダウンロードして、「ComfyUI」の画面にドロップ。
![](https://assets.st-note.com/img/1707576206661-PBQ17Ebk9y.png?width=800)
(5) エラーメッセージから足りないノードを確認。
・ADE_AnimateDiffLoaderGen1
・VHS_VideoCombine
![](https://assets.st-note.com/img/1707576301298-sK8Ux5rCuF.png?width=800)
(6) 「Manager」ボタンを押し、「Install Custom Nodes」ボタンを押し、以下の2つを検索して「Install」ボタンを押して、「ComfyUI」を再起動。
![](https://assets.st-note.com/img/1707576430092-D1cHAG5aKI.png?width=800)
![](https://assets.st-note.com/img/1707576581672-8uQvy4nx3D.png?width=800)
![](https://assets.st-note.com/img/1707576619732-eW2lgKEFLN.png?width=800)
(7) エラーがでなくなったことを確認してから、4つのモデルとプロンプト (8k,solo,1girl,solo,cute,cat-ear,maid,dancing) を設定。
![](https://assets.st-note.com/img/1707576851001-nw9eY8rMPk.png?width=800)
(8) 「Queue Prompt」を押す。
mac で ComfyUI の AnimateLCM を試す。https://t.co/TsYxs4DE6t pic.twitter.com/oVnlKolfKm
— 布留川英一 / Hidekazu Furukawa (@npaka123) February 10, 2024
この記事が気に入ったらサポートをしてみませんか?