GEMINI OMNI PROMPTS

ブログ / 6分で読めます · 2026-07-25

Geminiで写真加工するプロンプト例:ビフォーアフターが自然に仕上がる書き方

Geminiで写真加工するときのプロンプト例を、コピーして使えるテンプレート付きで紹介します。「編集の目的」「元画像の説明」「変えない部分」の3点を書くだけで、ビフォーアフターが自然で安定した仕上がりになります。

gemini-prompts photo-editing examples prompt-templates

Geminiで写真加工をするときにうまくいくプロンプトは、「何を変えるか」「画像にもともと何が写っているか」「どこに手を付けてはいけないか」の3つをモデルに伝えています。この単純な型を守るだけで、“make this better”(もっと良くして)のような短い指示よりも、すっきりしたビフォーアフターになります。下の例をコピーし、角括弧の中を手元の写真に合わせて書き換えて使ってください。

失敗しにくい写真加工プロンプトの3要素

使えるGeminiの写真加工プロンプトは、次の3つでできています。

  1. 編集の目的:どう変えたいのかを具体的に書きます。
  2. 元画像の説明:被写体、場所、光の当たり方、色、写っている大事なものを書き出します。
  3. 制約:変えてはいけない部分と、どのくらい自然に・控えめに仕上げたいかを伝えます。

基本のテンプレートはこちらです。

Edit this photo by [specific editing goal].

Original image: [describe the main subject, background, lighting, clothing, colors, and notable details].

Keep unchanged: [features, objects, composition, text, brand details, pose, or aspect ratio]. Make the result [natural, realistic, subtle, clean, etc.]. Do not add unrelated objects or change the subject’s identity.

とくに大事なのが “keep unchanged”(変えないもの)の行です。手を加えてよい範囲の線引きをGeminiに示せるので、顔、商品、室内、文字が入った写真ではとりわけ効果があります。

Geminiの写真加工プロンプト例

背景の気になる物を消す

Edit this photo by removing the parked car behind the person on the left.

Original image: A full-body outdoor portrait of one person standing on a city sidewalk. The person is wearing a beige jacket and dark jeans. There are trees, storefronts, and a parked car in the background. The lighting is soft daylight.

Keep unchanged: the person’s face, body shape, pose, clothing, sidewalk, storefronts, and overall composition. Reconstruct the background naturally where the car was removed. Do not blur the entire background or add new people.

1回目で消しすぎてしまったら、続けてこう指示します。

Restore the sidewalk edge and the storefront window behind the person. Keep the person exactly as shown in the original photo.

スナップ写真をビジネス向けのヘッドショットにする

Edit this photo into a polished but realistic professional headshot.

Original image: A close-up portrait of one person taken indoors near a window. The person is wearing a dark shirt. The background contains a room with shelves and household items. Natural side lighting falls across the face.

Keep unchanged: the person’s identity, facial features, hairstyle, skin tone, expression, and clothing. Replace only the background with a softly blurred neutral office-style setting. Keep natural skin texture and avoid heavy beauty retouching.

プロフィール画像に使うなら、次の一文を足すこともできます。

Crop for a square profile photo while keeping the head and shoulders comfortably framed.

旅行写真をわざとらしくならないように補正する

Enhance this travel photo by correcting the exposure, recovering detail in the bright sky, and making the colors slightly warmer.

Original image: A landscape photo of a mountain lake with trees around the shore and snow-capped mountains in the distance. The sky is bright and the foreground is a little dark.

Keep unchanged: the lake, mountains, tree positions, people, and framing. Preserve a realistic daytime appearance. Do not add dramatic clouds, extra reflections, wildlife, buildings, or a sunset.

このプロンプトがうまくいくのは、“cinematic”(映画風に)のようなあいまいな雰囲気ではなく、具体的な補正を頼んでいるからです。もっと雰囲気のある仕上がりにしたいときも、範囲を絞って指定します。

Add a restrained film-like contrast and slightly muted greens while preserving realistic mountain colors and daylight.

通販サイトに載せる商品写真をきれいに整える

Edit this product photo for a clean online product listing.

Original image: A white ceramic mug photographed on a light wooden table. The mug has a small blue logo printed on the front. There are crumbs, a folded napkin, and a shadow near the edge of the table.

Keep unchanged: the mug’s shape, color, blue logo, handle position, and visible texture. Remove the crumbs and napkin. Use a clean light background with soft natural shadows. Do not alter the logo, add text, change the mug design, or make the surface look plastic.

商品写真では、正確に残したいブランドマーク、ラベル、印字をすべて名指しで書いてください。守る対象として指定していない細かい部分は、生成AIによる編集でゆがんでしまうことがあります。

景色はそのままで、どんよりした空を差し替える

Replace the flat gray sky with a realistic pale blue sky containing soft, thin clouds.

Original image: A daytime photo of a red brick house with a green lawn, driveway, and two small trees. The house occupies the center of the image. The existing sky is overcast.

Keep unchanged: the house architecture, brick color, windows, lawn, driveway, trees, shadows, season, and camera angle. Match the new sky to the existing daytime lighting. Do not add birds, aircraft, mountains, or extra buildings.

空を差し替えるときは、写真にもともと写っている光と合わせることが大切です。家に真昼ののっぺりした影が落ちているのに鮮やかな夕焼けを頼むと、たいていちぐはぐな画像になります。

古い家族写真を修復する

Restore this scanned old photograph carefully.

Original image: A faded color family photo from an indoor gathering. There are four people standing in front of patterned wallpaper. The image has dust marks, small scratches, faded colors, and low contrast.

Keep unchanged: every person’s identity, facial features, clothing, pose, background pattern, and original composition. Remove dust and scratches, improve clarity, and gently restore natural-looking color. Do not change expressions, add details that are not visible, smooth faces heavily, or modernize clothing.

