HanaokaYuzu / Gemini-API

✨ An elegant async Python wrapper for Google Gemini web app
https://pypi.org/project/gemini-webapi/
GNU Affero General Public License v3.0
134 stars 19 forks source link

Image Generation #1

Closed jollyolliel closed 4 months ago

jollyolliel commented 4 months ago

In the Image Generation It does not work. Maybe you should remove it from the docs because even on the website you cannot make images. I have gone on a VPN to different countries and it still dosent work. You added a feature that dosent exist. Exept that, love it!

HanaokaYuzu commented 4 months ago

Google has some limitations on the image generation feature in Gemini.

Here's a summary copied from official documentation:

You can create captivating images in seconds with Gemini Apps. From work, play, or anything in between, Gemini Apps can help you generate images to help bring your imagination to life.

Important:

Image generation in Gemini Apps is available in most countries, except in the European Economic Area (EEA), Switzerland, and the UK. It’s only available for English prompts. This feature’s availability in any specific Gemini app is also limited to the supported languages and countries of that app.

For now, this feature isn’t available to users under 18.

And per myself's testing:

image

Anyway, thanks for reminding me about this problem. I'll update it in the readme soon.