Hour of AI activity
Creative Coding with Python and AI
Students learn loops and variables in Python by designing colorful pixel art and animations, with an AI Debugging Buddy that helps them fix their code.
Free all year, nothing to download.
HOUR OF AI: claim your free credits from November 16
Free all year
Grades
3 to 8
Duration
1 hour
Level
Beginner
Guidance
Teacher-led
Language
Python
Platform
Web or tablet, nothing to download
Cost
Free, all year, on the free tier of Imagi
Accounts
No third-party accounts needed
Teacher start guide
Three steps and you are ready to teach.
- 1
Sign up for Imagi
Imagi is a safe platform for students to think, build and create with real-world AI tools. This activity is free all year.
Sign up now - 2
Create your classroom
Create a classroom and add your students. Students log in with the username and password you share, so no personal information is needed.
View setup guide - 3
Guide the activity
Use the ready-made teacher slides to guide the activity. Beginner-friendly for both teachers and students.
Open slides
Also ready for you: Lesson plan Learning Center
Student start guide
Students need two things.
- 1
Log in
Log in with the username and password your teacher shares.
Log in - 2
Start creating
Your imagination is your limit. Create fun animated designs in Imagi.
Open Imagi
Important notes
- Each student needs a device with internet and a modern browser.
- Everything runs in Imagi. No external or third-party accounts required.
- Teachers create the classroom and add students, with anonymous usernames.
- You can view, copy or export student credentials as printable reminder cards.
- Designed for beginners; no prior coding experience needed.
- Optional: a projector or display, if you’re doing a whole-class demo.
- Reusable beyond Hour of AI: you can use it in later classes.
More activities
Try our other Hour of AI activities
Build Your First Game Using AI
Grades 6 to 12 · 1 hour · Beginner
Students describe a game in plain language, build it with Lovable inside Imagi, then publish and share it. The best place to start with AI building.
Build Your Dream School
Grade 6 and up · 1 hour · Intermediate
Students imagine their dream school, build an app with AI that solves a real school problem, and pitch it to their school leader. Best after the game activity.
Free all year
Run your Hour of AI with Python and pixel art.
Sign up, create a classroom, open the slides. Your students can be coding in the first ten minutes.
Frequently asked questions
Still have a question? Email support@imagilabs.com and we’ll help.
What is the Hour of AI?
The Hour of AI is an evolution of the Hour of Code, created in response to the growing call to expand foundational AI literacy alongside computer science. It consists of one-hour activities that are accessible to beginners and show that anyone can learn to code and create with AI. Learn more at hourofai.org.
Who can participate in the Hour of AI?
Anyone can participate, including students, teachers, parents and individuals of all ages. Activities are available for various age groups and skill levels.
Do I need prior coding or AI experience?
No. This activity is designed to be beginner-friendly for both teachers and students.
What devices do I need?
Each student needs a desktop, laptop, Chromebook or tablet with an internet connection and an up-to-date browser. No downloads are required. Students can work in pairs on the same device if there aren’t enough devices.
Can I use Imagi year-round?
Yes. This activity runs on the free tier of Imagi any time during the school year. You can also upgrade to access our full curriculum.
-1.png?width=150&height=57&name=Untitled%20design%20(2)-1.png)