3
3

More than 1 year has passed since last update.

Stable Diffusionを試す

Last updated at Posted at 2022-08-27

デモサイトで試す

どんな画像が生成されるのか、すぐに試せます。

Google Colabで試す

Pythonでいろいろ試してみたい場合は、Google Colab上で動かすのが簡単。

上記のREADMEから、手順だけ簡潔にまとめる。

  1. Hugging Faceのアカウントを作成
    https://huggingface.co/join
  2. モデルへのアクセス規約に承諾(Access repositoryボタンを押す)
    https://huggingface.co/CompVis/stable-diffusion-v1-4
  3. アクセストークンの作成
    https://huggingface.co/settings/tokens
  4. ノートを立ち上げる
    https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion.ipynb

あとは上から順に実行するだけ。途中でログイン画面が表示されるので、3.のアクセストークンをペーストする。
適当に変更して試しましょう。

3
3
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
3
3