GENERATIVE AI • LESSON 3

What Can GenAI Generate?

Generative AI can create much more than chatbot answers. Depending on the model, it can generate text, images, code, audio, video, structured data, and even combinations of different media.

CORE IDEA

GenAI takes an input and creates a new output.

The output depends on the capability of the model. A text model may generate an explanation or email. An image model may create a product image. A coding model may generate a function. Some modern systems can work with several types of input and output together.

01

What Does "Generate" Actually Mean?

The word generate simply means that the AI produces an output based on what you provide as input.

Your input could be a prompt, document, image, voice instruction, code, or structured information.

INPUT Prompt / Image / Voice / Data
GENERATIVE AI Learns patterns and produces an output
OUTPUT Text / Image / Code / Audio / Video
Simple example:

If you ask an AI model, "Write a 100-word product description for a laptop," the instruction is the input and the generated product description is the output.

02

The Main Things GenAI Can Generate

Generative AI systems can produce different types of content. The exact capabilities depend on the model and the tools connected to it.

T

Text

Articles, emails, summaries, explanations, conversations, stories, and documentation.

LANGUAGE
I

Images

Illustrations, product visuals, concepts, advertisements, diagrams, and creative images.

VISUAL
C

Code

Functions, SQL queries, tests, scripts, documentation, and code explanations.

SOFTWARE
A

Audio

Speech, narration, voiceovers, pronunciation, and other generated audio.

SOUND
V

Video

Short videos, animations, demonstrations, marketing content, and visual stories.

VIDEO
J

Structured Data

JSON, tables, schemas, classifications, extracted fields, and machine-readable output.

DATA
03

GenAI Can Generate Text

Text generation is one of the most common uses of Generative AI. A model can take a natural-language instruction and generate text that follows the requested purpose, tone, format, and length.

T
TEXT GENERATION From instruction → to useful written content

Practical Example 1 — Customer Support

Imagine an e-commerce customer asks:

My order has not arrived yet.
Can you explain what I should do?

A GenAI system can receive order information from the application and turn that information into a natural-language response.

INPUT Order #10452

Shipment delayed by 2 days.

GENERATED OUTPUT

Your order is currently in transit and has been delayed by approximately two days. The latest tracking information shows that the package is still moving through the delivery network.

Practical Example 2 — Marketing Content

A marketing team can provide product information and ask GenAI to create several versions of promotional copy.

Write three short product descriptions
for a wireless noise-cancelling headphone.

Target audience:
Young professionals.

Tone:
Modern and simple.
What GenAI is doing

It is not simply copying the prompt. It uses patterns learned from large amounts of text to construct new sentences that follow the requested style and purpose.

PRACTICAL PRINCIPLE Better instructions usually produce more useful output.

Compare "Write about headphones" with a prompt specifying the audience, tone, length, features, and purpose. The second instruction gives the model much more useful context.

04

GenAI Can Generate Images

Image-generation models can create new visual content from natural-language descriptions. You describe the scene, subject, style, composition, or purpose and the model generates an image based on that instruction.

USER PROMPT "Create a premium product photo of a black smartwatch on a dark studio table, soft lighting, realistic photography."
WATCH
AI-GENERATED VISUAL

Practical Example 1 — E-Commerce Product Images

Suppose a company has a new product but does not yet have a professional marketing photograph.

Create a clean e-commerce product image
of a white running shoe.

Show the complete shoe from a side angle.
Use a premium studio background.
Keep the product realistic.

The generated image can be used as a concept, marketing asset, or design starting point, subject to the company's quality and legal requirements.

Practical Example 2 — Learning and Education

An educational website can generate an illustration that helps explain a difficult concept.

Create a simple educational illustration
showing how a neural network receives input,
processes information through hidden layers,
and produces an output.
Why visuals matter

A learner may understand a concept faster when they can see the relationship between the input, model, and output instead of reading several paragraphs of explanation.

05

GenAI Can Generate Code

Coding assistants can generate code from natural language instructions. They can also explain existing code, generate tests, refactor code, create SQL queries, and help developers investigate errors.

DEVELOPER Natural-language requirement
GENAI Generates code
DEVELOPER Reviews, tests and integrates

Practical Example 1 — Generate a Function

Write a Python function that accepts a list
of numbers and returns the average.

Handle an empty list safely.
POSSIBLE GENERATED OUTPUT
def calculate_average(numbers):
    if not numbers:
        return 0

    return sum(numbers) / len(numbers)

Practical Example 2 — Generate SQL

A developer could describe the desired query instead of manually writing the SQL syntax.

Write a SQL query that returns the
top 10 customers by total order value.

Tables:
customers
orders

Join customers to orders using customer_id.
Developer rule:

Never blindly trust generated code. Review it, run tests, check security, verify performance, and make sure it actually matches the business requirement.

06

GenAI Can Generate Audio

Generative AI can transform written instructions into spoken audio. Depending on the system, it can generate narration, voiceovers, pronunciation practice, or other forms of synthetic audio.

TEXT → AUDIO "Welcome to the Generative AI course."

Practical Example 1 — Online Course

An educational platform can convert lesson text into narration so students can listen instead of reading every paragraph.

Read this lesson in a clear,
slow educational voice suitable for beginners.

Practical Example 2 — Customer Service

A company can generate spoken responses for a voice assistant.

Convert the following response into
a polite and concise spoken response:

"Your appointment has been confirmed
for tomorrow at 10 AM."
Important:

