Ice Cube is looking to crack the TV series business.

Cube is set to write and exec produce an hourlong buddy cop comedy for NBC. Universal Media Studios is behind the untitled project, as is Cube’s Cube Vision shingle.

Besides Cube, Matt Alvarez — who runs the production company with him — is set to exec produce.

NBC Entertainment and Universal Media Studios chairman Ben Silverman said he had been aggressively pursuing Cube to create an action comedy for the Peacock.

“As we continue to expand our roster of diverse talent both on-camera and behind the camera, a guy like Ice Cube, who’s multitalented, is someone we really wanted to be in business with,” Silverman said. “He’s had an amazing career, to have gone from NWA to this.”

Cube is not attached to star in the project, but NBC execs are keeping their fingers crossed that the hip-hop star, actor and writer will make some appearances, perhaps even in the pilot. There’s always the possibility he’ll lend his music skills to the show’s opening credits.

“We really want to capture his voice and his eye for talent, and his producing acumen,” Silverman said. “If he appeared in the pilot or series, we’d be really excited about that.”

Cube was still known mostly for his hip-hop career and his acting turns in movies such as “Boyz N the Hood” when he wrote the 1995 hit feature “Friday.” He also wrote the film’s two sequels, and wrote and directed “The Player’s Club.”

More recently, he produced and starred in “Are We There Yet?” and its sequel, “Are We Done Yet?” and “The Longshots.”

In TV, Cube exec produced Showtime’s TV version of the feature “Barbershop,” as well as FX’s “Black. White.” and MTV’s animated version of “Friday.” Cube also provided a voice on that show.