-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
--- | ||
title: stable-video-diffusion 安装详细教程,简单界面介绍 | ||
date: 2023-12-12 | ||
category: | ||
- 工具 | ||
tag: | ||
- AI | ||
- 画画 | ||
- stableDiffusion | ||
order: -56 | ||
--- | ||
# stable-video-diffusion 安装详细教程,简单界面介绍 | ||
|
||
![img](https://i0.wp.com/jdssl.top/wp-content/uploads/2023/11/3-1.jpg?fit=1024%2C576&ssl=1) | ||
|
||
外部视频 | ||
|
||
<iframe class="elementor-video" frameborder="0" allowfullscreen="" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="火爆的AI视频神器,免费安装开源轻量,图片秒变商业级4k高品质视频,好玩很酷!本地安装comfyui使用Stable Video Diffusion最新模型详细教程,ai自动流畅补帧放大视频创作助手" width="640" height="360" src="https://www.youtube.com/embed/K6ryak7x_co?controls=1&rel=0&playsinline=0&modestbranding=0&autoplay=0&enablejsapi=1&origin=https%3A%2F%2Fjdssl.top&widgetid=1" id="widget2" style="box-sizing: border-box; border: none; font-size: 13px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; max-width: 100%; width: 646.594px; line-height: 1; height: 363.703px; display: flex; background-color: rgb(0, 0, 0);"></iframe> | ||
|
||
python 3.10.0 官网:https://www.python.org/downloads/release/python-3100/ | ||
|
||
win64位下载地址:https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe | ||
|
||
git下载:https://git-scm.com/download/win | ||
|
||
win64位下载:https://github.com/git-for-windows/git/releases/download/v2.43.0.windows.1/Git-2.43.0-64-bit.exe | ||
|
||
测试网:https://replicate.com/stability-ai/stable-video-diffusion?input=form&output=preview | ||
|
||
##### **模型下载:** | ||
|
||
###### **[网址:stable-video-diffusion-img2vid](https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/tree/main)** | ||
|
||
14帧模型:https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/blob/main/svd.safetensors | ||
|
||
25帧模型:https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/blob/main/svd_image_decoder.safetensors | ||
|
||
###### **comfy****UI地址:** | ||
|
||
[网址:https://github.com/comfyanonymous/ComfyUI](https://github.com/comfyanonymous/ComfyUI) | ||
|
||
下载comfvUI地址:[Direct link to download](https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z) | ||
|
||
|
||
|
||
###### **下载安装comfyui manager** | ||
|
||
``` | ||
git clone https://github.com/ltdrdata/ComfyUI-Manager | ||
``` | ||
|
||
###### comfyUI-Manager界面地址 | ||
|
||
https://github.com/ltdrdata/ComfyUI-Manager | ||
|
||
|
||
|
||
``` | ||
若开启comfvui后没有manager菜单,重复以上comfvui-manager界面安装方式重新安装。 | ||
``` | ||
|
||
模型放置文件目录: | ||
|
||
D:\stable\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\models\checkpoints | ||
|
||
###### **Nvidia用户应使用以下命令安装pytorch:** | ||
|
||
``` | ||
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121 | ||
``` | ||
|
||
###### **故障排除** | ||
|
||
如果出现“未启用CUDA编译的火炬”错误,请使用以下命令卸载火炬: | ||
|
||
``` | ||
pip uninstall torch | ||
``` | ||
|
||
并使用上面的命令再次安装它。 | ||
|
||
##### **依赖安装** | ||
|
||
通过在ComfyUI文件夹中打开终端来安装依赖项,并且: | ||
|
||
``` | ||
pip install -r requirements.txt | ||
``` | ||
|
||
之后,您应该安装所有内容,并可以继续运行ComfyUI。 | ||
|
||
###### **工作流程json文件下载:** | ||
|
||
**图生视频1(更多设置参数):** | ||
|
||
https://github.com/liuoqu444/dsfsdf/releases/download/network/SVD.Workflow.json | ||
|
||
**图生视频2(设置参数简单):** | ||
|
||
https://github.com/liuoqu444/dsfsdf/releases/download/network/newworklow.json | ||
|
||
|
||
|
||
###### **电脑桌面创建可直接运行的bat文件:** | ||
|
||
你可以在桌面上创建一个新的 `.bat` 文件,然后在其中添加以下代码: | ||
|
||
```batch | ||
@echo off | ||
cd /d D:\stable\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI | ||
python main.py | ||
``` | ||
|
||
*以后直接双击xxxx.bat 文件即可运行comfyui* | ||
|
||
comfyUI使用说明:https://blenderneko.github.io/ComfyUI-docs/#first-steps-with-comfy | ||
|
||
[**topaz video 下载**](https://www.123pan.com/s/A6cA-8YAJh) | ||
|
||
[**topaz photo 下载**](https://www.123pan.com/s/A6cA-3o9Jh) |