Guide
What Is Generative AI?
A plain-English guide to generative AI: what it is, how it works for text, images, video, audio and code, how diffusion models work, examples of generative AI tools, where it fails, and the copyright and labelling rules.
Quick answer: Generative AI is artificial intelligence that creates new content, such as text, images, video, audio or code, instead of only sorting or scoring what already exists. It learns the patterns in huge amounts of example data and then produces new material that follows those patterns when you give it a prompt. Text tools such as ChatGPT, Claude and Gemini run on large language models, which write by predicting the next chunk of text; most image and video generators run on diffusion models, which start from random noise and remove it step by step until a picture appears. The one caveat: generative AI produces what is plausible, not what is verified, so its output can be confidently wrong.
This page is the umbrella explainer: what generative AI is, how each kind works and the vocabulary you need. It does not rank tools. For text models specifically, see what is an LLM, and for how to write the prompts that steer them, see what is prompt engineering. For the current rankings, see best AI models, best AI image generator and best AI video generator. For one-line definitions of everything else, see the AI glossary.
What is generative AI?
Generative AI is the class of AI models that learn the structure of their training data and use it to produce new content of the same kind.
The US National Institute of Standards and Technology defines it as “the class of AI models that emulate the structure and characteristics of input data in order to generate derived synthetic content”, which can include “images, videos, audio, text, and other digital content” (NIST glossary). In plain terms: show a model millions of photos and it learns what photos look like; show it trillions of words and it learns how language works. It can then produce a new photo or a new paragraph that never existed before.
Three things define a generative AI system:
- It learns from examples, not rules. Nobody writes down how a cat looks or how a sonnet scans. The model works it out from the data during training.
- It produces new output. The answer, image or song is generated fresh each time, so the same prompt usually gives a different result on each run.
- It is steered by a prompt. A text instruction, an image, a sound clip or a mix of these tells the model what to make.
Generative AI vs AI vs LLM vs chatbot
These terms are nested, and they are often used as if they meant the same thing.
| Term | What it means | Example |
|---|---|---|
| Artificial intelligence (AI) | The whole field of building systems that perform tasks associated with human intelligence | Spam filters, chess engines, self-driving systems, chatbots |
| Generative AI | AI that creates new content: text, images, audio, video or code | Chatbots, image generators, music generators, video generators |
| Large language model (LLM) | A generative model trained on text that writes by predicting the next token | The Claude, GPT, Gemini, Llama and DeepSeek model families |
| Diffusion model | A generative model that creates an image, video or sound by removing noise step by step | Stable Diffusion, FLUX, most video generators |
| Chatbot or AI assistant | An app that wraps generative models in a chat interface with memory, search and tools | ChatGPT, Claude, Gemini |
All generative AI is AI, but most AI is not generative. A fraud-detection model, a recommendation engine and a face-unlock system are AI that classify or predict; they do not create anything. Every LLM is generative AI, but not all generative AI is an LLM: an image generator built on a diffusion model is generative AI with no language model at its core. For text models in depth, see what is an LLM.
Generative AI vs predictive AI vs agentic AI
| Predictive AI | Generative AI | Agentic AI | |
|---|---|---|---|
| Question it answers | ”What is likely?" | "What could this look like?" | "What should I do next?” |
| Output | A score, label or forecast | New text, images, audio, video or code | Actions, such as browsing, running code or editing files |
| Example | A bank flagging a transaction as probable fraud | A chatbot writing an email, an app drawing a logo | A coding agent fixing a bug, running the tests and opening a pull request |
| Built on | Machine learning models of many kinds | LLMs, diffusion models and related designs | A generative model, usually an LLM, placed in a loop with tools |
The lines blur. An LLM is, mechanically, a predictor of the next token that is used to generate, and agentic AI is generative AI given tools and a goal. For agents, see what is agentic AI and best AI agents.
How does generative AI work?
Every generative AI system works in two stages: training, where a model learns the patterns in a very large dataset, and generation, where it uses those patterns to produce something new from a prompt.
- Collect the data. Text from the web, books and code; images paired with captions; video, music or speech. The scale is enormous: leading text models are trained on tens of trillions of tokens, as our LLM guide covers.
- Compress it into numbers. Text is split into tokens, and images, video and audio are squeezed into compact numerical representations the model can calculate with.
- Train the model. A neural network with billions of adjustable values, called parameters, is shown example after example and nudged each time to get better at its training task: predicting the next token, or removing noise from an image.
- Tune it to follow instructions. Raw models are then trained further on examples and human feedback so they respond to prompts usefully and refuse harmful requests.
- Generate. At use time, the prompt is converted into the same numerical form and the trained model produces output, one token or one denoising step at a time. Running a trained model like this is called inference.
The model does not store its training data and look things up. What it learned is spread across its parameters, which is why generative AI can produce something fluent and original-looking that is still factually wrong.
The main kinds of generative model
Four designs account for almost every generative AI product.
| Model type | How it generates | Mainly used for | Key paper |
|---|---|---|---|
| Transformer (autoregressive) | Predicts the next token, adds it to the sequence and repeats | Text, code, some image and audio generation | ”Attention Is All You Need” |
| Diffusion model | Starts from random noise and removes it over many steps, guided by the prompt | Images, video, some audio | Ho, Jain and Abbeel |
| Generative adversarial network (GAN) | A generator makes fakes and a discriminator tries to catch them; each trains the other | Faces and images before diffusion took over; still used for upscaling and fast effects | Goodfellow and colleagues |
| Variational autoencoder (VAE) | Compresses data into a compact code and learns to rebuild new data from that code | Mostly as a component: the compression stage inside many image and video generators | Kingma and Welling |
Modern products mix these. A typical image generator uses a VAE-style encoder to compress images, a diffusion model to generate in that compressed space and a transformer to read the prompt. A chatbot that also makes pictures may route the request to a separate image model or generate the image itself inside one multimodal model.
How image generators work: diffusion models explained
A diffusion model is a generative model that learns to turn random noise into an image by removing the noise a little at a time, guided by a text prompt. Most AI image and video generators are built on diffusion or a close relative of it.
The core idea: learn to remove noise
Training a diffusion model works backwards from destruction.
- Add noise. Take a real training image and add a small amount of random static. Repeat many times until nothing is left but noise. This is the forward process, and it needs no learning.
- Learn to undo it. Train a neural network to look at a noisy image and predict the noise that was added, so it can be subtracted. The network sees millions of images at every level of noise.
- Generate from scratch. To make a new image, start with pure random noise and run the trained network repeatedly. Each pass removes a little predicted noise, and a coherent picture emerges over the steps.
The idea was first set out by Sohl-Dickstein and colleagues, borrowing from thermodynamics. It became practical with the denoising diffusion probabilistic models paper by Jonathan Ho, Ajay Jain and Pieter Abbeel, which showed diffusion could produce images of a quality competitive with GANs.
How the prompt steers the picture
A diffusion model on its own makes a random plausible image. To make the image you asked for, the prompt is converted into numbers by a text encoder, and those numbers are fed into every denoising step. “A red bicycle against a white wall” therefore pushes each step towards an image that matches the words.
A technique called classifier-free guidance (Ho and Salimans) controls how strongly the model sticks to the prompt. The guidance or “CFG” slider in many image tools sets this: higher values follow the prompt more literally, at some cost to variety and naturalness.
Latent diffusion: why it runs on a normal computer
Running diffusion directly on millions of pixels is slow and expensive. The latent diffusion paper by Robin Rombach and colleagues moved the process into a compressed “latent” space: an encoder shrinks the image to a much smaller representation, diffusion happens there, and a decoder turns the result back into full-resolution pixels. That cut the computing cost enough for Stable Diffusion, built on this approach, to run on a consumer graphics card when Stability AI released it publicly.
Diffusion transformers and flow matching
The newest image and video models keep the diffusion idea but change the machinery.
- Diffusion transformers. Early diffusion models used a convolutional network called a U-Net to predict noise. Peebles and Xie replaced it with a transformer, the same architecture behind LLMs, which scales better with more data and computing power.
- Flow matching. Instead of many small noise-removal steps, flow-matching models learn a straighter path from noise to image, so they need fewer steps. Stability AI’s Stable Diffusion 3 paper combined a “rectified flow” approach with a transformer.
Not every image generator uses diffusion
Some image generators draw the picture as a sequence of tokens, the way an LLM writes text. OpenAI said its GPT-4o image generation was “embedded natively, deep in the architecture” of its GPT-4o model and “significantly more capable” than its earlier DALL-E 3 models, and that this lets the model draw on its wider knowledge when making an image. Our best AI image generator page tracks which models currently lead on independent arenas.
How video generators work
Video generators extend image diffusion through time. OpenAI’s Sora technical report sets out a design now common in video models: a compression network shrinks video into a latent space, the compressed video is cut into “spacetime patches” that “act as transformer tokens”, and a diffusion transformer learns to turn noisy patches into clean ones. The hard part is consistency: keeping a face, an object and the laws of physics stable from frame to frame. Sora itself is no longer available: OpenAI has closed both the app and the API. For the current leaders, see best AI video generator.
What can generative AI create?
Generative AI now covers every common media type. The table below maps each one to how it works and to our ranking page for the tools.
| Output | What it does | Usually built on | Best-of page |
|---|---|---|---|
| Text | Answers, drafts, summaries, translations, analysis | LLMs | Best AI chatbots, best AI for writing |
| Code | Writes, explains, reviews and fixes software | LLMs trained heavily on code | Best AI for coding |
| Images | Creates and edits pictures from a prompt | Diffusion or flow-matching models; some multimodal LLMs | Best AI image generator |
| Video | Makes short clips from text or a still image | Diffusion transformers | Best AI video generator |
| Speech | Reads text aloud in natural or cloned voices | Transformer and diffusion audio models | Best AI voice generator, best text-to-speech APIs |
| Music | Composes songs, often with vocals and lyrics | Transformers or diffusion over compressed audio tokens | Best AI music generator |
| 3D | Builds 3D models from text or images | Diffusion and reconstruction models | Best AI 3D model generators |
Text and code
Text is the most widely used form of generative AI, and it all runs on large language models. The same models write code, because code is text with strict rules; coding is one of the areas where generative AI is most heavily used and most rigorously benchmarked. See what is an LLM for how text generation works, best AI for coding for the tools and vibe coding for building software by prompting.
Audio and music
Audio models usually compress sound into discrete tokens and then generate those tokens with a transformer, or generate compressed audio with diffusion. Google’s AudioLM paper set out the token approach for speech and piano music, and Meta’s MusicGen applied a single transformer to compressed music tokens. Voice cloning is the same technology aimed at copying one person’s voice from a short sample, which is why it is also the source of many audio deepfakes.
Multimodal models
A multimodal model handles more than one kind of input or output in a single system: for example, reading a photo and a question together, or writing an answer and drawing an illustration in the same conversation. The flagship models from OpenAI, Google and Anthropic all accept images as well as text.
Examples of generative AI
These are the best-known generative AI products by category. This is a map, not a ranking: the ranking pages linked in each row carry the current leaders, scores and prices.
| Category | Well-known examples | Current ranking |
|---|---|---|
| Chat assistants | ChatGPT, Claude, Gemini, Microsoft Copilot, Meta AI, DeepSeek | Best AI chatbots |
| Image generators | ChatGPT Images, Google’s Nano Banana, Midjourney, FLUX, Ideogram, Adobe Firefly | Best AI image generator |
| Video generators | Google Veo, Runway, Kling, Alibaba’s Wan, MiniMax Hailuo, ByteDance’s Seedance | Best AI video generator |
| Voice and speech | ElevenLabs, OpenAI and Google speech models | Best AI voice generator |
| Music | Suno, Udio, ElevenLabs Music, Google Lyria | Best AI music generator |
| Coding | Claude Code, OpenAI Codex, GitHub Copilot, Cursor | Best AI for coding |
| Open models you can run yourself | Llama, Qwen, DeepSeek, Gemma, Stable Diffusion, FLUX | Best open-source LLMs, best local LLMs, what is open-source AI |
Independent leaderboards rank generative models by blind human votes and by test scores. The LMArena leaderboards and Artificial Analysis both run separate boards for text, images and video, and they are the main independent evidence behind our rankings.
How widely is generative AI used?
- By consumers. OpenAI has reported more than 900 million weekly ChatGPT users and more than 50 million paying subscribers.
- By businesses. In McKinsey’s global survey of 1,993 respondents, 88% said their organisation used AI in at least one business function, while 7% said AI had been fully scaled across it.
What generative AI is good at, and where it fails
Generative AI is strongest where a good first draft is valuable and a person can check the result: writing, summarising, brainstorming, translating, prototyping designs and writing code that can be tested. It is weakest where a single wrong detail matters and nobody checks.
Hallucination
A hallucination is a confident, plausible output that is false: an invented citation, a wrong date, a non-existent product feature. It happens because a generative model produces the most likely-looking output, not a fact it has checked. OpenAI’s own research argues that standard training and evaluation “reward guessing over acknowledging uncertainty”. Image and video models have their own version: extra fingers, garbled text and physics that does not work. Grounding answers in search results or your own documents, a technique called retrieval-augmented generation, reduces the problem without removing it. Our AI hallucinations guide covers why it happens and how often.
Copyright and training data
Generative models are trained on huge amounts of material made by people, and whether that training is lawful is being settled in court case by case.
- Anthropic. A US judge ruled that training on lawfully bought books was fair use but that keeping pirated copies was not. A $1.5 billion settlement with authors, about $3,000 for each of more than 400,000 books, has received final court approval; Anthropic did not admit liability.
- Stability AI. The UK High Court ruled that the Stable Diffusion model was not an “infringing copy” of Getty Images’ photos, because its weights never stored copies of them; Getty dropped its training claim during the trial and was granted permission to appeal on the infringing-copy point.
- OpenAI. The New York Times sued OpenAI and Microsoft, and a US judge allowed the main claims to proceed. The claims have not been decided at trial.
For commercial work, some vendors train only on licensed material and offer legal cover for customers; the image and music ranking pages note which.
Deepfakes and labelling
Generative AI makes convincing fake images, audio and video of real people cheap to produce. Two kinds of response are in place. Technical: invisible watermarks and signed content credentials that record how a file was made (see what is AI watermarking and what is C2PA). Legal: the EU AI Act’s transparency rules apply from 2 August 2026 and require providers of generative AI to mark output in a machine-readable way, and anyone publishing a deepfake to disclose it; systems already on the market before that date were given until 2 December 2026 to add the marking. To check a suspicious file yourself, see how to tell if an image is AI-generated and best deepfake detectors.
Other limits
- Same prompt, different answer. Output is sampled, so results vary from run to run.
- Knowledge cutoff. A model knows nothing after its training data ends unless the app gives it web search.
- Bias. Models reflect patterns in their training data, including stereotypes, and vendors’ fixes can over-correct.
- Cost and energy. Every output takes computing power. Google reported that the median Gemini text prompt used 0.24 watt-hours.
A short history of generative AI
| Date | Event |
|---|---|
| December 2013 | Kingma and Welling publish the variational autoencoder |
| June 2014 | Ian Goodfellow and colleagues publish generative adversarial networks |
| March 2015 | Sohl-Dickstein and colleagues propose diffusion models |
| June 2017 | Google researchers publish the transformer, the basis of every LLM |
| June 2020 | Ho, Jain and Abbeel’s DDPM paper makes diffusion competitive with GANs |
| January 2021 | OpenAI announces DALL-E, generating images from text |
| December 2021 | Rombach and colleagues publish latent diffusion |
| August 2022 | Stability AI releases Stable Diffusion with open weights |
| 30 November 2022 | OpenAI launches ChatGPT |
| 15 February 2024 | OpenAI previews Sora text-to-video |
| 25 March 2025 | OpenAI puts native image generation into GPT-4o and ChatGPT |
| 2 August 2026 | EU AI Act transparency rules for AI-generated content start to apply |
For the models that have launched since, see the best AI models ranking.
How to start using generative AI
| What you want to do | Where to start |
|---|---|
| Ask questions, write, summarise, study | Best AI chatbots |
| Try it without paying | Best free AI tools |
| Make images | Best AI image generator, best free AI image generator |
| Make video | Best AI video generator, best free AI video generator |
| Write code | Best AI for coding |
| Build it into a product | Best LLM APIs |
| Run models privately on your own hardware | Best local LLMs |
Frequently asked questions
What is generative AI in simple terms?
Generative AI is AI that makes new things, such as text, images, video, music or code, from a prompt. It learns the patterns in huge amounts of example data during training and then produces new content that follows those patterns. ChatGPT, Claude, Gemini and Midjourney are examples.
How does generative AI work?
Generative AI works by training a neural network on a very large dataset until it learns the patterns in it, then using that trained model to produce new content from a prompt. Text models generate one token at a time by predicting what comes next. Most image and video models start from random noise and remove it step by step until an image matching the prompt appears.
What is the difference between AI and generative AI?
AI is the whole field of building systems that perform tasks associated with human intelligence. Generative AI is one part of it: AI that creates new content. Most AI in everyday use, such as spam filters, fraud detection and recommendations, is predictive rather than generative, because it labels or scores data instead of creating anything.
Is ChatGPT generative AI?
Yes. ChatGPT is a generative AI app made by OpenAI. It runs on OpenAI’s GPT large language models to write text and code, and it can also generate images. The app adds the chat interface, memory, web search and file handling around the models.
What is a diffusion model?
A diffusion model is a generative AI model that creates images, video or audio by starting from random noise and removing it a little at a time until a coherent result appears. It learns to do this in training by watching real images being turned into noise and learning to reverse the process. Stable Diffusion, FLUX and most AI video generators are built on diffusion or a close variant.
How do AI image generators work?
Most AI image generators turn your prompt into numbers with a text encoder, start from a field of random noise, and run a diffusion model that removes noise over many steps while being steered towards the prompt. To save computing power, the work usually happens in a compressed version of the image that a decoder expands to full resolution at the end. Some newer tools instead generate the image inside a multimodal language model, token by token.
What is the difference between generative AI and an LLM?
An LLM is one type of generative AI: a model trained on text that writes by predicting the next token. Generative AI is the wider category and also includes image, video, music and speech generators, many of which are built on diffusion models rather than LLMs. Every LLM is generative AI, but not all generative AI is an LLM.
What is the difference between generative AI and predictive AI?
Predictive AI analyses existing data to output a label, score or forecast, such as the probability that a transaction is fraudulent. Generative AI outputs new content, such as an email, an image or a song. Both are built with machine learning, and an LLM is technically a predictor of the next token used to generate.
What are examples of generative AI?
Examples of generative AI include chat assistants such as ChatGPT, Claude and Gemini; image generators such as Midjourney, FLUX and ChatGPT Images; video generators such as Google Veo, Runway and Kling; music generators such as Suno; voice generators such as ElevenLabs; and coding tools such as GitHub Copilot and Claude Code.
Is generative AI accurate?
Generative AI is often accurate but not reliably so. It produces the most plausible output rather than checked facts, so it can state false information confidently, which is called hallucination. Accuracy improves when the tool searches the web or your own documents and cites its sources, but important facts should still be checked.
Is generative AI legal to use?
Using generative AI tools is legal in general, but the law around their training data and output is still being settled. Courts in the US and UK have ruled on parts of the question, and Anthropic’s $1.5 billion settlement with authors has been approved. Since 2 August 2026 the EU has required generative AI output to carry a machine-readable mark and deepfakes to be disclosed. For commercial use, check each tool’s licence and whether it trains on licensed material.
Can you tell if something was made by generative AI?
Sometimes. Some generators add invisible watermarks or C2PA content credentials that tools can read, and AI detectors estimate whether text or images are machine-made, but none of these methods is fully reliable and watermarks can be stripped. See how to tell if an image is AI-generated and how AI detectors work.
Will generative AI replace jobs?
Generative AI is already changing tasks in writing, design, customer service and programming, but forecasts of how many jobs it will replace vary widely and are disputed. In McKinsey’s survey, 7% of respondents said AI had been fully scaled across their organisation.