Sign up for our COVID-19 newsletter to stay up-to-date on the latest coronavirus news throughout New York City

Some rappers love getting baked — this guy loves baking rappers!

A Bedford-Stuyvesant baker is selling cookies shaped like late hip-hop legends Biggie Smalls, Tupac, and Eazy–E — just his way of honoring some childhood heroes, he says.

“I grew up on their music and Biggie is from Bedford-Stuyvesant so it’s just keeping it alive,” said Khayri Ayers, better known as “CakeBoi,” “They’re very influential to my generation and we felt like we had to honor their name and keep them going.”

Ayers, also a Bedford-Stuyvesant native, just opened his new bakery CakeBoi on Throop Avenue between Decatur and Fulton streets on Saturday, and has been imprinting the visages of rap royalty on sugary dough with custom cookie stamps every day.

The Notorious B.I.G. treats — $2 per two — are handily winning the East Coast–West Coast cookie rivalry, Ayers says.

“Biggie is the first to go,” he said.

Ayers is planning to promote them further ahead of the 20th anniversary of Biggie’s death on March 9, and may even whip up a special cake to commemorate the day.

He also expects to add another rapper to the range soon, but refused to say who (we’d suggest Brooklyn-born Ol’ Dirty Bastard to even out the coastal divide).

Cookies aside, Cakeboi is best known for creating fantastical custom cakes and cupcakes, and has amassed a sizeable following on Instagram with his creations shaped like sneakers, grilling meats, butts, and bottles of tequila.

But his craziest cake ever was a drivable range rover, he recalled.

“We went and purchased huge remote control car took it apart and built a cake on the frame so we were able to drive it around,” Ayers said.

Try the cookies for yourself — we did, they’re delicious — at CakeBoi [627 Throop Ave. between Decatur and Fulton streets in Bedford-Stuyvesant, (347) 770–CAKE, faceb ook.com/ cakeb oisho p ].

Reach reporter Lauren Gill at lgill @cngl ocal.com or by calling (718) 260–2511. Follow her on Twitter @laurenk_gill