# Gemiini API into flask python

**URL:** <https://discuss.ai.google.dev/t/gemiini-api-into-flask-python/37098>\
**Category:** Gemini API\
**Created:** [August 24, 2024, 11:48am UTC](https://discuss.ai.google.dev/t/gemiini-api-into-flask-python/37098 "2024-08-24T11:48:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ebenezer\_Ohene\_Aggre](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/ebenezer_ohene_aggre/32/22246_2.png) [@Ebenezer\_Ohene\_Aggre](https://discuss.ai.google.dev/u/Ebenezer_Ohene_Aggre)\
**Post date:** [August 24, 2024, 11:48am UTC](https://discuss.ai.google.dev/t/gemiini-api-into-flask-python/37098/1 "2024-08-24T11:48:57Z")

</div>

How can i get the gemini\_url from my dahsboard

---

<div class="post-metadata">

**Author:** ![OrangiaNebula](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/orangianebula/32/480_2.png) [@OrangiaNebula](https://discuss.ai.google.dev/u/OrangiaNebula)\
**Post date:** [August 24, 2024, 2:49pm UTC](https://discuss.ai.google.dev/t/gemiini-api-into-flask-python/37098/2 "2024-08-24T14:49:50Z")

</div>

You can compose the URL as indicated in the documentation. For example,

```auto
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!

---

<div class="post-metadata">

**Author:** ![system](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/system/32/1_2.png) [@system](https://discuss.ai.google.dev/u/system)\
**Post date:** [November 5, 2026, 6:17pm UTC](https://discuss.ai.google.dev/t/gemiini-api-into-flask-python/37098/3 "2026-11-05T18:17:27Z")

</div>

Closed on November 5, 2026, 6:17pm UTC

This thread was automatically closed 60 days after the last reply. If you are running into an issue, please create a new post.
