Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Zero To Mastery

Building AI Apps with the OpenAI API: GPT, DALL-E & Whisper

via Zero To Mastery

Overview

Learn to use the OpenAI API for chat completions, image generation, text-to-speech, and speech-to-text so that you can utilize AI technologies in your applications. Plus you'll build your own AI application for creating healthy daily meal plans.
  • The exciting world of AI application development
  • Make Chat Completions API calls using OpenAI’s GPT models
  • Integrate text-to-speech (TTS) and speech-to-text (Whisper) into your applications
  • Use text-to-image API calls to DALL-E to generate original images

Syllabus

  •   Introduction
    • Byte FAQ
    • Exercise: Meet Your Classmates and Instructor
    • Byte Resources
  •   Welcome!
    • Introduction
    • Setting Up Jupyter Notebook
  •   Deep Dive into Chat Completions API
    • Creating an OpenAI Account and an API Key
    • Installing OpenAI API Authenticating to OpenAI
    • OpenAI Models
    • Making GPT Requests Using OpenAI API
    • System Role
    • OpenAI API Costs
    • Tokens
    • Chat Completion API Parameters: Temperature and Seed
    • Chat Completion API Parameters: Top P, Max_Tokens, Penalties
    • The Playground
    • How OpenAI GPT Models Work
    • LLMs Issues and Limitations
  •   Explore GPT-4o's Vision Capabilities
    • Introduction to GPT-4o
    • Using Local Base64 Images as Input
    • Using Online Images as Input
  •   Prompt Engineering Tactics for OpenAI APIs
    • Intro to Prompt Engineering
    • Tactic 1: Position Instruction Clearly with Delimiters
    • Tactic 2: Provide Detailed Instructions for the Context
    • Tactic 3: Use the Rich Text Format (RTF)
    • Tactic 4: Few Shot Prompting
    • Tactic 5: Specify the Steps Required to Complete a Task
    • Tactic 6: Give Models Time to Think
    • Other Tactics and Principles for Better Prompting
    • Avoid Hallucinations Using Guarding
    • Summary
  •   Deep Dive into Image Generation API (DALL-E 2 & 3)
    • Generating Original Images Using the DALL-E
    • Creating Variations of Images with DALL-E
    • Editing Images with DALL-E
  •   Deep Dive into Speech Recognition and Text-to-Speech (TTS) API
    • Transcriptions with Whisper
    • Translations with Whisper
    • Text-to-Speech (TTS) API
  •   Project: Building a Healthy Daily Meal Plan
    • Project Introduction
    • Creating a Daily Meal Plan Using OpenAI API
    • Creating the Prompt
    • Running the Program
    • Generating Original Images for the Recipes using DALL-E
    • Narrate the Meals using the Text-to-Speech Model
  •   Where To Go From Here?
    • Review This Byte!

Taught by

Andrei Dumitrescu

Reviews

Start your review of Building AI Apps with the OpenAI API: GPT, DALL-E & Whisper

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.