fabrication
fictionalization
fictionalisation
writing in a fictional form
a literary work based partly or wholly on fact but written as if it were fiction