BookLed is a hardcover paper book, containing electronic hardware, designed for experimenting with Python and for exploring Generative AI. With a BookLed and an OpenAI API account you can explore the world of AI storytelling starting from the pages of a paper book!
In this github repository, examples of Python and Jupyter notebook codes are collected to explore the interfacing this paper book with a PC and with generative AI.
See the wiki for extensive documentation.
To dowload the BookLed Technical Manual go to BookLed Technical Manual
In appearance, BookLed is a normal book with thick card pages. At the top of the book, there is a small USB port and switch.
The technological core of the BookLed is a page identification sensor: using a system of magnets, the book is able to recognize which page the user is reading and detect the turning from one page to the next.
So, connect the USB of the BookLed to your PC and launch the jupyter notebooks or the python codes provided in this repository.
This codes can identify the book’s page and delivers the multimedia content synchronized with the turning of the pages:
- soundtrack of the book and dubbing of the story with ‘cartoon’ voices.
- animated backgrounds that virtually extend the printed page.
- expanded narrative contents created by the power of generative AI.
Here is a descriptive video about BookLed: BookLed Video
To experiment with the BookLed you need:
- A BookLed (buy it from Tindie)
- A USB cable
- A PC
- Python 3.11.0 or higher or jupyter notebook installed
- An openAI API account to experiment with generative AI
Below is the list of Jupyter notebook code examples for BookLed that you can download from this repository.
| Jupyter Notebook | OpenAI API | Description |
|---|---|---|
| BookLed Experiment 1 (Hello Owl!).ipynb | [NOT REQUIRED] | This is the "Hello world" code to play with BookLed |
| BookLed Experiment 2 (Talking Book!) - ENGLISH.ipynb | [NOT REQUIRED] | The pages of the BookLed are recited with English cartoon voices! |
| BookLed Experiment 3 (AI Book) V3.ipynb | [REQUIRED] | Experience the magic of having the pages of your paper book brought to life through generative AI storytelling! |
| BookLed Experiment 4 (AI Book) - ITALIAN V0.ipynb | [REQUIRED] | Add the magic of a soundtrack to your experience! Narrative voice in Italian. |
| BookLed Experiment 5 (AI book) - ENGLISH V5.ipynb | [REQUIRED] | Add the magic of a soundtrack and an English narrative voice! |
| BookLed Experiment 6 (AI book) - MULTILINGUAL V0.ipynb | [REQUIRED] | Have the BookLed recite in the language you prefer! Musical soundtrack included. |
Below is the list of python codes for BookLed that you can download from this repository.
| python | OpenAI API | Description |
|---|---|---|
| BookLed Experiment 1 (Hello Owl!).py | [NOT REQUIRED] | This is the "Hello world" code to play with BookLed |
| BookLed Experiment 2 (Talking Book!) - ENGLISH.py | [NOT REQUIRED] | The pages of the BookLed are recited with english cartoon voices! |
| BookLed Experiment 6 (AI book) - MULTILINGUAL V0.py | [REQUIRED] | Have the BookLed recite in the language you prefer! Musical soundtrack included. |


