TORONTO: The filmmaker Mira Nair was familiar with the regal grace of Lupita Nyong’o long before most.

The Indian-born, New York-based Nair has been close friends with Nyong’o’s family for years. One of Nyong’o’s first jobs in the movies was interning in New York for Nair’s production company. She also later worked for Nair’s Uganda-centered film school, Maisha Film Labs.

What does Nair recall of Nyong’o as a younger woman?

“Like she is: immensely thoughtful and stylish,” Nair says with a laugh. “She wouldn’t speak unless she had something to say. And full of fun, which sometime you guys don’t see. But there’s a real appetite for life there.” In the African chess prodigy tale “Queen of Katwe,” a now much more established Nyong’o has reunited with Nair for a film that reflects much of the actress’s past, as well as her future. It is, surprisingly, the first time moviegoers have gotten to see Nyong’o’s face on screen since her breakout, Oscar-winning performance in 2013’s “12 Years a Slave.”

In the three years since, she’s appeared in “Star Wars: The Force Awakens” in a motion-capture performance, lent her voice to “The Jungle Book” and starred on Broadway in Danai Guirira’s Liberian drama “Eclipsed,” earning a Tony nomination. But “Queen of Katwe,” she says, epitomizes the kind of film she wants to be in.

“The success of ‘12 Years of Slave’ has put me in a position where I can choose,” Nyong’o said in a recent interview. “I want to honor the opportunity that I’ve been given. So I’ve worked very hard to choose things that I’m passionate about because I think I’m most useful when I feel conviction.”