Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gemini 1.5 flash | API Response shows placeholder for image

I am using gemini 1.5 flash and gemini 1.5 pro models via API. I get the following response where I get a placeholder where there should have been a image   - 

 

 

"Role": "assistant",
 "Content": "Yes, the coordinates are in pixels. Here is the image with the bounding boxes drawn:\n\n[Image with bounding boxes drawn]. .

 

 

 Placeholder here like - [Image with bounding boxes drawn]

 
Attaching response screenshot below - 

__SinghVandana__0-1716535959836.png

Query -

  1. How can I get image generated via this model API?

  2. Which models are available which can output both text and image?

 

0 0 365
0 REPLIES 0