
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore how generative AI creates images and text, from blog posts to art and videos, using tools like ChatGPT and image generators such as DALL·E, Stable Diffusion, and Midjourney.
A map of the course: image and video tools, how language models work, live text-generation demos, and a developer section with API lectures plus newer labs on tool history, citations, and memory. Download the November 2026 course map and FAQ in the resources.
Familiarize yourself with the Udemy user interface, from the course homepage to PDFs, cheat sheets, note cards, and basic Python code, plus Q&A, notes, announcements, and learning tools.
Connect with classmates through a private Facebook group, chat with the instructor and TA, and ask questions about GenAI for content; enroll to access via QR code or Facebook search.
Discover why generative AI matters, exploring tools like ChatGPT, Stable Diffusion, and Copilot to automate routine tasks, create content, and boost productivity through human-language interfaces and improved workflows.
Master essential ai definitions and acronyms, from llm and gan to transformers, priming and prompt engineering, to leverage ai tokens, multimodal llms, and api-powered workflows.
Master auto-regressive image generation with ChatGPT-4o to create consistent, editable images and infographics with inline image editing by iterating left-to-right, top-to-down, and building on prior context, unlike diffusion models.
Learn to generate images with Midjourney using prompts and the /imagine command in Discord, producing four images in about 60 seconds, with upscale, variation, and recycle options.
Learn to generate images with Gemini in the Google app using prompts like 'can you make me a picture of' and use keywords such as dslr, high-contrast, and 4k.
Explore Google Vertex AI Studio's media suite for generating images, audio, music, and video. See Veo video generation, Chirp text-to-speech, Lyra sound, and Imagine 3 image tools.
A short theory lecture on autoregressive image generation compared with diffusion. Autoregressive models build an image in order, like writing or painting, which helps with consistent subjects and readable text, at the cost of being slower and more expensive. A one-page comparison is in the resources.
One lecture covering four Adobe Firefly tools. Text to image: build a prompt from a simple noun up to a full scene, then use aspect ratio and style settings. Generative fill: remove people and boats from a photo and replace the sky, and see why selecting the whole region matters. Text effects: turn letters and words into textures such as fire and water, or apple trees. Generative recolor: re-theme a vector (SVG) logo for holidays and events.
This was recorded in the 2023 Firefly beta, so today's screens look different. Firefly now runs on newer Firefly image models and also offers partner models. The workflow you learn here still applies. Before you use Firefly for client work, read Adobe's current terms for commercial use and Content Credentials. This is not legal advice. The three Firefly prompt worksheets are in the resources.
Explore generating professional infographics with Nano Banana Pro, a Google image model, using reference images, nine-panel layouts comparing LEO, MEO, and GEO, with guidance options and explain like a 13-year-old.
A wrap-up for the image-generation section: how to carry prompting ideas from one tool to another, and how to choose a tool based on the job rather than the brand name on the box.
This case study was recorded in July 2023. It covers Coca-Cola's first wave of generative AI: the "Masterpiece" film, made with help from Stable Diffusion, and "Create Real Magic," where fans used GPT-4 and DALL-E to remix the brand's archive art.
The story has moved on since then, so download the "2026 update" PDF under Resources. It covers what happened next. In 2024 three studios used generative AI to remake the 1995 "Holidays Are Coming" ad, and critics called the result uncanny. The 2025 versions were visibly better, and the brand says the ads performed well with consumers. In 2026 came AI "digital twins" of football stars built with their consent, Gemini-powered on-pack experiences, and a third AI-made holiday ad.
As you watch, think about the questions the PDF asks: which tool you'd use for a paid campaign, what you'd lock as a reference, what you'd refuse to prompt, and how you'd disclose AI-made work. Every fact in the PDF links to a public source.
Demystify large language models by explaining how LLMs infer the next word from probabilities, the transformer background, and the role of parameters and cost, while noting their tendency to hallucinate.
Discover transformers and their attention that weight training data, encode sentences into tokens, and use three-gram inference to power LLMs. Understand hallucinations and the need for fact checking prompts.
Explore the basics of prompt engineering to optimize prompts for large language models like chatgpt. Learn techniques that improve text summarization, information extraction, question answering, and coding tasks.
Explore zero shot and few shot prompting in ChatGPT and generative AI, showing how zero shot uses prebuilt knowledge and few shot uses examples, with limitations in reasoning and numbers.
A practical look at judging whether a prompt and a model actually did the job: what to change first (the prompt, the examples, or the model), and how to compare results instead of trusting a single lucky run.
Learn a practical framework for writing powerful prompts, including context, tone, background data, task rules, and examples, and how to test and refine prompts for production while handling edge cases.
Prime prompts by framing context and adopting expert roles to elicit specialized, higher-quality AI responses. See how context shifts produce tailored outputs for cover letters, business plans, and executive guidance.
Use chain of thought prompting to reveal the model’s work for better logical and math reasoning. Harness few-shot and zero-shot prompts with context and step-by-step thinking for more accurate answers.
Learn how grounding large language models improves accuracy by supplying task-specific data via retrieval and augmented generation, and compare grounding with fine-tuning for context using embedding and a vector database.
Explore multimodal LLMs that process images, audio, and video via alignment and modality modules, converting media into tokens the LLM understands; examine advantages and use cases.
Learn how encoders convert prompts into embeddings and how decoders use attention and context to generate tailored text, with examples from bank and river and multi-modal embeddings.
Discover how retrieval-augmented generation boosts LLM accuracy by fusing internal data with external sources and citing sources. Implement it with five lines of code and private data use cases.
Generalize your llm knowledge to new chatbots and future releases by mastering prompting principles, one-shot and multi-shot prompting, chain-of-thought techniques, and clear instructions, with awareness of hallucinations.
Practice: download the "Prompting, RAG and citations" worksheet in the resources. Try it first, then check the answer key.
A live walkthrough of using ChatGPT to draft written content. You will see how to brief the model, refine the result, and keep your own voice in the final edit.
A live walkthrough of asking ChatGPT to write and explain code. The useful habit is to give a clear goal, paste errors back into the same thread, and run the result yourself.
How to use a language model to outline, draft, and tighten a blog article or similar long-form piece, without handing over the final edit.
Update, revise, and proofread blogs and emails with ChatGPT
Summarize large contracts, documents, and reports into a succinct format with LLMs
Integrate the OpenAI API into an app using text completion, create an API key, install the OpenAI Python library with pip, and perform a completions.create call with model and parameters.
Use ChatGPT's Data analysis feature (formerly called Code Interpreter) to upload CSV data, run Python with pandas, and pull insights such as population figures from the dataset. The screens in this video may look different from today's ChatGPT app.
Compare major LLM options such as ChatGPT, Gemini, Claude, and Microsoft Copilot to identify ideal use cases for up-to-date info, copywriting, and PDF interactions. Product names and screens may have changed since this was recorded.
Define AI agents as software that interact with the environment, collect data, and steer self-determined tasks toward goals using multiple models and a vector memory store.
A case study of how a media company used generative models in its editorial workflow, and what that example still teaches about review, voice, and scale.
Build a custom GPT with the GPT Builder, uploading your data and instructions to create a shareable chatbot like Calorie Companion.
Explore the 2024 Gemini update, featuring a then-new AI model, multimodal image analysis, extensions for live data, and built-in fact-checking for content creation.
A hands-on look at Google NotebookLM: add your own sources, ask questions rooted in those documents, and use inline citations to check the answer. A short recap sheet is in the resources.
Shows how to plan a seven-day Italy itinerary with Gemini, refining prompts to minimize travel and organizing results in Google Docs.
A live demo of asking Claude questions about an attached PDF, including how to keep the answer tied to the document. A practice sheet is in the resources.
A live demo of drafting sales emails with ChatGPT: brief the model on the audience and the ask, then edit the result before you send it.
A live demo of using ChatGPT to help code a simple website, then running and fixing the result rather than pasting it unseen.
A live demo of drafting website copy with ChatGPT, including how to prime the model for tone and then edit for a real page.
Explore multimodal capabilities of LLMs with Gemini to perform image searches, refine results with priming and context, upload an image, and generate a blog-ready pros and cons list.
A live demo of pairing with ChatGPT on a coding task: set the goal, paste the error, take a small change, and run it yourself. A practice checklist is in the resources.
Discover the do's and don'ts of generative AI, including benefits like original content, art inspiration, quick prototyping, and awareness of copyright and plagiarism risks.
Fine-tuning teaches a model a style or a specialty from examples, but it is not the first tool to reach for when you need reliable JSON or a fixed schema. For structured formats, Structured Outputs on the Responses API is the current default — that lecture follows in this section. Fine-tuning still makes sense for a consistent voice, a narrow task, or behavior that prompting and Structured Outputs cannot lock down. This video was recorded when GPT-3.5 fine-tuning was the usual example, so the dashboard and model names may look different today. Confirm current fine-tuning models and file formats in the official OpenAI docs before you spend money on a job.
How to create an OpenAI API account and find the credentials you will use in later API lectures. Do not show or paste a real secret in a screenshot, a homework file, or Q&A.
Set up your python environment using either a local install on Mac, Windows, or Linux, or a browser-based Replit workspace, then install the OpenAI library with pip.
Learn OpenAI API pricing and usage limits, compare GPT-4 and GPT-3.5 Turbo, and set approved, hard, and soft usage limits using token-based costs on the dashboard.
A high-level look at the OpenAI API, including text generation, image generation, transcription, embeddings, and moderation. The current way to generate text is the Responses API, which the next lectures in this section cover. This video still describes the older Chat Completions and text Completions endpoints; treat those names as historical unless a later lecture says otherwise.
Make your first request with the OpenAI Responses API: set up the client, send a prompt, and read the model output.
Get reliable, schema-valid JSON from the Responses API with Structured Outputs: define a schema, request structured data, and parse it safely in your code.
Learn to generate original images from text prompts with Dall-E 3 and Dall-E 2, edit with masks, create variations, and call the image generation API using Python.
Generate phone wallpapers using the OpenAI image generation API with Dall-E three and Dall-E two, testing resolutions, HD and standard qualities, and in-house prompts.
Use the text to speech API to narrate a blog post and generate spoken audio in multiple languages, with realtime streaming and support for mp3, flac, aac, and opus.
Demonstrate how to transcribe blog post text into speech audio using the OpenAI text-to-speech API, selecting models and voices in Python to generate podcast-ready mp3 files.
A walkthrough of trying the Gemini API from Google AI Studio: where to open a project, run a prompt, and see what the API returns. Product names and screens may have changed since the recording.
A decision guide for when to self-host an open-source model versus calling a closed, managed API: control of data and weights versus the cost of running and updating the service yourself. A one-page recap is in the resources.
Give the model tools it can call with the Responses API: define function tools, handle function_call outputs, return results, and loop until the final answer.
A tool-using loop only works if the conversation history stays valid. You'll learn to append the assistant turn exactly as the API returned it, then send tool results that use the same call ids you were given — never invent one. We'll annotate a sample trace together: a good single call, parallel results, a mismatched id, an orphan id, a tool result on the wrong turn, and text placed before a result. You'll also learn to label truncated tool JSON "do not execute," and an empty retrieval "must not invent a citation." Everything runs offline. No API key is required. A coding exercise and a short quiz follow this lecture.
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
You'll build a research assistant that answers questions about a folder of documents with tool use: it searches, reads the right lines, quotes them, and cites the file and line number. Then you'll grade every answer in code before the user sees it, so a made-up file, a misquoted number, or an unanswerable question ends in an honest "I couldn't find that" instead of a confident guess. The loop can end as answered, refused, or partial if you hit the step limit. Everything runs offline with a scripted stand-in for the model, and live with your own API key. A coding exercise and a short quiz follow this lecture.
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
People casually call several different ideas "memory." This lecture sorts five of them: conversation history, retrieved snippets, persistent app memory, the prompt cache, and the context window. The test is one sentence: if the process dies, only what you persisted remains. We'll walk a five-row table, catch the mistake of calling a compacted summary "memory," and run a demo that restarts Python without a store so a preference spoken only in chat is gone. Persistent app memory lives in your application, and we do not write a store yet — that is the next lecture. Everything runs offline. No API key is required. A coding exercise and a short quiz follow this lecture.
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
The previous lecture showed that a preference spoken only in chat is gone when Python restarts with no store. This lecture writes that preference — and a new fact — under a per-user root your application owns: data/users/<id>/memories/. You'll learn the MemoryRecord fields (text, source, created_at, expires_at), resolve every path before a write, and refuse "..", absolute paths, and symlink escapes so nothing lands outside that user's folder. We'll write two records for one user, run the required path-traversal failure case, then restart Python and load that user's store so the preference now survives. Everything runs offline. No API key is required. A coding exercise and a short quiz follow this lecture.
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
The previous lecture wrote a preference under a per-user root your application owns. This lecture proves two things about that store. Persistence means a new process can load the same application data root — not the same Python object still sitting in memory. After we quit, MemoryStore.load for alex still has “Alex prefers concise citations.” Isolation means Blair cannot list Alex’s files: the same data root, user_id blair, returns an empty list. The required failure case is accidentally passing Alex’s memories folder as data_root when user_id is blair. That load is refused with DataRootRejected, and Alex’s files are not listed. Everything runs offline. No API key is required.
What you'll learn:
Explain why persistence means a new process can load the same application data root
Load Alex’s store after a real process quit and still see the preference
Show that MemoryStore.load for blair against the same data root does not list Alex’s files
Reject a per-user folder passed as data_root (the required failure case) so Alex’s files are not listed
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
The previous lecture left expires_at on the MemoryRecord and did not filter on it. This lecture adds three rules to that store. If expires_at is in the past, list_memories does not return the record — the file may still be on disk. delete removes the file, so a scratch note is actually gone. And a write whose text contains a secret is rejected. The lab uses a synthetic dummy token in the exercise files; it is not a real key. Do not paste real credentials into memory. The required failure case is a filter miss that would write that dummy token; scan_for_secrets catches it. Everything runs offline. No API key is required.
What you'll learn:
Skip a MemoryRecord whose expires_at is in the past, without deleting the file
Delete a memory file so it is gone from disk and from the list
Reject a write that contains the synthetic dummy secret, and write nothing
Show a filter miss being caught by a test, so a dummy secret cannot silently land on disk
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
MCP has two common transports: local stdio and remote HTTP(S). This lecture stays on local stdio. Your Python process is the MCP client. It spawns a read-only MCP server rooted at data/mcp_sources/, lists the tools (list_dir and read_file — there is no write tool), and reads ranger_probe_bulletin.md, which contains the phrase "Replace the dust cap after every logging run." Listing that root does not show Alex's memories under data/users/. A path such as ../../users/alex/memories/citations.json is rejected. Remote HTTP servers are configured on the API; local stdio is a client you run. This lecture stays offline. No API key is required.
What you'll learn:
Contrast local stdio (your process spawns the server and speaks JSON-RPC on stdin/stdout) with remote HTTP(S)
Root a local read-only MCP server at data/mcp_sources/ so a directory listing cannot see data/users/ memories
Spawn the server from Python, list the read-only tools, and read ranger_probe_bulletin.md
Reject path traversal through the MCP root (and absolute paths and symlink escapes) so Alex's memories are not read
This lecture was recorded on the Claude API. The ideas carry over to OpenAI and Gemini; use the vendor field map in this section for the matching field names.
Updated November 2026: This course now includes new developer lectures on keeping tool history valid, building a research assistant that cites its sources, and adding persistent, per-user memory, each with a coding exercise and a quiz. Spanish captions are available on nearly every lecture. Lecture titles that still said Bard have been updated to Gemini, and the developer section now covers more than GPT-3.5-tuning.
This course is designed to teach participants how to use ChatGPT, Google Gemini, Claude, Midjourney, and Adobe Firefly to create a wide range of written content, including blog articles and code, plus images and short video. The course will begin with an introduction to the basic concepts of these models and how they work. Participants will then learn how to use these models to generate text, including how to get reliable structured output with Structured Outputs and when fine-tuning still makes sense and how to use them for creative writing. In addition you will learn how to use GPT Builder to create your own GPT to share or list on the GPT Store. And with under the hood lessons, students will learn more about how the underlying transformers models generate text, how Generative Adversarial Networks (GANs) generate images, and encoder models allow LLMs to process prompts at a deeper level
In addition to learning how to use these models for writing, participants will also learn how to use them to generate generative new artwork. This will include learning about the different types of generative art that can be created using these models, as well as how to use them to create images, videos, and other forms of media.
Throughout the course, participants will work on hands-on projects, such as writing a blog post, creating a code snippet, coding a website, write engaging sales & website copy, and generating a piece of artwork. The course will also include exercises and quizzes to help solidify the concepts covered
By the end of the course, participants will have a deep understanding of how to use LLMs (Large Language Models) like ChatGPT, Google Gemini, and Claude, and image tools like ChatGPT Images, Midjourney, Nano Banana, and Adobe Firefly, to create a wide range of written content and artwork. They will be able to use these models to create their own written content and artwork, and will have the skills and knowledge to continue learning and experimenting with these powerful tools.
Join us to navigate the AI-powered waters of the future, and position yourself at the forefront of innovation. With our course, you'll not just ride the wave of the AI revolution—you'll be leading it.