![見出し画像](https://assets.st-note.com/production/uploads/images/115112181/rectangle_large_type_2_a26e575181920152a0941c8e33f14867.png?width=800)
【Stable Diffusion】ロゴをカッコいい写真に変換する方法(Controlnet)
・セットアップ
①コントロールネット拡張機能をダウンロードします。
まずStable Diffsionを開きます。Stable Diffusionのインストールの仕方は
こちらの動画に挙げています。よかったら参考にしてください。
エクステンションタブに入って、こちらのリンクを貼り付けます。
https://github.com/Mikubill/sd-webui-controlnet
インストールが終わったらInstalledのタブに入って確認します。
Apply and restart UIをクリックしてリロードします。
②モデルをHuggingfaceでダウンロード
モデルはたくさんありすぎて、目まいがしますね。目を大きくして、同じモデルを探してダウンロードしてくださいね。保存先はこちらですよ。
![](https://assets.st-note.com/img/1693628007644-EysqiN2RVc.png?width=800)
設定
今回使用したのはDreamshaperというモデルです。
こちらのサイトでダウンロードできます。
![](https://assets.st-note.com/img/1693637791529-bqu3dfV6gJ.png?width=800)
Sampling method: DPM++ SDE Karras
Sampling Steps:20
サイズ:500×500
CFG:7(添付写真は15になっていますが、7がおすすめです。)
Seed:-1 ランダム
batch Size:1 (一回の生成でたくさんのイメージが見たい場合は、ここの数値をあげるといいです。)
![](https://assets.st-note.com/img/1693637864536-9yq6gYs63Y.png?width=800)
Contorlnet設定
①Enable, pixel perfect, allow previewにチェックを入れます。
②Lineartにチェックを入れるとPreprocessorとModelが自動に変換されます。
③Control Weightの数値は1.2~1.4がおすすめです。
④Resize and Fillにチェックを入れます。
これで設定完了です。あとはプロンプトを書くだけです。
![](https://assets.st-note.com/img/1693638021956-qv5JFouKHz.png?width=800)
・promptを書く
Negativeプロンプト:
cartoon, painting, illustration, watercolor, drawing, sketch, low quality, low res, NSFW
氷河
masterpiece, birds eye view, nature, glacier, white ice bergs, north pole, Antarctica, ultra realistic, high detailed
![](https://assets.st-note.com/img/1693637575755-jtevMYqZWs.png)
砂漠
masterpiece, birds eye, nature, desert, sand dunes, ultra realistic, high detailed
![](https://assets.st-note.com/img/1693637687567-CSpqei75rA.png)
トロピカル
masterpiece, birds eye view, nature, tropical island, beach ,tropical, palm trees, turquoise water, bright sun, ultra realistic, highly detailed
![](https://assets.st-note.com/img/1693637691357-EBFxJv27Je.png)
火山
masterpiece, birds eye view, nature, volcano eruption, rocky surface lava flow, ultra realistic, highly detailed
![](https://assets.st-note.com/img/1693637700024-uZ8BmCFCln.png)
都市
masterpiece, birds eye view, tokyo city, buildings, street, infrastructure, ultra realistic, highly detailed
![](https://assets.st-note.com/img/1693637722638-FjsqdnVy3o.png)
画質を上げる方法
SeaartのSwift AI機能を使います。
![](https://assets.st-note.com/img/1693638255836-4NuWGhU0wZ.png?width=800)
Restorationという機能が画質を上げる機能になります。
![](https://assets.st-note.com/img/1693638264433-wU5XlCvsS5.png?width=800)
画質を上げたい写真をここにドラッグアンドドロップ
![](https://assets.st-note.com/img/1693638327776-ibzpDQTWQB.png?width=800)
比較してみましょう
![](https://assets.st-note.com/img/1693638355311-vFCda8SdKb.png?width=800)
![](https://assets.st-note.com/img/1693638374601-9mJrp7yHpm.png?width=800)
この記事が気に入ったらサポートをしてみませんか?