Use GenAI from Google Cloud

Jul. 13, 2023

GenAI Generater Picture

Generative AI is such a hype in 2023 and most likely you’ve heard about it so many times that you might be sick of it. In this short post I want to show you how can you use GenAI from Google Cloud.

Perhaps you might have noticed that I included a picture in this post. It was actually created by GenAI :D Awesome right?

I even asked GenAI from Google what is GenAI? :D

What is Generative AI?

Answer from Generative AI about Generative AI.

Generative AI is a type of artificial intelligence that can create new content, such as text, images, or music. This is in contrast to other types of AI, which are typically used to analyze data or make predictions.

Generative AI is still in its early stages, but it has the potential to revolutionize many industries. For example, generative AI could be used to create new medical treatments, design new products, or even write new works of art.

One of the most promising applications of generative AI is in the field of natural language processing (NLP). NLP is the ability of computers to understand and generate human language. Generative AI can be used to create new text, such as news articles, product descriptions, or even entire books.

Another promising application of generative AI is in the field of computer vision. Computer vision is the ability of computers to understand and interpret images. Generative AI can be used to create new images, such as realistic-looking photos or even paintings.

Generative AI is still in its early stages, but it has the potential to revolutionize many industries. As the technology continues to develop, we can expect to see even more amazing applications of generative AI in the years to come.

How Generative AI is different than a “traditional” AI?

Traditional AI is focused on solving specific problems, while generative AI is focused on creating new content. Traditional AI uses rules and logic to make decisions, while generative AI uses machine learning to learn from data and make predictions. Traditional AI is often used in business applications, such as customer service and fraud detection, while generative AI is often used in creative applications, such as art and music.

What are Generative AI use cases?


Generative AI is a type of artificial intelligence that can create new content, such as images, text, and music. It is being used in a variety of applications, including:

* **Art and design:** Generative AI can be used to create new works of art, such as paintings, sculptures, and music. It can also be used to design new products, such as furniture and clothing.
* **Marketing:** Generative AI can be used to create marketing materials, such as ads, brochures, and websites. It can also be used to generate personalized content for customers, such as emails and product recommendations.
* **Education:** Generative AI can be used to create educational materials, such as textbooks, lesson plans, and quizzes. It can also be used to create interactive simulations and games.
* **Healthcare:** Generative AI can be used to create new drugs and treatments. It can also be used to diagnose diseases and develop personalized treatment plans.
* **Business:** Generative AI can be used to improve business processes, such as customer service, product development, and supply chain management. It can also be used to create new business models and opportunities.

Generative AI is a powerful tool that has the potential to revolutionize many industries.

Here is a screenshot how Gen AI is writing about Gen AI :)

Gen AI is writing about Gen AI

How to work with Vertex AI?

So, once the new project is created you need to go to the Google Cloud product called Vertex AI.

Vertex AI in a new project

There is a friendly button which enables all APIs, click it and we can start using the product.

After clicking it we can start using almost all of the products. To use Image part you need to sign up (as the moment of writing the post).

So we will use whatever is available at the time of writing the post - for example, Language.

Vertex AI Language Options

What I really like is what Google Cloud prepared for us - pre trained models. Look, how many of them available! There is even one for memes :D

Vertex AI Language Models

Summary

I really loved how easy Google Cloud prepared GenAI for a commercial use. There are APIs ready, you already can try a lot of models in the console. Feel free to have some fun with them :D