“Yeah, I’m real,” says Femi, a sharp-witted transgender den mother to abandoned youth, during the second episode of “David Makes Man.” Emerging out of nowhere with a group of homeless teens, Femi offers the 14-year-old David water and protection as he walks home with drugs he has been forced to carry. She is one of the show’s several characters who could be real or a figment of David’s vivid imagination.

“You didn’t see all these eyes on you?” she asks. “That’s all right, everybody don’t need to see everything.”

It’s a representative exchange on a show that may blur reality and fantasy at any given moment. But it also continues the nuanced explorations of black boyhood by the writer Tarell Alvin McCraney , best known for his Tony-nominated play “Choir Boy” and as a writer of the Oscar-winning “Moonlight.” And while “David Makes Man” shares a Miami setting with “Moonlight,” its 10-hour arc enables McCraney, who grew up there, to flesh out the hopes and tragedies of an entire South Florida black community.

The series, which premieres Wednesday on Oprah Winfrey Network, follows David (Akili McDowell) as he navigates life in a public-housing project while dealing with multiple pressures: to sell drugs and help support his family, but also to succeed as one of the few black students at his magnet school. Complicating these challenges is the death of Sky, a drug dealer and father figure who continues to mentor David by appearing to him in visions after he dies.