A generative AI task is any task where the system creates new content: writing text, generating an image from a description, composing code, drafting a summary, producing audio or video. Tasks that label, rank, predict, or retrieve existing information (classifying an email as spam, forecasting next quarter's sales, detecting a fraudulent transaction) are not generative, even when they use sophisticated AI. If you arrived here from a certification course or an interview prep list, that one paragraph is the answer; the rest of this page gives you the test to apply to any task you have never seen before, a worked examples table, and the reasoning behind the exam variants, so the distinction sticks rather than being memorized.

Split illustration separating generative AI tasks that create new content like text, images, and code from non-generative tasks that classify, predict, rank, or retrieve existing data
The dividing line: generative tasks create a new artifact; the rest judge existing data

The direct answer

Generation means producing an artifact. The tasks below are generative because in each case the model composes something that did not exist until it ran:

And these common AI tasks are not generative, because their output is a decision about existing data rather than a new artifact: classifying emails as spam, predicting sales or churn, detecting fraud or defects, ranking search results, recommending products, and transcribing speech to text (transcription records what was said; it does not invent content).

The one-question test

Every borderline case resolves with the same question: is the output new content, or a judgment about existing content? New content means text, imagery, code, or audio that the model composed. A judgment means a label, score, category, prediction, or retrieved item.

Apply it to the two cases that trip people up most:

A few genuinely borderline cases, resolved with the same question. Paraphrasing and rewriting are generative: the new phrasing is composed text. Autocomplete is generative in miniature; the suggested continuation is new content, just short. Data augmentation, creating synthetic training examples, is generative by definition. Sentiment analysis is not: "positive" is a label. Entity extraction is not: it points at spans that already exist in the text. Clustering is not: grouping items creates no artifact, only structure over existing data.

Examples: which tasks are generative AI tasks, and why

The table below covers the tasks that appear most often in courses, exams, and real product decisions. The "why" column is the part worth internalizing; the verdicts follow mechanically from it.

TaskGenerative?Why
Writing a product descriptionYesNew text is composed
Creating an image from a text promptYesNew image is synthesized
Summarizing a reportYesThe summary is newly written text
Writing or completing codeYesNew code is composed
Translating a paragraphYesThe target-language text is newly generated
Classifying email as spamNoAssigns an existing label to an existing item
Forecasting salesNoOutputs a number about existing patterns
Detecting fraudNoFlags existing transactions; creates nothing
Ranking search resultsNoOrders existing documents
Recommending productsNoSelects from an existing catalog
Transcribing a meetingNoRecords existing speech as text
Answering a question in a chatYesThe answer is newly composed text

The exam-question variants, worked through

This question appears in AI fundamentals courses and certification exams because it tests whether you can separate the generative family from the broader machine-learning toolbox. The multiple-choice version nearly always pairs one creation task against three judgment tasks. Two representative shapes:

If an unfamiliar option appears, apply the one-question test rather than pattern-matching keywords. "Generating a forecast" is still prediction (the output is a number), and "creating a spam filter" is still classification; exam writers enjoy planting creation verbs in front of judgment tasks.

Generative vs discriminative, in one minute

The formal version of this distinction: discriminative models learn boundaries between categories, so given an input they answer "which one?" or "how much?". Generative models learn the structure of the data deeply enough to sample new examples from it, so they answer "here is one". IBM's and Google Cloud's primers both draw the line the same way: generative AI is defined by producing novel content, in contrast to systems that classify or predict over existing data.

In practice, the two are teammates. A support product might use a discriminative model to route a ticket (classification), then a generative model to draft the reply (generation). The same handoff runs inside Gravity's own agents: a judgment step decides what the task needs, a generative step produces the draft, and the user only ever sees the finished result. Neither replaces the other; they hand off.

Beyond generation: when tasks chain into agents

Most real work is not one task. "Handle my overdue invoices" involves reading the ledger (retrieval), deciding which are overdue (classification), writing reminder emails (generation), sending them (action), and checking replies (judgment). Software that chains those steps toward the goal and knows when to pause for a human is an AI agent, and generation is just its creative engine. That layered relationship (generation inside, pursuit of a goal outside) is the subject of agentic AI vs generative AI, with the conversational sibling covered in AI agent vs chatbot.

If the exam question brought you here but the underlying interest is what this technology can actually do for your work, start with what is an AI agent?, browse concrete AI agent examples, and calibrate expectations with what can an AI agent actually do?. When you want the buying view rather than the theory, the category guide is what is an AI agent platform?.

Frequently asked questions

Which task is a generative AI task?

Any task where the AI produces new content is a generative AI task: writing an email or article, generating an image from a description, composing code, drafting a summary, creating audio or video. Tasks that only label, rank, predict, or retrieve existing information, like classifying spam or forecasting sales, are not generative.

Is summarizing a document a generative AI task?

Yes. A summary is new text the model composes; it did not exist in the source in that form. This regularly trips people up because summarizing feels like extraction, but the model writes original sentences, which makes it generation.

Is classifying emails as spam a generative AI task?

No. Spam filtering assigns an existing label to an existing item; nothing new is created. It is a classification task, the textbook example of discriminative rather than generative AI, even when a large language model performs it.

Is predicting or forecasting a generative AI task?

No. Forecasting sales, predicting churn, or estimating a delivery time outputs a number or probability about existing patterns, not new content. Prediction is classic machine learning; generation creates artifacts like text, images, code, or audio.

What is the difference between generative and discriminative AI?

Discriminative models draw boundaries: given an input, they decide which category it belongs to or what value to predict. Generative models learn the underlying patterns well enough to produce new samples: new sentences, new images, new code. Ask whether the output is a label or a creation.

Is using an AI agent a generative AI task?

It is more than one. An agent chains many tasks together: some generative (drafting the email), some not (deciding which tool to call, checking a result). Generation is the creative engine inside; the agent adds planning, tool use, and follow-through until the work is finished.

Sources