Watch out, writers: artificial intelligence is coming for our jobs. Just take a look at this chapter of Harry Potter fan fiction.
“Harry Potter and the Portrait of What Looked Like a Large Pile of Ash” is a three-page chapter of literature produced by an algorithm. Trained by Botnik Studios on the meat of Rowling’s expansive magical universe, it’s an author-assisted predictive text document; creator Jamie Brew and other writers helped nudge the algorithm in the right direction. The result is just as weird — and, uncomfortably for some of us, readable — as you might expect, filled with the characters and whimsical vocabulary notable to Rowling. (Logical plot, however, is not its greatest strength.)
Here’s the first paragraph:
Of course, it does drift in unusual directions at times, sounding a bit like a randomized MadLib with Harry Potter fever. For instance: “Ron’s Ron shirt was just as bad as Ron himself,” it continues. “‘If you two can’t clump happily, I’m going to get aggressive,’ confessed the reasonable Hermione.” (Review: some hits, some misses, and a shift in tone towards the oddball reality of magical realism.)
This isn’t the first time that Brew has crafted similar works of fiction. In fact, the Botnik Labs predictive text generator is available to all as open-source code on Github. Use at your own risk.
More Must-Reads from TIME
- Why Trump’s Message Worked on Latino Men
- What Trump’s Win Could Mean for Housing
- The 100 Must-Read Books of 2024
- Sleep Doctors Share the 1 Tip That’s Changed Their Lives
- Column: Let’s Bring Back Romance
- What It’s Like to Have Long COVID As a Kid
- FX’s Say Nothing Is the Must-Watch Political Thriller of 2024
- Merle Bombardieri Is Helping People Make the Baby Decision
Write to Raisa Bruner at raisa.bruner@time.com