stable-diffusion

Thumbnail of post image 052

概要

77トークンを超えるプロンプトを使用する
VAE,Lora,textual_inversion,を使用する
txt2img/img2img対応
from_single_file対応
NSFWフィルタ ...

bat,windows

Thumbnail of post image 131

指定された数ごとに分割する@echo offsetlocal enabledelayedexpansionREM フォルダのパスと分割数を設定set sourceDir="D:\data2\00in"set splitC ...

stable-diffusion

Thumbnail of post image 193

Google Colaboratory

PythonをGPUを使って動かせる環境です。Stable Diffusion これをインストールすることができますが無料枠でWEBUIを使用することができなくなったので無料で使うにはDiffus ...

stable-diffusion

Thumbnail of post image 184

AI画像で使用できるモデルを調べてみました

モデル

Meichidark_Mix

NeverEnding Dream (NED)

majicMIX realistic

stable-diffusion

Thumbnail of post image 014

Stable Diffusionで使えるプロンプト、ネガティブプロンプトは他の人が作った画像のプロンプトを見るとわかります

Civitai

Civitaiはモデルデータだけでなく画像データも大量にアップロードされています。そ ...

stable-diffusion

Thumbnail of post image 061

LoRA の読み込みの高速化

ダウンロードしたA1111 形式の CivitAI LoRA チェックポイントをロードできるようになりましたが高速化も対応されました

pipe.load_lora_weights(state_dict ...

stable-diffusion

Thumbnail of post image 007

今回はダウンロードしたモデルデータを使用できるように対応しました

コード# -*- coding: utf-8 -*-import requestsfrom PIL import Imagefrom io import Byte ...

stable-diffusion

Thumbnail of post image 103

DWposeはOpenpose fullより詳細に顔や指を表現できる全身用プリプロセッサです

DWpose

ControlNet auxiliary modelsを使って作成します

pip install contro ...

stable-diffusion

Thumbnail of post image 109
VAEfrom diffusers.models import AutoencoderKL#vae = "stabilityai/sd-vae-ft-ema"#@param {type:"string" ...

stable-diffusion

Thumbnail of post image 162

通常では77トークンを超えるプロンプトを使用すると切り捨てされてしまいます。それを回避する方法を説明します

The following part of your input was truncated because CL ...