Well, the usual name for someone who writes stories is an 'author'. Authors come up with all kinds of tales and share them with the world through their writing.
They are usually very imaginative. They can create entire worlds in their minds and then put them down on paper. For example, Tolkien created Middle - earth for his 'Lord of the Rings' series.