Sophie Chen Keller has lived all over the country, but it’s her former home — New York City — that features prominently in her debut novel.

“The Luster of Lost Things” (out Aug. 8, Putnam’s Sons) tells the story of Walter Lavender Jr., a young boy who has a gift for finding lost possessions. His talent is put to the test when a magical book disappears from his mother’s West Village bakery and he travels across the city to find it.

We chatted with Chen Keller about her journey as an author and the city's influence on the book.

Congratulations on your first novel. How long did it take you to write it?

Thank you! It’s a dream come true and I still haven’t gotten over it. It took about four months to write the first draft of the manuscript, then a year and a half of revisions with first my agent and then my editor. I turned in the final manuscript around two years after I started writing the book.

Did you have another job in the meantime?

I quit my day job to write the book. After graduating from college, I worked in brand consulting for three years and then in fashion for one year. In those four years, I didn’t write anything. I knew that if I wanted to write a novel, then I needed to dedicate myself fully to it.

You grew up in Ohio and California. How did you become so familiar with New York City?

I moved to New York City right after college and lived there for over four years. The magical bakery featured in the book is located on Carmine Street, in the West Village — a place where I felt like I could actually stumble across a magical bakery. I crossed paths with people on a daily basis — from train conductors to sidewalk vendors — people who were part of the urban landscape.

Where did you get the idea for the story?

In 2014, I spent a night camping on a volcano in Maui. In the campsite bathroom, I came across a lost flyer taped to the mirror. It was for a camera that the owner was clearly desperate to find. I wondered if anyone responded to flyers like these. That was when I had my first inkling of who Walter might be.

Is that the book’s message — that there are people out there who are that selfless?

I wanted to send something joyful and uplifting out into the world — something to reaffirm our faith in the goodness that lives around us and in us. I feel that it’s a message so many need to hear. When we start to feel hopeless or afraid, I hope that Walter can remind us of how we used to experience the world [as children], when it was bright and miraculous.

Are you worried about coming up with ideas for a sophomore novel, or do you have plenty more?

Remember Wile E. Coyote? Whenever he ran off cliffs, he was fine until he realized that he was running in midair. It was only when he realized he wasn’t supposed to be able to do what he was doing, that he fell. So I’ll just keep running and not overthink it!

When did you know you were a writer?

I’ve loved books for as long as I can remember. Some of my earliest memories are of my mom reading bedtime stories out loud, from dog-eared library copies of E.B. White and Roald Dahl, to help me learn English after we came to the U.S. [from Beijing at 4 years old]. Books remained my one constant companion as I grew up, and it wasn’t long until I started writing short stories of my own. If you’d asked me in third grade what I wanted to be, I would’ve said a writer.