Endpoin (API URl)

i am unable to find my gemini Api endpoint

Welcome to the forums!

What, exactly, are you trying to do with the endpoint?
Exactly which Gemini API are you trying to use (the one that uses API keys that are attached to AI Studio, or the ones used with Vertex AI)?

Knowing the endpoint is usually only necessary if you’re using REST or trying to write your own client library. If you can, you should be using the provided libraries for your language.

1 Like

I am currently working on a project involving a dynamic UML generator that utilizes GenAI. For this project, I need access to the endpoint for generating UML diagrams. Could you please provide me with the necessary link or details for this endpoint?

I have found a reference link that might be useful: ChatUML-main - Google Drive . If this link is relevant or if there is another endpoint you could share, I would greatly appreciate it.

From a quick read, the files in that Drive folder look like they’re about gemini, not the Google Gemini API.

I guess I’m still confused what you’re expecting to get at the endpoint for the Google Gemini API.

However, as specified here, the endpoint will be something like:

https://generativelanguage.googleapis.com/v1beta/models/MODELNAME:generateContent

Where you replace MODELNAME with the name of the model. Such as gemini-1.5-flash-001