How can i get the gemini_url from my dahsboard
1 Like
You can compose the URL as indicated in the documentation. For example,
VERSION = "v1beta"
API_URL = f"https://generativelanguage.googleapis.com/{VERSION}/"
Then you append the model you want to use, e.g. models/gemini-1.5-pro-latest
or models/gemini-1.5-pro-exp-0801
and after that the operation, e.g. :generateContent
.
Hope that helps!