昔の写真は、まず控えめな修復から頼みましょう。顔や服装まで変わってしまう見栄えのいい加工より、元の写真を軽く整えただけのほうが、たいていは価値があります。

メガネの反射を消す

Reduce the glare on the glasses in this portrait.

Original image: A close-up indoor portrait of one person wearing rectangular glasses. A bright window reflection covers part of both lenses. The person is facing the camera with a neutral expression.

Keep unchanged: the person’s identity, eyes, glasses frame, face shape, skin texture, hairstyle, expression, lighting direction, and background. Remove only the reflection blocking the eyes and preserve realistic lens transparency. Do not change eye color or create an unnatural sharpness around the eyes.

服のデザインはそのままで色だけ変える

Change the color of the person’s jacket from bright red to deep navy blue.

Original image: A person standing outdoors wearing a zip-up red jacket, black trousers, and white sneakers. The jacket has visible seams, a small chest pocket, and a silver zipper.

Keep unchanged: the person’s face, body, pose, background, trousers, shoes, jacket material, seams, pocket, zipper, fit, and folds. Change only the jacket color to deep navy blue with realistic lighting and shadows. Do not add logos or alter the jacket design.

ビフォーアフターをきれいに仕上げるコツ

まずは、効果のある最小限の編集から始めましょう。散らかった物を消す、空を変える、部屋の形を整える、服の色を変える、顔をレタッチする、といった作業をひとつのプロンプトにまとめて頼むと、意図しない変化がどの指示のせいなのか見分けにくくなります。

実際の進め方は次のとおりです。

  1. 元の画像をアップロードし、メインの編集をひとつだけ頼みます。
  2. 結果をよく確認します。とくに顔、手、文字、ロゴ、建物のまっすぐな線は念入りに見てください。
  3. おかしいところだけを直す追加のプロンプトを送ります。
  4. もっと大胆なバリエーションを試す前に、気に入ったバージョンを保存しておきます。

たとえばレストランの写真なら、何回かに分けて編集します。

First, remove the empty cups and crumpled napkins from the table. Keep all food, plates, people, and lighting unchanged.

続いて、こう指示します。

Now brighten the image slightly and reduce the yellow color cast from the indoor lighting. Keep the food colors realistic.

このように進めたほうが、“a perfect Instagram edit”(インスタ映えする完璧な加工)と頼むよりもコントロールしやすくなります。

よくある失敗を直すプロンプト

残したかった部分をGeminiが変えてしまったら、遠回しにせずはっきり伝えましょう。どこがおかしいかを書き、そのあとで守ってほしい部分をもう一度指定します。

Keep the edited background, but restore the original facial features, hairstyle, and expression from the uploaded photo. Do not retouch the face further.
Keep the object removal, but restore the original text on the product label exactly as visible in the source image.
Undo the changes to the building windows and roofline. Keep only the improved sky and original camera perspective.
Make the color adjustment subtler. Preserve the original skin tone, white balance, and contrast of the photo.

最初の指示内容を保ったまま、別案を出してもらうこともできます。

Create two restrained variations of this edit: one with slightly warmer colors and one with neutral colors. Keep all other edits identical.

Geminiで画像をよく扱うなら、プロンプトギャラリーや画像プロンプト用のツールを使って、ポートレート、商品掲載、旅行写真、不要物の除去などに使えるパターンを、繰り返し使える形で保存しておくと便利です。

よくある質問

短いプロンプトでもGeminiで写真加工できますか?

できますが、短いプロンプトほど意図しない変化が起きやすくなります。シンプルな画像なら “Remove the person in the background”(背景の人を消して)だけでも問題ありません。ただし、メインの被写体や構図、商品の細部をそのまま残したい場合は、制約を書き足してください。

人物写真を加工するときは何を書けばいいですか?

まず、してほしい編集を書きます。そのうえで、顔立ち、肌の色、髪型、表情、体型、服装、ポーズなど、その人らしさに関わる部分を守るよう指定してください。肌がつるつるになりすぎるのを避けたいなら、自然な質感を残すよう頼みましょう。

商品のロゴや文字をGeminiに変えられないようにするには?

元画像の説明の中でロゴ、ラベル、文字に触れ、それを変えてはいけないと改めて書いてください。小さな文字やマークは手作業での修正が必要になることもあるので、商用で使う大事な画像は、公開前に仕上がりをよく確認しましょう。

スタイルの変更と編集を同じプロンプトで頼んでもいいですか?

スタイルがシンプルで、元の写真となじむものなら問題ありません。ポイントは具体的に書くことで、“make it artistic”(アートっぽくして)より “slightly warm film contrast”(少し暖かみのあるフィルム風のコントラスト)のほうが狙いどおりに調整できます。スタイルを大きく変えるときは別バージョンとして作り、スタイルを加える前の編集済み画像も手元に残しておきましょう。

加工した画像が不自然に見えるのはなぜですか?

頼んだ変更が、元の写真の光、遠近感、シーンと食い違っている可能性があります。もとの光の向き、影、カメラアングル、色温度、被写界深度に合わせるようGeminiに指示し、そのうえで編集の度合いを弱めてください。

まとめ

うまくいくGeminiの写真加工プロンプトは、むやみに長いのではなく、必要なことが具体的に書かれています。編集内容を伝え、元画像を説明し、変えてはいけない部分をはっきり決めておきましょう。変更はひとつずつ加え、結果を確かめながら、ポイントを絞った追加指示でビフォーアフターを仕上げていってください。

同じシリーズの記事もどうぞ:Gemini Notebookの活用例、写真加工プロンプト集、プロンプトギャラリー。