Stable Diffusionの使い方完全ガイド
Stable Diffusionは、テキストから高品質な画像を生成できるオープンソースAIです。自由度が高く、細かい調整が可能なのが最大の特徴です。
① 必要な環境
推奨スペック
- GPU:NVIDIA RTXシリーズ(VRAM 6GB以上推奨)
- メモリ:16GB以上
- ストレージ:20GB以上
※クラウド版(Google Colabなど)を使う方法もあります。
② 基本的な使い方(AUTOMATIC1111 UIの場合)
1. モデルを選択
Checkpoint(例:SD1.5、SDXLなど)を選びます。
2. プロンプト入力
「Prompt」欄に生成したい内容を書きます。
3. ネガティブプロンプト入力
「Negative Prompt」欄に避けたい要素を書きます。
4. パラメータ設定
- Steps(生成ステップ数)
- CFG Scale(テキスト反映強度)
- Sampler(サンプリング方式)
- 解像度(Width / Height)
5. Generateボタンを押す
重要パラメータ解説
Steps(20〜30推奨)
生成の精度。増やすと精細になるが時間がかかる。
CFG Scale(7〜12推奨)
プロンプトの反映度。
高い → 指示を強く反映
低い → AIの自由度が高い
Sampler(おすすめ)
- DPM++ 2M Karras
- Euler a(軽量で安定)
プロンプト基本構造
被写体, 背景, スタイル, 光, クオリティ指定
例:
Portrait of a samurai warrior, cinematic lighting, ultra detailed, 8k
ネガティブプロンプト例(超重要)
blurry, low quality, bad anatomy, extra fingers, extra hands, deformed face
手や顔の崩れ対策に必須です。
🎨 実践プロンプト例50選
👤 人物(1〜10)
- Portrait of a cyberpunk girl, neon lights, ultra detailed, 8k
- Samurai warrior standing in rain, cinematic lighting
- Businesswoman in futuristic office, photorealistic
- Viking warrior portrait, dramatic lighting
- Japanese shrine maiden, anime style
- Detective in noir city, black and white
- Fantasy elf princess, magical forest
- Hacker in dark room, glowing monitors
- Medieval knight armor close-up
- Fashion model, studio lighting
🌆 風景(11〜20)
- Futuristic Tokyo skyline at night, neon rain
- Snowy mountain sunrise, ultra realistic
- Cyberpunk alley street, rainy atmosphere
- Ancient castle on mountain, epic view
- Floating islands in sky, fantasy art
- Desert oasis at sunset
- Underwater city, glowing coral
- Sakura trees in spring, soft light
- Post-apocalyptic wasteland
- Scandinavian fjord landscape
🐾 動物(21〜30)
- Shiba Inu astronaut, space background
- Lion portrait, golden hour lighting
- White tiger in snowstorm
- Dragon flying above mountains
- Panda reading book, cute style
- Wolf under full moon
- Unicorn in crystal forest
- Fox in autumn leaves
- Phoenix rising from flames
- Dolphin jumping at sunset
🎮 ファンタジー・ゲーム(31〜40)
- Dark fantasy boss monster
- RPG hero character design sheet
- Magic academy classroom
- Demon king throne room
- Space bounty hunter concept art
- Steampunk airship
- Epic dragon battle scene
- Elven city in trees
- Magic sword glowing
- Sci-fi mech warrior
🏙 未来・テック(41〜50)
- AI control room, holographic interface
- Smart city 2050
- Futuristic hospital interior
- Neon subway station
- Cybernetic human enhancement
- Mars colony settlement
- Space station interior
- Quantum computer visualization
- Autonomous vehicle highway
- Futuristic robot factory
🔥 クオリティを上げる追加ワード
- ultra detailed
- cinematic lighting
- volumetric light
- masterpiece
- hyper realistic
- shallow depth of field
- 8k resolution
💡 上級テクニック
重み付け
(cat:1.5)
数値を上げると強調。
除外指定
(worst quality:1.4)
ネガティブ効果を強める。
LoRA利用
特定キャラや画風に特化したモデルを追加可能。
まとめ
Stable Diffusionは、
✔ 自由度が非常に高い
✔ カスタマイズ可能
✔ ローカル実行できる
✔ 細かい調整が可能
その分、プロンプト設計と設定調整が重要です。
コメントを残す