CBSE 2026 results are out, Mukul scored a perfect 100/100 in Computer ScienceSee all toppers →

KwickAcademy Artificial Intelligence · 7 min · free

Generative AI: How it Works, Types and Applications

7 min5 KwickClipsFull text belowFree
Next lesson →Kajal Ma'am (MCA), teaching since 2004Remembered in this browser

Generative AI creates new text, images, audio, video and code. It learns patterns from huge data, then predicts one piece at a time.

Follows the syllabus of: CBSE Class 9 Artificial Intelligence (417), CBSE Class 12 Artificial Intelligence (843)

On screen in this lesson

What is Generative AI?

AI that creates new content
Text, images, audio, video and code
Learns patterns from huge amounts of data
Works from a prompt you give it

Old AI versus Generative AI

QuestionTraditional AIGenerative AI
Main jobClassify, predictCreate new content
OutputA label or numberText, image, audio
ExampleSpam or not spamWrite an email

How it learns

Collect huge data: books, websites, pictures
Training: find patterns in that data
Store the patterns as numbers in a model
No copy of the data is kept like a file

Pause and predict

Prompt: "India won the cricket match by five ..."
What is the most likely next word?
Runs? Wickets? Mangoes?

Generative vs discriminative

PointDiscriminativeGenerative
LearnsBoundary betweenHow data looks
AnswersWhich class is it?Make a new one
ExampleCat or dog?Draw a new cat

Main model types

ModelIdea in shortGood at
GANTwo nets competeRealistic faces
VAESqueeze, rebuildImage variations
TransformerAttends to contextText and code
DiffusionRemoves noiseImages from text

Quick answers

"India won the match by five ..." What word is likely next?

Runs or wickets, not mangoes.

What is hallucination?

A confident answer that is false.

KwickClips from this lesson

Short clips, one idea each. Good for revision the night before.

The full lesson, in text

Hello students, welcome to Kwickprep. You type a few words, and a computer writes a poem or draws a picture of a peacock. Is the computer really creating something new? Today we will learn what Generative AI is, how it learns, its types, some tool demos, and its benefits and limits.

Let us start with a clear meaning. Generative AI is a type of artificial intelligence that creates new content, not just answers from a fixed list. That content can be text, images, audio, video or even computer code. It learns patterns from a very large amount of existing data. You tell it what you want with a prompt, which is simply an instruction written in words.

How is this different from the AI we studied earlier? Traditional AI mostly classifies or predicts, while Generative AI creates. Traditional AI gives a label or a number as output, while Generative AI gives new text, pictures or sound. For example, an app that marks a mail as spam is traditional AI. A tool that writes the email for you is Generative AI.

Now, how does it learn? First, the makers collect a huge amount of data, like books, websites and pictures. Then comes training, which means the computer studies the data again and again to find patterns. The patterns are stored as millions of numbers inside a model. The model does not keep the data like files in a folder; it keeps the patterns.

Here is how it generates, drawn as a flowchart. First, it reads your prompt. Next, it predicts the most likely next piece, such as the next word. Then it asks, is the output complete? If yes, it shows you the result. If no, it adds that piece and predicts again, one piece at a time.

Pause and predict with me. The prompt says, India won the cricket match by five, and then stops. What word is most likely to come next? Runs or wickets are very likely, because the model has seen such sentences many times, but mangoes is almost impossible. This guessing of likely next words is exactly how a text generator writes.

Exams also ask about two kinds of models. A discriminative model learns the boundary that separates classes, while a generative model learns how the data itself looks. So a discriminative model answers, which class is this, but a generative model can make a brand new example. Shown a photo, a discriminative model says cat or dog, while a generative model can draw a new cat that never existed.

Generative AI is built with a few main types of models. A GAN, or generative adversarial network, has two networks that compete: one makes fakes and the other tries to catch them. A VAE, or variational autoencoder, squeezes data into a small code and rebuilds new variations from it. A transformer pays attention to context, and powers text and code tools like chatbots. A diffusion model starts from random noise and removes it step by step to form an image.

We can also group Generative AI by what it creates. Text tools like ChatGPT and Gemini write notes, emails and answers. Image tools like DALL-E and Adobe Firefly make posters and pictures from a description. Audio tools like ElevenLabs create a natural voiceover from text. Video tools like Sora and Veo make short video clips from a prompt. Code tools like GitHub Copilot help programmers write code faster.

Let us see a text tool demo in our minds. The prompt says, write a four line poem on the monsoon in Mumbai. The tool writes a new poem, and if you ask again, the poem changes, because it generates rather than copies. You can then say, make it funny for Class five students, and it rewrites the poem to match.

Now an image tool demo. The prompt says, a tiger reading a book under a banyan tree. We add style words, like watercolour painting in soft morning light. In a few seconds, the tool creates a brand new picture that no one has painted before. Better describing words give a better picture, so write your prompt carefully.

Generative AI is already used in many fields. In education, it makes quiz questions and explains hard topics in simple words. In healthcare, it helps doctors draft reports and helps scientists design new medicines. In business, it writes adverts, makes product photos and chats with customers. In entertainment, it helps create music, game worlds and film effects.

Now let us weigh the benefits. It saves time, because it can make a first draft in seconds. It helps people who cannot draw or code to still create pictures and small programs. It gives many ideas quickly when you are stuck. It can also produce content in Hindi, Tamil, Gujarati and other Indian languages.

Every tool also has limits. It can hallucinate, which means it gives an answer that sounds confident but is false. It can show bias, because unfair patterns in its training data get copied. It can be misused to make deepfakes, which are fake videos of real people, and it raises copyright questions. Training big models also uses a lot of electricity and data. So always check what it gives you.

Let us revise what we learned today. Generative AI creates new text, images, audio, video and code. It learns patterns from huge data, then generates one piece at a time. A discriminative model classifies, while a generative model creates new examples. The main model types are GAN, VAE, transformer and diffusion. It is very useful, but always check its output for mistakes and bias.

Courses that teach this

CourseUnit
CBSE Class 9 Artificial Intelligence (417)Part B - Unit 4: Introduction to Generative AI
CBSE Class 12 Artificial Intelligence (843)Generative AI

Voice-over in this lesson is AI-generated. The script is written and checked by Kajal Ma'am. Boards can revise a syllabus mid-year, so confirm anything you plan around against the official board circular. Keep your passwords, OTPs and ID numbers to yourself — we never ask for them. To reach Kajal Ma'am, use the WhatsApp button; sharing your number there is how we call you back.

Free to watch, no sign-up. Live classes with Kajal Ma'am are the paid course; these lessons stay free either way.

Want a plan that actually fits your board dates?

Ask Kajal Ma'am directly, 20+ years teaching computer science. Free demo class first, no payment.

Talk to Kajal Ma'am on WhatsApp

Or see the Class 12 Computer Science course →

Studying outside India?

We coach CBSE, IGCSE & international students across the globe, one-to-one, in your local time zone.

Visit International →