Send AI the text of a book and receive a retelling

Hello! We need an AI that can upload the text of a book of 400-500 pages and get a retelling of the book in 3000-4000 words. Maybe someone knows such an AI or can it be installed on a computer/server?

Can’t you just use ChatGPT in the premium version?