This is the source code for the open textbook Creative AI, a bachelor-level course at the University of Oslo (UiO) open to students from all faculties.
The book has been written using Jupyter Book v2 and the MyST Markdown authoring system. It can be compiled to several formats (HTML, PDF). If you are mainly interested in the content, go to the build.
- Level: Bachelor (open to all UiO students)
- Duration: 12 teaching weeks
- Format: 1 lecture hour and 2 practice hours per week
- Workload: ~6 hours of self-study per week
- Prerequisites: None. Curiosity, a laptop, and an email address are enough.
The course introduces the field of Creative AI, showing how generative models work, how they are used in writing, image-making, music, video, code, design, and games, and how to reflect critically on their use as tools, collaborators, and cultural artefacts.
book/ MyST/Jupyter Book sources (one .ipynb per chapter)
book/figures/ Figures used in the chapters
book/_static/ Static assets (HTML demos, etc.)
book/references.bib Bibliography in BibTeX
scripts/ Helper scripts (e.g. local build verification)
.github/workflows/ GitHub Actions for the gh-pages deployment
requirements.txt Python dependencies for building the book
Install the Python dependencies in a virtual environment:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtTo run the book using a local server:
cd book
jupyter book startTo build the HTML version of the book:
cd book
myst build --htmlFor a full local build with executed notebooks (as in CI), use:
cd book
myst build --html --executeOr from the repository root:
./scripts/verify-book-build.shCompiled at the University of Oslo. The textbook is released as Open Education under the Creative Commons Attribution 4.0 (CC-BY-4.0) licence, except where otherwise noted.
Substantial portions of the prose have been co-written with large language models and then revised by humans. Where AI tools have produced figures, sketches, or examples used in the book, this is indicated locally.