画像生成AI

【初心者向け】Stable Diffusionの使い方とプロンプト例

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)

  1. Portrait of a cyberpunk girl, neon lights, ultra detailed, 8k
  2. Samurai warrior standing in rain, cinematic lighting
  3. Businesswoman in futuristic office, photorealistic
  4. Viking warrior portrait, dramatic lighting
  5. Japanese shrine maiden, anime style
  6. Detective in noir city, black and white
  7. Fantasy elf princess, magical forest
  8. Hacker in dark room, glowing monitors
  9. Medieval knight armor close-up
  10. Fashion model, studio lighting

🌆 風景(11〜20)

  1. Futuristic Tokyo skyline at night, neon rain
  2. Snowy mountain sunrise, ultra realistic
  3. Cyberpunk alley street, rainy atmosphere
  4. Ancient castle on mountain, epic view
  5. Floating islands in sky, fantasy art
  6. Desert oasis at sunset
  7. Underwater city, glowing coral
  8. Sakura trees in spring, soft light
  9. Post-apocalyptic wasteland
  10. Scandinavian fjord landscape

🐾 動物(21〜30)

  1. Shiba Inu astronaut, space background
  2. Lion portrait, golden hour lighting
  3. White tiger in snowstorm
  4. Dragon flying above mountains
  5. Panda reading book, cute style
  6. Wolf under full moon
  7. Unicorn in crystal forest
  8. Fox in autumn leaves
  9. Phoenix rising from flames
  10. Dolphin jumping at sunset

🎮 ファンタジー・ゲーム(31〜40)

  1. Dark fantasy boss monster
  2. RPG hero character design sheet
  3. Magic academy classroom
  4. Demon king throne room
  5. Space bounty hunter concept art
  6. Steampunk airship
  7. Epic dragon battle scene
  8. Elven city in trees
  9. Magic sword glowing
  10. Sci-fi mech warrior

🏙 未来・テック(41〜50)

  1. AI control room, holographic interface
  2. Smart city 2050
  3. Futuristic hospital interior
  4. Neon subway station
  5. Cybernetic human enhancement
  6. Mars colony settlement
  7. Space station interior
  8. Quantum computer visualization
  9. Autonomous vehicle highway
  10. 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は、

✔ 自由度が非常に高い
✔ カスタマイズ可能
✔ ローカル実行できる
✔ 細かい調整が可能

その分、プロンプト設計と設定調整が重要です。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です