technifyed

CodeSignal via edX

Building a Content Generator Site with FastAPI and Claude

Overview

Learn to create compelling AI-generated content using Anthropic's Claude API and FastAPI. Start with basic prompt crafting, build a full-featured story generation backend, then develop a polished web app interface with HTML, CSS, and JavaScript.

What you'll learn

  • Configure a Claude API client and generate content from a prompt
  • Craft prompts and apply tone and contextual modifiers to shape AI output
  • Build reusable prompt templates loaded from external files
  • Structure a FastAPI backend with models, services, and controllers
  • Expose story generation and history through JSON API endpoints
  • Build and style an interactive interface with HTML, CSS, and JavaScript
  • Connect a frontend to an AI-powered backend with loading states and error handling

Advantages and disadvantages

Advantages

  • University courses you can audit for free, with lectures, readings and practice quizzes.
  • A verified certificate from the university if you pay for it.
  • Self-paced: start any time.

Disadvantages

  • Graded assignments and the certificate need the paid track.
  • Audit access can expire a few weeks after the course ends.
  • Learning is free, but the certificate costs money.
  • Some parts (graded work, certificate) are paid.

Some points apply to every course of this kind; see how we rank.

Free to audit

  • Free: Choose "Audit this course" when you enrol: lectures, readings and practice are free.
  • Paid: Graded assignments and the verified certificate (Certificate $30). Audit access may end after the course closes.

Before you start

Basic Python, including classes, imports, and exception handling Familiarity with HTML, CSS, and JavaScript fundamentals (DOM access and HTTP requests) An Anthropic API key set as an environment variable

Similar courses

Compare these

Harvard University · YouTube

CS50's Introduction to Programming with Python (CS50P) 2022

This is CS50P, CS50's Introduction to Programming with Python. Register for free at https://cs50.edx.org/python. Slides and source code at https://cs50.harvard.edu/python. Playlist at https://www.youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V. An introduction to programming using a la…

Free video11 videos, 16 hours

Massachusetts Institute of Technology · YouTube

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022

Instructor: Ana Bell View the complete course: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/ *Note: Lectures 6, 10 have been updated! This subject is aimed at students with little to no programming experience. It aims to provide students with an under…

Free video26 videos, 28 hours

Stanford University · YouTube

Generative AI Program

-Learn more and enroll in the program: https://online.stanford.edu/programs/generative-ai-technology-business-and-society-program Recent advancements in generative AI are reshaping industries, pushing technological boundaries, and revolutionizing creative processes. In this fast-changing landscape…

Free video24 videos, 2 hours

Stanford University · YouTube

Large Language Models (LLMs)

Explore the cutting-edge realm of Large Language Models (LLMs) with this expertly curated YouTube playlist. Featuring insights from industry leaders, educational content, and in-depth discussions, this selection highlights the latest advancements in LLM technology.

Free video26 videos, 42 hours

Harvard University · YouTube

CS50's Web Programming with Python and JavaScript (CS50W) 2020

This is CS50W, CS50's Web Programming with Python and JavaScript. Register for free at https://cs50.edx.org/web. Slides and source code at https://cs50.harvard.edu/web. This course picks up where Harvard University’s CS50 leaves off, diving more deeply into the design and implementation of web apps…

Free video10 videos, 14 hours

Harvard University · YouTube

CS50's Introduction to Artificial Intelligence with Python 2023

This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory beh…

Free video8 videos, 12 hours

Enter your email and the official page opens. Phone is optional.