google-gemini-php / client

⚡️ Gemini PHP is a community-maintained PHP API client that allows you to interact with the Gemini AI API.
MIT License
169 stars 19 forks source link

Region setup? #4

Closed DanRaiss closed 4 months ago

DanRaiss commented 4 months ago

Maybe its a dump question, but i cant find where can i define a custom region? Is it possible regions API url is there: https://cloud.google.com/vertex-ai/docs/reference/rest/?apix=true

aydinfatih commented 4 months ago

Hi @DanRaiss,

This library is based on the following documentation. There is currently no region definition feature in this documentation. https://ai.google.dev/api/rest

But you can specify your own custom base url. https://github.com/google-gemini-php/client?tab=readme-ov-file#usage