Created
March 16, 2025 11:01
-
-
Save skeptrunedev/72eed83b42afde2dfd51bfee390520df to your computer and use it in GitHub Desktop.
gemini-renovation-edit-prompt.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "contents": [ | |
| { | |
| "parts": [ | |
| { | |
| "fileData": { | |
| "fileUri": "https://generativelanguage.googleapis.com/v1beta/files/f3vroya4ibp4", | |
| "mimeType": "image/webp" | |
| } | |
| }, | |
| { | |
| "text": "Here is a picture of my space" | |
| } | |
| ], | |
| "role": "user" | |
| }, | |
| { | |
| "parts": [ | |
| { | |
| "text": "Understood! I understand this is the space you are renovating and you want to visualize replacing some surfaces." | |
| } | |
| ], | |
| "role": "model" | |
| }, | |
| { | |
| "parts": [ | |
| { | |
| "text": "Here is a sample of a material I want to replace the Countertop with." | |
| }, | |
| { | |
| "fileData": { | |
| "fileUri": "https://generativelanguage.googleapis.com/v1beta/files/dgi0teghgs7n", | |
| "mimeType": "image/jpeg" | |
| } | |
| } | |
| ], | |
| "role": "user" | |
| }, | |
| { | |
| "parts": [ | |
| { | |
| "text": "Got it! I see you want to replace the Countertop with this material." | |
| } | |
| ], | |
| "role": "model" | |
| }, | |
| { | |
| "parts": [ | |
| { | |
| "text": "Edit the image of my space (the first image I uploaded) by replacing the existing Countertop(s) with the material sample I selected (the second image uploaded). Isolate the Countertop(s) in the first image of my space and replace them and ONLY them with the material sample I provided. Try to minimize how much of the image of my space you change." | |
| } | |
| ], | |
| "role": "user" | |
| } | |
| ], | |
| "generationConfig": { | |
| "temperature": 0.5, | |
| "topP": 0.5, | |
| "topK": 40, | |
| "maxOutputTokens": 8192, | |
| "responseMimeType": "text/plain", | |
| "responseModalities": [ | |
| "image", | |
| "text" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment