
Stable Diffusionで失敗生成されたイラストをGrokで綺麗なイラストに修正出来るプロンプト
最近も定期的にStable Diffusionで麗華のイラストを生成トライしているのですが、麗華って頭に花冠をつけないといけないじゃないですか。
この花冠の5個の大きめの花をつけるというのがStable Diffusionは不得意で毎回失敗しています。
最近だと麗華用のLoraを作成しているのですが、それでも花冠を付けることが出来ずに、こんな感じで失敗したイラスト画像が生産されています。
これをただ捨てるというのが本当に虚しいので、Grokにお願いしてStable Diffusionで失敗したイラストを綺麗に作り直してくれるプロンプトを作ってもらいました。

この失敗したイラスト、服のデザイン自体は結構気に入っていたりするんですよね。 ただ、花冠が全然違うし、顔も「麗華じゃない」感じになってしまっている。 これをそのまま捨てるのは本当にもったいない。
そこでGrokに相談して、「この失敗画像を参考にしつつ、ちゃんと麗華として綺麗に描き直すプロンプト」を作ってもらいました。
ポイントは、ただ「綺麗にして」と頼むのではなく、指示の順番と強さを意識して段階的に伝えることです。
具体的にはこんな構造にしています。
最初に「この添付画像は衣装の参考だけに使う」と宣言する
麗華の固定要素(特に花冠は「大きな桜の花を正確に5つだけ」)を厳格に指定する
服は元のデザインをベースにしつつ、質感やレースをレベルアップさせる
背景が途中で白く切れないように、強い制限をかける
この順番で書くことで、Grokは「失敗した子の顔や花冠をそのまま引き継ぐ」ことを避けて、ちゃんと麗華として描き直してくれるようになります。
実際に使用するプロンプトがこちらです。
麗華に着せ直す用プロンプト(失敗画像を添付して使う)
Attached image is the outfit reference only.
Generate my character Reika wearing a significantly upgraded, higher-quality version of the outfit from the attached image.
Closely follow the original design of the outfit. Do not change the fundamental silhouette, structure, or placement of the frills, corset, bows, and other design elements.
Character (strict):
- 18-year-old Japanese anime girl
- black long twin tails with soft volume
- simple pink sakura flower crown with exactly 5 large sakura flowers only (no small flowers, no buds, no leaves, no stems, no extra decorations, no horns)
- large breasts with deep visible cleavage
- soft gentle smile, slightly shy expression
- clean sharp anime lineart, vibrant colors, high detail
Upgraded Outfit:
- Strictly base the outfit design on the attached image
- Keep the original silhouette, structure, frill placement, corset design, ribbon positions, and overall composition of the clothing
- Preserve the original color scheme
- Only upgrade the quality: make the lace much finer and more detailed, improve fabric texture and translucency, enhance lighting and material realism to a higher-end level
- Do not redesign or restyle the outfit — only elevate the craftsmanship and visual quality
Composition & Background (very important):
- landscape orientation
- full complete background with NO white empty space, NO borders, NO letterboxing, NO cut-off edges
- Faithfully recreate the background from the attached image as closely as possible
- Keep the same background layout, elements, lighting, and color tones
- Do not redesign or significantly change the background
- Only extend and complete the existing background so that it fully fills the entire frame without any abrupt cutoff or white borders
- seamless full-bleed composition
Style:
high quality anime illustration, clean sharp lineart, detailed fabric and lace textures, soft natural lighting, beautiful skin, no text, no watermark, no empty white areasStable Diffusionで失敗したイラスト

Grokで上のプロンプトで修正したイラスト

