Gemini 1 building in html, PYTHON and other types language

val model = GenerativeModel(“gemini-1.5-flash”)

val response = model.generateContent(content {
text(“What’s in this photo?”)
image(ingredientsBitmap)
})

Hi @Karan_Tagde. Seems you are trying to get insight from an image through a text + image prompt and facing some issue. I recommend following the below doc :

or

Please try to import the necessary libraries and follow the code in the doc. It will resolve your issue. Else, if you have any other doubts, please provide more context.