Learn
-
Aug 26, 2026

Introduction to generative AI

A structured overview of generative AI from Google Cloud's learning team.

Beginner
-
22
mins

Introduction to Generative AI is part of Google Cloud's learning programme and one of the most watched beginner explainers on the subject, with over two million views. It covers what generative AI is, how it works, the main types of generative models and where they are used.

This page gives you the essential concepts as a written guide, so you can build a solid foundation before using specific AI tools.

WHERE GENERATIVE AI FITS

  • Artificial intelligence (AI) is the broad field of building systems that perform tasks normally requiring human intelligence.
  • Machine learning (ML) is a subset of AI where systems learn patterns from data rather than following hand-written rules.
  • Deep learning is a subset of ML that uses large neural networks with many layers.
  • Generative AI is a type of deep learning that creates new content, such as text, images, audio, video and code.

DISCRIMINATIVE VERSUS GENERATIVE MODELS

Traditional, or discriminative, models classify or predict. They answer questions like "is this email spam?" or "will this customer churn?". Generative models learn the patterns in their training data well enough to produce new examples: a paragraph, an image or a piece of code that did not exist before.

TYPES OF GENERATIVE AI

  • Text-to-text: large language models that write, summarise, translate and answer questions.
  • Text-to-image: models that create images from written descriptions.
  • Text-to-video and text-to-audio: models that generate clips, voice and music.
  • Text-to-code: models that write and explain software code.
  • Multimodal models: models that understand and generate several types of content.

FOUNDATION MODELS AND PROMPTS

Most generative AI tools are built on foundation models: very large models trained on broad data that can be adapted to many tasks. Users interact with them through prompts, the instructions and context given to the model. The quality of the prompt strongly affects the quality of the output.

LIMITATIONS TO KNOW

Generative AI can produce hallucinations: confident answers that are incorrect or invented. Outputs can also reflect biases in training data. For business use, human review, clear policies and grounding the model in trusted sources are important safeguards.

KEY TAKEAWAYS

  • Generative AI creates new content, while traditional models classify or predict.
  • It sits within deep learning, which is part of machine learning and AI.
  • Foundation models power most generative AI tools and are guided by prompts.
  • Hallucinations and bias mean outputs must be reviewed before use.

‍

FAQ

WHAT IS GENERATIVE AI IN SIMPLE TERMS?

AI that creates new content, such as text, images or code, based on patterns it learned from large amounts of data.

IS CHATGPT GENERATIVE AI?

Yes. ChatGPT, Claude and Gemini are generative AI tools built on large language models.

WHAT IS A FOUNDATION MODEL?

A large AI model trained on broad data that can be adapted to many different tasks, rather than built for one purpose.

WHAT ARE AI HALLUCINATIONS?

Outputs that sound plausible but are factually wrong or made up. They are a known limitation of generative AI.

 

REFERENCES