このプロンプトのおかげで、Stable Diffusionで花冠が崩壊したイラストも、捨てずに「素材」として再利用できるようになりました。
服のデザインが良かった失敗作ほど、この方法で蘇らせる価値があります。 同じように「いい感じの服なのにキャラが崩れた…」というイラストを量産してしまっている人は、ぜひ試してみてください。
麗華に着せ直す用プロンプトの仕組み
今回のプロンプトは、Stable Diffusionで失敗したイラストを「できるだけ元の雰囲気を残したまま」、麗華として綺麗に描き直すために作ったものです。
特に意識しているのは、次の3点を同時に守らせることです。
服のデザインを大きく変えない
服の色味を変えない
背景を大きく変えない
その上で、花冠などの麗華の固定要素だけを正しく描かせ、質感だけを引き上げます。
以下に、プロンプトがどのような指示を段階的に行っているのか、そしてGrokがそれをどう処理しているのかを解説します。
1. 最初に「参考の役割」を限定する
text
Attached image is the outfit reference only.ここで「この添付画像は衣装の参考のみ」と宣言しています。
これにより、Grokが失敗したイラストの「顔」や「花冠」まで引き継いでしまうことを防ぎます。 最初に役割をはっきり分けることで、後の指示が効きやすくなります。
2. 麗華の固定要素を厳格に指定する
text
Character (strict):
- simple pink sakura flower crown with exactly 5 large sakura flowers only
- no small flowers, no buds, no leaves, no stems, no extra decorations, no hornsここが最も重要な部分の一つです。
Stable Diffusionで一番崩れやすい「花冠」を、数と否定表現でガチガチに固定しています。 「exactly 5」と数字で指定し、さらに「〜するな」を重ねることで、Grokの創造性を意図的に制限しています。
3. 服のデザインを「変えるな」と強く制限する
text
Closely follow the original design of the outfit.
Do not change the fundamental silhouette, structure, or placement of the frills, corset, bows, and other design elements.
Upgraded Outfit:
- Strictly base the outfit design on the attached image
- Keep the original silhouette, structure, frill placement...
- Only upgrade the quality: make the lace much finer...
- Do not redesign or restyle the outfit — only elevate the craftsmanship and visual qualityここが今回のプロンプトの核心です。
「アップグレード」という言葉を使いながらも、デザイン自体は変えるなと何度も繰り返しています。
Grokに伝えていることは明確で:
シルエットは維持
フリルやコルセットの位置は維持
色も維持
変えていいのは「質感・レースの細かさ・光の透け感」だけ
という制限です。 これにより「元の服の良さを残したまま、綺麗にする」という意図が伝わりやすくなります。
4. 背景も「大きく変えるな」と制限する
text
Faithfully recreate the background from the attached image as closely as possible
Keep the same background layout, elements, lighting, and color tones
Do not redesign or significantly change the background
Only extend and complete the existing background so that it fully fills the entire frame背景が変わりすぎる問題に対して、かなり強い制限をかけています。
「雰囲気を再現して」ではなく、「できるだけ忠実に再現しろ」「デザインを変えるな」と明確に書いています。 その上で「白く切れないようにフレームを埋めろ」という指示を追加しているので、元の背景を活かしつつ、構図の失敗だけを防ぐ形になっています。
Grokがこのプロンプトを処理する流れ
添付画像を「衣装と背景の参考」として読み込む
キャラクター部分で麗華の固定要素(特に花冠)を強く適用する
服については「デザインは維持・質だけ向上」という制限の中で描く
背景は元のものをできるだけ忠実に再現し、余白だけを埋める
最終的に高品質なアニメ調で仕上げる
この順番で指示を積み重ねることで、「失敗したイラストの良い部分(服と背景)を残しつつ、崩れた部分(キャラクター)だけを正しく描き直す」という処理が可能になります。
「元の子をベースに、Grokが少し上品に磨き上げたオリジナルキャラ」を作る昇華用プロンプト
麗華ではなく、最初のイラストの雰囲気をGrokに昇華させてオリジナルキャラクターを作る版も作っています。
Stable Diffusionで失敗したイラスト

Grokで昇華用プロンプトを使用して修正したイラスト

Stable Diffusionで失敗したイラスト

Grokで昇華用プロンプトを使用して修正したイラスト

画像を添付した状態で、以下をそのまま使ってください。