Synthetic voices can be useful, but using a real person's voice without appropriate permission can create serious ethical, legal, and trust problems.

07

GenAI Can Generate Video

Video-generation systems can create short visual sequences from text descriptions, images, or other inputs. The quality and capabilities vary widely between models.

01 Prompt Describe the scene
02 GenAI Model Generates visual sequence
03 Video Generated sequence

Practical Example 1 — Marketing

Create a short cinematic video of a
modern electric car driving through a
rainy city at night.

Premium advertising style.

Practical Example 2 — Education

Create a short educational animation
showing water moving through the
water cycle: evaporation, condensation,
and precipitation.
The important idea

Video generation is not just "making a picture move". A video contains time, motion, scenes, objects, camera movement, and consistency. These make video generation a significantly more complex problem.

08

GenAI Can Generate Structured Data

This is especially important for developers. Generative AI does not always need to return a paragraph for a human.

It can also produce structured output such as JSON, which software applications can process.

HUMAN REQUEST Extract customer information from this message.
STRUCTURED OUTPUT
{
  "name": "John",
  "email": "john@example.com",
  "issue": "Refund"
}

Practical Example 1 — Extract Customer Information

A customer might send a completely unstructured message:

Hi, I'm John.
My email is john@example.com.
I want a refund for order 8392.

A GenAI system can transform that into structured information that an application can process.

Practical Example 2 — Product Data Extraction

Extract these fields from the product description:

product_name
brand
price
category
availability

Return valid JSON only.
Why developers care:

Structured output creates a bridge between natural-language AI and traditional software. The user can communicate naturally while the application receives predictable data.

09

GenAI Can Work Across Multiple Types of Data

Modern AI systems are increasingly multimodal. This means a model may be able to understand or work with more than one type of input, such as text, images, audio, and documents.

T Text
I Image
A Audio
D Document
GENAI Understand + Reason + Generate
Text
Structured Data
Code

Practical Example 1 — Analyze an Invoice

A user can provide an invoice image and ask the AI to identify important information.

Look at this invoice and identify:

1. Invoice number
2. Supplier
3. Total amount
4. Invoice date

Return the result as JSON.

Practical Example 2 — Analyze a Screenshot

A developer can provide a screenshot of an error and ask the model to explain what might be wrong.

Analyze this error screenshot.

Explain:
1. What the error means
2. The likely cause
3. Two practical fixes
KEY IDEA Multimodal AI reduces the boundary between different types of information.

Instead of converting everything manually into text first, the AI system may be able to work directly with the original input format.

10

One Real Business Can Use All of These Together

Consider an e-commerce company launching a new product.

Instead of thinking about GenAI as one chatbot, think about it as a collection of generation capabilities inside a larger application.

01 Product Information Specifications and images
02 Text Generation Product description
03 Image Generation Marketing visual
04 Marketing Campaign content
TEXT Product description
IMAGE Product advertisement
SOCIAL Social media caption
CODE Product-page implementation
This is how you should think as a developer.

Don't ask only, "Where can I add a chatbot?" Ask, "Which parts of this workflow involve creating content that a model can generate, transform, summarize, or structure?"

11

Is GenAI Just Copying Existing Content?

This is an important question for beginners.

Generative models learn statistical patterns from training data. During generation, they use those learned patterns to produce an output based on the current input and context.

That does not mean that every generated response is guaranteed to be completely original, correct, or factually reliable.

IMPORTANT

Generated does not automatically mean correct.

A model can generate fluent text that contains incorrect facts, invented information, outdated information, or incorrect code.

The more important the application, the more validation you need around the model.

12

How a Developer Should Think About GenAI Output

A beginner often thinks:

User → Prompt → AI → Answer

Production applications are usually more complicated.

01 User Input
02 Application Logic
03 GenAI Model
04 Validation
05 Final Output

Example 1 — Customer Support

The application should not allow the model to invent an order status. It should retrieve the actual order information first and then allow the model to explain that information.

Example 2 — Code Generation

Generated code should not automatically go into production. It should go through review, tests, security checks, and the normal development process.

13

A Simple Map of GenAI Capabilities

Use this map as a mental model while learning Generative AI.

GENAI Generate
Text Emails, articles, summaries
Images Designs, products, illustrations
Code Functions, SQL, tests
Audio Speech, narration
Video Animations, marketing
Data JSON, schemas, extraction
REMEMBER THIS

GenAI is much bigger than text chat.

  • GenAI can generate text such as emails, summaries, explanations, and product descriptions.
  • GenAI can generate images from natural-language descriptions.
  • GenAI can generate and transform code.
  • GenAI can generate audio and synthetic speech.
  • GenAI can generate video and animations.
  • GenAI can produce structured outputs such as JSON.
  • Multimodal systems can work across text, images, audio, documents, and other inputs.
  • Generated output still needs validation when accuracy, security, or business correctness matters.
QUICK CHECK

Test Your Understanding

1. You want AI to write a product description. What type of output is being generated?

Answer: Text.

2. You want AI to create a product photograph from a written description. What type of output is being generated?

Answer: Image.

3. You ask an AI to return customer information as valid JSON. What makes this different from normal text generation?

Answer: The output follows a structured format that software can process.

4. Should generated code automatically be deployed to production?

Answer: No. Developers should review, test, validate, and secure generated code before deployment.

GENERATIVE AI • LESSON 3 COMPLETE

You now know what Generative AI can create.

The next step is to understand how Generative AI actually works behind the scenes, including tokens, models, probability, and the process used to generate an answer.