Design multimodal prompts

A shared folder with AI prompts and code snippets

From workspace: Google Gemini

Team: Gemini

Total snippets: 23

Google Gemini

Design multimodal prompts

23 snippets

Creative output 2

Use images together with prompt

Can you write me a descriptive and dramatic poem about this image and include the location?

Creative output 1

Use images together with prompt

Can you write me a poem about this image?

Updated one more time prompt

Use images together with prompt

What is in common between these images? Refer to what's in the images in your response.

Updated prompt

Use images together with prompt

First, describe what's in each image in detail. What's in common between these images?

What is common?

Use images together with prompt

What is in common between these images?

If the model output is too generic

If the model output is too generic and not tailored enough to the image or video input

To help the model tailor its response to the image(s), try asking it to describe the images before performing its reasoning task.

Updated Diapers

Use image together with prompt

How long will these diapers last before I run out? Use the weight shown on the box to determine the child's age, and use the total number of diapers in the box. Divide the total number by how many diapers the child goes through per day.

Diapers

Use image together with prompt

How many days will these diapers last a baby?

Troubleshooting your multimodal prompt

You might need to troubleshoot your prompt if you are not getting a helpful response. Here are a few strategies you could try. If the model is not drawing information from the relevant part of the image To get a more specific response, you can...

Paella

Provide a list of all the following attributes: ingredients, type of cuisine, vegetarian or not, in JSON format

Table

Parse the table in this image into markdown format

Math problems

What is the 4th term in the sequence? Think step by step.

Updated toilet paper prompt

use image again

1. First, count how many toilet paper rolls are in this picture. 2. Then, determine how much toilet paper a typical person uses per day. 3. Calculate how long these rolls of toilet paper will last.

Toilet paper

Add pic to the prompt

When will I run out of toilet paper?

Break it down step-by-step

For complex tasks like the ones that require both visual understanding and reasoning, it can be helpful to split the task into smaller, more straightforward steps. Alternatively, it could also be effective if you directly ask the model to “think...

Updated Determine City

Add pictures to the prompt

Determine the city along with the landmark.

Determine city

Determine the city along with the landmark.

Add a few examples

The Gemini model can accept multiple inputs which it can use as examples to understand the output you want. Adding these examples can help the model identify the patterns and apply the relationship between the given images and responses to the new...

Updated image description

Add the picture to the prompt

Parse the time and city from the airport board shown in this image into a list.

Image description

Add the picture to the prompt

Describe this image.

Be specific in your instructions

Prompts have the most success when they are clear and detailed. If you have a specific output in mind, it's better to include that requirement in the prompt to ensure you get the output you want. Sometimes, a prompt's intent might seem clear to...

Troubleshooting your multimodal prompt

- If the model is not drawing information from the relevant part of the image: Drop hints with which aspects of the image you want the prompt to draw information from. - If the model output is too generic (not tailored enough to the image/video...

Prompt design fundamentals

- Be specific in your instructions: Craft clear and concise instructions that leave minimal room for misinterpretation. - Add a few examples to your prompt: Use realistic few-shot examples to illustrate what you want to achieve. - Break it down...