Stablediffusionのプロンプト作成のガイドを作成して
- User
Stablediffusionのプロンプト作成のガイドを作成して
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Stablediffusionのプロンプト作成のガイドを作成して
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Stable Diffusionで思い通りの画像を生成するためには、**プロンプト(Prompt)**と呼ばれる指示文が非常に重要です。このガイドでは、効果的なプロンプトを作成するための基本的な考え方から、より高度なテクニックまでを解説します。
プロンプトは、AIに「どのような画像を生成してほしいか」を伝えるためのテキストです。基本的には、以下の要素を**カンマ(,)**で区切って記述します。
主題, 詳細, スタイル, 雰囲気, 品質に関するキーワードなど
例:
a cute cat, sitting on a sofa, wearing a small hat, oil painting style, warm lighting, masterpiece
(かわいい猫、ソファに座っている、小さな帽子をかぶっている、油絵スタイル、暖かい光、傑作)
より良い画像を生成するために、以下の要素を意識してプロンプトに含めてみましょう。
主題 (Subject):
a girl, a dragon, a futuristic city, a delicious cake詳細 (Details):
a girl with long blonde hair, a red dragon breathing fire, a futuristic city at night with neon lights, a chocolate cake with strawberriesスタイル (Style):
photorealistic (写真のような), anime style (アニメ風), manga style (漫画風), illustration (イラスト風), oil painting (油絵), watercolor (水彩画), sketch (スケッチ), low poly (ローポリゴン)cyberpunk, steampunk, fantasy, medieval, sci-fiアーティスト/作品名 (Artist/Work):
in the style of Van Gogh, Studio Ghibli style, by Makoto Shinkai雰囲気/感情 (Mood/Emotion):
cinematic lighting (映画的な照明), dramatic atmosphere (ドラマチックな雰囲気), epic, fantasy, serene (穏やかな), mysterious (神秘的な), cheerful (陽気な), dark (暗い)構図/アングル (Composition/Angle):
close-up shot (接写), wide shot (広角), full body shot (全身), portrait (肖像), landscape (風景), from above (上から), from below (下から), dynamic angle (ダイナミックなアングル), symmetry (対称)品質向上キーワード (Quality Boosters):
masterpiece (傑作), best quality (最高品質), high quality (高品質), highly detailed (高精細), ultra-detailed (超高精細), sharp focus (シャープな焦点), 8k, 4k, photorealistic (写真のようにリアル ※スタイルと重複する場合あり)生成してほしくない要素を指定するのがネガティブプロンプトです。不要なオブジェクトの描画を防いだり、画質を改善したりするのに役立ちます。多くのStable Diffusionツールには、通常のプロンプトとは別にネガティブプロンプトを入力する欄があります。
役割:
よく使われるネガティブプロンプト例:
low quality, worst quality, normal quality, jpeg artifacts, blurry, noisytext, font, signature, watermark, username, logougly, disfigured, malformed, mutated, mutation, deformed, extra limbs, extra fingers, fewer fingers, bad anatomy, bad hands, poorly drawn handsmonochrome (白黒を避けたい場合), grayscale (グレースケールを避けたい場合), cropped (途中で切れているのを避けたい場合), out of frame (フレーム外を避けたい場合)beautiful)よりも、具体的な描写(例: smiling woman with sparkling blue eyes)の方がAIは理解しやすいです。(word:1.3): "word"の重要度を1.3倍にする(1より大きい数値で強調)[word] または (word:0.8): "word"の重要度を下げる(1より小さい数値で弱化)((word)) のように括弧を重ねることで強調するツールもあります。例1: シンプルな風景画
beautiful sunset over the ocean, calm water, orange and purple sky, wide angle shot, photorealistic, best qualitypeople, boats, buildings, text, watermark, low quality, blurry例2: 詳細なキャラクターポートレート (アニメ風)
1girl, solo, portrait, upper body, beautiful young woman with long silver hair and green eyes, wearing a white dress, smiling gently, cherry blossom background, soft lighting, anime style, masterpiece, best quality, highly detailedugly, disfigured, deformed, extra limbs, bad anatomy, low quality, worst quality, text, signature, watermark, blurry, multiple girls例3: 特定のアーティスト風イラスト
a knight riding a horse, medieval castle in the background, fantasy art, dramatic lighting, dynamic pose, in the style of Frank Frazetta, highly detailed, masterpiecephotorealistic, modern, text, signature, low quality効果的なプロンプト作成は、Stable Diffusionを使いこなす上で最も重要なスキルの一つです。このガイドを参考に、様々な要素を組み合わせ、試行錯誤を繰り返しながら、あなただけの素晴らしい画像生成を楽しんでください!