Is it possible to disable decoration from Gemini Api image to image generation

We are integrating Gemini Api in our software. We want to obtain deterministic results. To do so we are testing several scenarios. One of them would be to disable decoration. By decoration i means the geometry of the scene should not be altered!
For example check these two image. First is the source and second is the generated image.

The generated image:

You can see that the circled bottle is not there in the original render. Also a window is created for generated image. We want to disable that current behavior so that only lighting is handled by Gemini Api.

I think this coupled with the temperature and seed parameters that are fed to the api calls should alllow us to reach pure deterministic results!

THANKS!

Hello @Trylz ,

We tried reproducing this on our end and found that the issue can be resolved using optimized prompts and system instructions. For example, passing an explicit system instruction/prompt like, “Replicate the provided source image exactly. Treat this as a pure high lighting and shading pass. Do not add new background elements, do not inject new objects, and maintain the exact geometric composition and scene layout.” helps lock down the layout so the model only focuses on lighting adjustments.