How To Use Gemini Pro Through Google AI Studio

[ad_1]

After a week of Gemini’s announcement, Google has now made its API available to developers through AI Studio (formerly MakerSuite). This allows developers to use the Gemini Pro API. Allows users to generate content using natural language prompts. It is useful to develop the AI ​​Chatbot using one of the API keys to access code within the IDE.

You can benefit from Gemini because it has transformed GPT-4. Starting with prototyping tools for developers and data science, it helps interact with and test Google’s AI model, of which Gemini is a part. Meanwhile, the end-to-end machine learning prompt is Vertex AI. Without further ado, let’s take a closer look at how this works.

It’s been updated to feel more substantial, adding support for the Gemini Pro and Gemini Pro Vision models, and giving developers the ability to generate both images and text. The tool is a fully managed enterprise programming tool, and during the demo we see how a broker application in AI Studio uses natural language prompts with the ability to upload images.

Google AI Studio, a web-based tool, enables rapid development. All you have to do is sign in with your Google account and import files from Google Drive. Additionally, you can port your existing code to your IDE in supported languages ​​such as Swift, Android (Kotlin), Python, JavaScript, and cURL.

Developers can use Gemini Pro and Gemini Pro Vision for free, but with the limitation of sending 60 requests per second. Google claims that their offer is twenty times more attractive than that of the competition. Plus, the prices are much cheaper than other freebies, thanks to upgraded TPUs that help reduce costs.

The first version of Gemini Pro had a 32K context window, and Google plans to increase this context window in the future.

It is trained on the AI ​​hypercomputing infrastructure, the Tensor Processing Unit, and with the general availability of TPU v5p, it improves performance by almost four times compared to its predecessor.

  • It comes with a wide range of features such as calling, embedding, semantic retrieval, custom knowledge base, and chat functionality.
  • SDKs are available for Gemini Pro and support Python, Android (Kotlin), Node.js, Swift and JavaScript.
  • It supports more than 38 languages ​​in more than 1800 countries and territories.

The accessibility of the free API helps developers discover and build the AI ​​model before committing to the Gemini AI Service.

Similar to Google Bard, activity is monitored by Google, including input and output via the API, to improve the quality of the product.

How to use Google AI Studio

You can start using Gemini Pro through Google AI Studio. Here are the instructions.

  1. Go to ai.google.dev.
  2. Click ‘Get API Key’ in Google AI Studio.
  3. Sign in with your personal Google account.
  4. Click ‘Get API’ in Google AI Studio and from there click ‘Create New’.
  5. Choose “Freeform prompt” and then start writing your prompt. Save it to generate an answer using the model.

You can change the Gemini model by clicking the “Model” drop-down list and selecting Gemini Pro or Gemini Pro Vision. To use it, type at the prompt. If you want to insert an image, click “Insert” to upload the image.

You can also get the code for the generated content by clicking ‘Get Code’. To obtain the API key, click “API Key” on the left sidebar.

If you use Google AI Studio, you can make up to 60 requests per second. If you need more, you will have to subscribe to the paid tier. Pricing starts at $0.025 per 1,000 characters or $0.0025 per image. The output costs $0.0005 per 1K character. AI Studio and Vertex AI, on the other hand, connect to various enterprise data sources, including third-party Google Cloud Partners.

Conclusion

There is currently no price available. Google will announce pricing for next year when they launch the Gemini Ultra. In addition, Google will continue to offer Gemini to its other developer tools such as Android Studio, Colab, Firebase and Flutter.

On the other hand, Google has also upgraded its Google Cloud Vertex AI for better control and integration. On the Vertex AI Platform, the company will not train its model on input or output from Google Cloud customers. The Vertex AI model offers more than 130 AI models, including Imagen 2, ImagenMedLM, Gemini Pro and Ultra, which will be added as they are announced.

Leave a Comment