# What is generative AI?

> Generative AI creates new content such as text, images, audio and code from a prompt. Learn how it works, what it can make and where it falls short.

URL: https://www.jalkarna.in/based/learn/what-is-generative-ai/  
Last updated: 2026-11-16

Generative AI is a type of artificial intelligence that creates new content, such as text, images, audio, video, or code, based on a prompt you give it. Instead of only sorting or predicting from existing data, it produces something that did not exist before, in the style and structure of what it learned from.

It sits inside the wider field of [artificial intelligence](https://www.jalkarna.in/based/learn/what-is-artificial-intelligence/) and is built with [machine learning](https://www.jalkarna.in/based/learn/what-is-machine-learning/).

## How does generative AI work?

A generative model is trained on a large collection of examples, such as text or images. During training it learns the statistical patterns of that material: which words tend to follow which, or what shapes and textures make up a "dog on a beach".

When you give it a prompt, it uses those learned patterns to produce a new output that fits. Two common approaches are:

- **Language models**, which generate text one token at a time. See [what is a large language model](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/).
- **Image models**, such as diffusion models, which start from random noise and gradually refine it into a picture that matches the prompt. See [what is AI image generation](https://www.jalkarna.in/based/learn/what-is-ai-image-generation/).

## What can generative AI create?

| Output | Examples |
|---|---|
| Text | Answers, emails, summaries, stories |
| Images | Illustrations, concept art, edits to a photo |
| Audio | Synthetic speech, music |
| Code | Functions, scripts, explanations |
| Video | Short generated clips |

## Generative AI vs traditional AI

Traditional or predictive AI answers a question about existing data: is this email spam, what will sales be next month. Generative AI produces new material. The two use similar underlying machine learning, but the output differs: a label or number versus a piece of content.

## What are the risks and limits?

- **Inaccuracy.** Generated text can contain errors presented confidently. See [what are AI hallucinations](https://www.jalkarna.in/based/learn/what-are-ai-hallucinations/).
- **Bias.** Outputs reflect patterns, including skewed ones, in training data.
- **Originality and rights.** Questions about copyright and training data are still being argued in courts and policy debates, so check rules before commercial use.
- **Misuse.** The same tools can make misleading content, so disclose AI use where it matters.
- **Inconsistency.** The same prompt may yield different results each time.

## How do you get better results?

The prompt shapes the output. Be specific about the task, audience, format, and constraints, and give an example when you can. Our guide on [how to write good prompts](https://www.jalkarna.in/based/learn/how-to-write-good-prompts/) covers this in detail.

## Is generative AI the same as a chatbot?

No. A chatbot is one application of generative AI, specifically a conversational interface. Generative AI also powers image tools, code assistants, and more. See [what is an AI chatbot](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/). For more reading, try [Wikipedia on generative AI](https://en.wikipedia.org/wiki/Generative_artificial_intelligence).

## Generative AI in Based

Based uses generative AI for chat replies, summaries, and images. Use `/imagine` followed by a description to generate an image, or mention Based to chat. Every slash command also works with the "." prefix, such as `.imagine`. Details are on the [image generation docs](https://www.jalkarna.in/based/docs/image-generation/) and the [summaries feature page](https://www.jalkarna.in/based/features/summaries/).

## FAQ

### What is generative AI in simple terms?

It is AI that makes new content, like text, pictures, or code, from a description you give it. It builds the output from patterns learned in training data.

### What is the difference between generative AI and AI?

AI is the broad field. Generative AI is the part focused on creating new content rather than only classifying or predicting.

### Is generative AI always accurate?

No. It can produce wrong or invented details that sound convincing, so check anything important.

### What are examples of generative AI?

Chatbots that write replies, tools that turn text into images, systems that generate speech or music, and assistants that write code.

## Related
- [What is artificial intelligence (AI)?](https://www.jalkarna.in/based/learn/what-is-artificial-intelligence/)
- [What is a large language model (LLM)?](https://www.jalkarna.in/based/learn/what-is-a-large-language-model/)
- [What is an AI chatbot?](https://www.jalkarna.in/based/learn/what-is-an-ai-chatbot/)
- [What is AI image generation?](https://www.jalkarna.in/based/learn/what-is-ai-image-generation/)
- [How to write good AI prompts](https://www.jalkarna.in/based/learn/how-to-write-good-prompts/)
