Extract text from API

I am able to extract text from a Image using aistudio.google.com website.

But when I try to extract text the same image using API the return content is None.

Hey there and welcome to the community!

What does your code look like? Let’s start there so we can troubleshoot

1 Like

Welcome @Shrijayan

You can use the image button at the top right inside the Google AI Studio to copy the exact code that it uses to reproduce the same results on the API call on your machine.

2 Likes