fictionalization
NOUN
1. The act or process of transforming real events, people, or experiences into fiction, often by adding imagined details or altering facts for narrative or artistic purposes.
2. A work or representation that presents factual material in a fictionalized form.
Example:
The film is a fictionalization of the author’s early life.