Ruby Sparks (2012) - Synopsis

Calvin (Paul Dano) is a young novelist who achieved phenomenal success early in his career but is now struggling with his writing – as well as his romantic life.
Finally, he makes a breakthrough and creates a character named Ruby who inspires him. When Calvin finds Ruby (Zoe Kazan), in the flesh, sitting on his couch about a week later, he is completely flabbergasted that his words have turned into a living, breathing person.