Prompt Image editing Limited info

Gemini Image Edit: Add an Element

Official Gemini 2.5 Flash Image example for adding a new object (a knitted wizard hat) to your own photo while keeping the lighting consistent.

  • 🤖 Gemini
  • 🗂️ Image editing

Prompt by Google Developers Blog — Prompting Gemini 2.5 Flash Image · Original source (opens in a new tab)

Gemini Image Edit: Add an Element — example image

The prompt

prompt
Using the provided image of my cat, please add a small, knitted wizard hat on its head. Make it look like it's sitting comfortably and matches the soft lighting of the photo.

What it is

Google's prompting guide for Gemini 2.5 Flash Image uses this prompt to show adding an element to an existing photo. You upload a picture of your cat and ask for one small addition: a knitted wizard hat. The key parts are "Using the provided image", which tells the model to edit rather than create from scratch, and the instruction to match "the soft lighting of the photo", so the hat doesn't look pasted on. The blog shows the edited cat photo as the result.

مثال رسمي من Google بيزيد غرض جديد (طاقية ساحر محبوكة) عصورة قطتك، وبيخلّيه ماشي مع إضاءة الصورة الأصلية.

Examples

Prompt shown with its result in the source

Prompt
prompt
Using the provided image of my cat, please add a small, knitted wizard hat on its head. Make it look like it's sitting comfortably and matches the soft lighting of the photo.

Expected output: Copied verbatim from the Google Developers Blog post, which shows the result generated from this exact prompt.

Tips

  • Start with "Using the provided image of ..." so Gemini edits your photo instead of making a new one.
  • Name the lighting you want the new object to match.