magi is a model for automatically generating text records for comics. It can detect characters, text blocks, and panels in comics and arrange them in the correct order. Additionally, the model can cluster characters, match text to its corresponding speaker, and perform OCR to extract text.