
空っぽの受信箱、迷子の404、完了のチェック:透過・余白・文字なしで書くUIスポットイラストの生成プロンプト作例5選+テンプレ
今日のテーマはアプリやWebサービスの「スポットイラスト」です。受信箱が空のとき、404ページ、オンボーディング、完了画面など、画面の片隅で状況を伝える小さな絵を指します。きれいに描かれていても、UIに置くと周囲から浮いてしまうことはよくあります。原因はたいてい絵柄より「部品としての条件」が抜けていることなので、透過背景、余白、主役1点、文字なし、ブランド色の指定をプロンプトに先に書く作例を5つ紹介します。

先に押さえる:UIイラストは「説明の補助」
SAP Fiori の空状態ガイドラインは、イラストはメッセージを補う役割にとどめ、空いたスペースを飾るためだけに使わないこと、1枚の絵で強調する主役は1つにすることを勧めています。Toptal の空状態UX解説も、空状態では「いま何が起きていて、なぜそうなり、次に何をすればよいか」を伝えるべきだとしています。プロンプトにも同じ考え方を当てはめます。
- 主役は1つ:「空の郵便受け」「外れたプラグ」のように、画面の状況を1つの物で表す
- 文字は描かせない:見出しと説明はUI側のテキストで出すので、絵の中に文字は入れない(多言語対応もしやすくなる)
- 周囲に余白を取る:カードやモーダルの中に置くため、被写体を中央に置いて四辺に余白を残す
- 色はトークンで指定:ブランドのHEXを2〜3色に絞って書く
UIスポットイラストで指定しておきたい条件一覧
| 条件 | プロンプトでの書き方(例) | 理由 |
|---|---|---|
| 背景 | isolated on a transparent background / plain solid #F6F7FB background | 透過PNGならカード色が変わっても使い回せる。透過出力に対応していないモデルでは単色背景にして後で切り抜く |
| 構図・余白 | single centered subject, generous empty margin on all sides | トリミングの自由度が増え、表示サイズが変わっても主役が切れない |
| 線と塗り | flat vector style, 2px uniform rounded strokes, no gradients | アイコンやUI部品の線幅と揃えるため |
| 色数 | limited palette: #4F46E5, #A5B4FC, #F59E0B accent | UIの配色トークンと合わせて浮かないようにする |
| 文字 | no text, no letters, no numbers(Midjourneyは –no text) | 文言はUI側で出す。生成された文字は崩れやすい |
| アスペクト比 | 空状態・完了=1:1、404・ヒーロー=4:3〜16:9、オンボーディング=縦長の 4:5 | 配置する枠の比率に合わせて生成し、引き伸ばしを避ける |
| トーン | friendly, calm, reassuring mood | エラーや空の画面で利用者を不安にさせない |
作例1:受信箱が空のときの空状態イラスト(透過PNG)
①狙い:メールやタスク一覧が0件のときに出す、落ち着いた1:1のスポットイラスト。Ideogramの透過背景生成を使い、そのままカードに置けるPNGで出力します。
A small flat vector spot illustration for an empty inbox screen: an open, empty mailbox with a tiny paper plane resting on its lid, one small potted plant beside it. Single centered subject, generous empty margin on all sides. 2px uniform rounded strokes, no gradients, soft flat shading only. Limited palette: indigo #4F46E5, pale lavender #E0E7FF, warm amber accent #F59E0B. Calm, friendly, reassuring mood. No text, no letters, no numbers. Isolated on a transparent background.
③効いている要素
- empty mailbox + paper plane:「空っぽ」と「送受信はできる」を物2つで表しています。主役は郵便受けで、紙飛行機は小さく添えるだけです。
- 2px uniform rounded strokes:線幅を数値で決めると、アプリ内のアウトラインアイコンと並べても違和感が出にくくなります。
- Isolated on a transparent background:Ideogram の API には透過背景専用のエンドポイントがあり、アルファチャンネル付きPNGを返します(公式APIリファレンス)。既存画像を切り抜く場合は Remove BG 機能を使います(公式ドキュメント)。
作例2:404ページの横長イラスト(文字を描かせない)
①狙い:「ページが見つからない」状況を、迷子のモチーフで少しユーモラスに表す横長の絵。Midjourneyで作り、「404」の数字はUI側のテキストで重ねます。
flat editorial spot illustration for a "page not found" screen, a tiny hiker holding an upside-down paper map at a fork in a minimal path, one signpost with blank arrow boards, wide open sky as empty space on the right for a headline, soft rounded shapes, limited palette of deep indigo, pale lavender and one warm amber accent, plain off-white background, calm and slightly humorous --ar 16:9 --no text, letters, numbers, logo, watermark
③効いている要素
- blank arrow boards:道標は文字を入れたがるモチーフなので、あらかじめ「空白の板」と書いておきます。さらに
--noで文字類を除外します。Midjourney の公式ドキュメントでは、--noは画像に含めたくない要素をカンマ区切りで複数指定でき、各単語は個別に解釈されると説明されています(–no パラメータ)。 - empty space on the right for a headline:見出しを重ねる場所を絵の中で決めておくと、レイアウトの段階でトリミングに困りません。
- –ar 16:9:ページ幅いっぱいのヒーロー枠に合わせた比率です。スマホ向けには同じプロンプトを
--ar 4:5にし、余白の位置を「above」に変えた版も作っておきます。
作例3:オンボーディング3枚を同じ絵柄でそろえる
①狙い:初回起動時の「登録→設定→完了」3画面を、同じ人物と画風で描きます。1枚目を基準にして参照画像として渡せるモデルを使い、ここでは Nano Banana Pro(Gemini)を例にします。
Use the attached image as the style and character reference. Keep the same character (short curly hair, mustard sweater), the same flat vector style, the same 2px rounded line weight and the same three-color palette (indigo #4F46E5, lavender #E0E7FF, amber #F59E0B).
Create the second illustration of an onboarding sequence: the character sits at a small desk and adjusts three oversized toggle switches floating beside a laptop, looking focused but relaxed.
Portrait 4:5 frame, single centered scene, generous empty margin at the top for a title, plain white background, no text, no letters, no UI labels.
③効いている要素
- 何を固定するかを列挙:「同じ雰囲気で」とまとめず、人物の特徴、画風、線幅、色を1行ずつ書き出しています。Google Cloud の Nano Banana プロンプトガイドも、参照画像と具体的な指示を組み合わせる書き方を紹介しています。
- second illustration of an onboarding sequence:連作の何枚目かを書くと、同じ人物の次の場面として描かせやすくなります。3枚目は動作だけを「celebrates with a small confetti burst」などに差し替えます。
- oversized toggle switches:「設定」をUIそのものではなく大きく描いた物で表すと、細かい文字の入ったスクリーンが生成されるのを防げます。
作例4:完了・成功画面のチェックマーク(GPT Imageで透過出力)
①狙い:支払い完了や送信完了のモーダルに置く、小さな「達成感」のイラスト。GPT Image(OpenAI 画像生成API)で生成します。
A cheerful flat vector spot illustration for a "success" confirmation dialog: a large rounded check mark badge in indigo #4F46E5, with three small amber #F59E0B sparkles and two lavender #E0E7FF confetti ribbons gently bursting from behind it. Perfectly centered, compact silhouette that still reads clearly at 96 px, generous empty margin around it. Uniform 2px rounded strokes, no gradients, no shadows. No text. Transparent background.
③効いている要素
- reads clearly at 96 px:実際の表示サイズを書いておくと、細かい装飾を減らした輪郭のはっきりした絵になりやすくなります。小さく表示したときにつぶれない、という条件を言葉で伝えています。
- no shadows:透過PNGで影が半透明に残ると、ダーク背景に置いたとき汚れて見えるため外しています。
- Transparent background:OpenAI のAPIでは
backgroundパラメータにtransparentを指定し、出力形式を PNG か WebP にします(公式ガイド)。透過に対応するモデルは世代によって異なるため、使うモデルが対応しているかを公式リファレンスで確認してください。
作例5:できたイラストをダークモード用に描き直す
①狙い:作例1の空状態イラストを、暗い背景でも見えるように配色だけ変えます。画像編集に対応したモデル(Nano Banana Pro など)に元画像を渡して指示します。
Edit the attached illustration for a dark-mode UI. Keep the composition, shapes, line weight and character exactly the same. Only change the colors: place it on a solid #111827 background, turn dark indigo outlines into light lavender #C7D2FE, keep the amber #F59E0B accent, and lift the fill colors slightly so every shape has clear contrast against the dark background. No new objects, no text.
③効いている要素
- Keep … exactly the same / Only change the colors:変えない部分と変える部分を分けて書くと、編集で構図まで崩れるのを防ぎやすくなります。
- outlines into light lavender:ライト用の暗い線を暗い背景にそのまま置くと見えなくなります。線の色を明るく反転させるのがダークモード対応の要点です。
- No new objects:編集の指示では、モデルが気を利かせて星や月などを描き足すことがあるので、明示的に止めます。
使い回せるテンプレート
[ ]を埋めると、ほかの画面にもそのまま使えます。
A small flat vector spot illustration for a [screen / situation] screen: [one main object that represents the situation], with [one small supporting detail]. Single centered subject, generous empty margin [on all sides / at the top for a title]. [2px] uniform rounded strokes, no gradients, no shadows. Limited palette: [primary HEX], [light HEX], [accent HEX]. [calm / friendly / reassuring] mood. Readable at [display size] px. No text, no letters, no numbers. [Isolated on a transparent background / plain solid HEX background]. Aspect ratio [1:1 / 4:5 / 16:9].
実装前のチェックリスト
- 表示サイズ(例:96px、240px)に縮めても主役が判別できるか
- ライトとダーク、両方の背景で輪郭が見えるか
- 文字や数字が紛れ込んでいないか(細部を拡大して確認)
- 装飾目的の画像には空の alt(
alt="")を設定し、状況の説明はテキストで行っているか - 同じ画面に複数のイラストが並んでいないか
主な情報源
- SAP Fiori Design System: Empty States
- Toptal: Empty States – The Most Overlooked Aspect of UX
- Ideogram API Reference: Generate with Ideogram 4.0 (Transparent Background)
- Ideogram Docs: Replace or Remove Background
- Midjourney Docs: No(–no パラメータ)
- Midjourney Docs: Style Reference
- Google: 7 tips to get the most out of Nano Banana Pro
- Google Cloud Blog: The ultimate Nano Banana prompting guide
- OpenAI API Docs: Image generation
サンプルプロンプトは本メディアのオリジナル例です。各モデル・サービスは提供元の規約に従ってご利用ください。生成物の権利・商用条件は各規約をご確認ください。情報は公開時点のもの。収集・要約はAI、公開判断は人。