Sign up and get 15% off the four courses and Lifetime.

Open-source video models

Member lesson

Running a video model with diffusers

Lesson 5 of 10 in Open-source video models.

Checked against the makers' documentation on 25 September 2026.

Lesson

Hugging Face's diffusers library lets you run an open video model from a short Python script. At the time of writing it runs all four current families. Wan 2.2 TI2V-5B is the simplest to start with. One class loads it, one call makes 121 frames at 1280 by 704, and one helper writes them to an MP4 at 24 frames a second, which is 5.04 seconds of video.

It is also Apache-licensed and small enough for a single 24 GB graphics card with offloading. The script below makes a slow shot of a coffee cup by a window, and it is the version worth keeping as your starting point.

Member

The rest of this comes with the course.

You have read the opening of this lesson. The rest of it comes with the course, or with a membership.

One membership covers all four courses and Brands.

  • All lessons in the four Learn courses
  • All brand breakdowns in the Brands section
  • All quizzes, flashcards and crosswords
  • An AI teacher on every lesson, for up to 60 questions a day
  • A scored final project and a portfolio card in every course
  • A portfolio page for the work you pass
  • All course material published during the membership

Price

One course is $29, paid once.One course is ₹1,499 + GST, paid once. Membership is charged at $20 each month until it is cancelled. Lifetime access is $60, paid once.Membership is charged at ₹699 + GST each month until it is cancelled. Lifetime access is ₹4,999 + GST, paid once.