How to Use the Gemini API in Python!

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 8

  • @Cod1ngTogether
    @Cod1ngTogether  9 หลายเดือนก่อน

    Would you like to see more advanced stuff you can do with the API? Interested in me doing a video about? 😊

  • @Cod1ngTogether
    @Cod1ngTogether  9 หลายเดือนก่อน

    Any questions? Just ask! I would love to help you on your journey 🧑🏻‍💻

  • @Cod1ngTogether
    @Cod1ngTogether  9 หลายเดือนก่อน

    Did you build anything cool with the API? SHOW us here 😄

  • @a.puneethkumarreddy1015
    @a.puneethkumarreddy1015 8 หลายเดือนก่อน

    How to know which version of gemini key we get line gemini 1.0 pro or 1.5 pro?

    • @Cod1ngTogether
      @Cod1ngTogether  8 หลายเดือนก่อน

      Hey, thats a very good question. To be honest i cant answer it 100%. Looks like that if you use the gemini-pro and gemini-pro-vision model you currently get the 1.0 pro model. But its not even listed in the result. The 1.5 nano and ultra isn‘t available for public currently. You need to join the waitlist to get access. The 1.5 pro should be available, but i havent found the code to specify it. But you can use the Flash allready: just load the config with the flash model:
      model = genai.GenerativeModel(model_name="gemini-1.5-flash-latest")

    • @Cod1ngTogether
      @Cod1ngTogether  8 หลายเดือนก่อน

      See more here:
      ai.google.dev/gemini-api/docs/models/gemini

  • @tonkyboy8920
    @tonkyboy8920 9 หลายเดือนก่อน

    I don't think the API will stay free.

    • @Cod1ngTogether
      @Cod1ngTogether  9 หลายเดือนก่อน

      Good News! There will be a free Plan 😄
      From a Google Mail
      „If you use Gemini API from a project that has billing disabled, you can still use Gemini API free of charge, without the benefits available in our paid plan.“