0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

StableDiffusion 導入方法

Posted at

StableDiffusion WebUIとは

ブラウザ上でパラメータを操作して
画像生成をしやすくするためのツール。

自分のPCに画像生成ができる環境を構築するので、
制限がなく、無料で画像生成し放題。

ただ、誰しもができるものではない...

StableDiffusionはPCのスペックに依存するので、
低スペックのPCでは使えず、高スペックで、
かつGPUが搭載されているPCでしか実行できない。

下記、推奨スペック

推奨スペック
PC デスクトップ型
OS Windows(64bit)
CPU 最新モデルのCore i5~Core i7、Ryzen 5~7
GPU RTX 30シリーズやRTX 40シリーズのVRAMが12GB以上
メモリ 16GB~32GB
ストレージ 512GB以上

参考

PCスペックの確認

  1. Windows+R 同時押し
  2. 「dxdiag」と入力、Enter

ちなみに筆者のPCスペックは以下
image.png

環境構築

必要インストール

  • Python3.10.6
  • Git
  • StableDiffusion

Python

サイト下部
image.png

DLしたexeをダブルクリック
Add Python 3.10 to PATHにチェックをつける
Install Nowクリック
image.png


完了

Git

image.png


exeを実行

全てOKでインストール

完了

StableDiffusion

StableDiffusion用のフォルダを作成
例としてCドライブ直下に「StableDiffusion」フォルダ作成
Ctrl+Lを押下してcmdと入力

コマンドライン画面が表示される

こちらにアクセスしてcloneコマンドをコピー
image.png

先ほどのコマンドラインに、コピーしたコマンドを貼り付けてEnter

Web UI起動

cloneコマンドでできたフォルダを選択
image.png

webui-user.batをダブルクリック
※拡張子を表示していない場合はwebui-userとなる
image.png

完了まで20分ほど時間がかかるので、待つ。
ブラウザにて下記のように画面が表示されたら完了
image.png

これがWeb UI。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?