BURBANK, Calif. (AP) _ Lisa Bonet, who stars as a college student in the hit ''Cosby Show'' spinoff ''A Different World,'' is pregnant, an NBC spokesman confirmed Wednesday.

Miss Bonet, 20, married musician Romeo Blue six months ago.

There was no immediate word on how her pregnancy would affect her role in the series, according to a secretary for NBC spokesman Bob Meyers, who confirmed her pregnancy. The show was rated No. 2 for the season according to the A.C. Nielsen Co.

During her career on both ''The Cosby Show'' and ''A Different World,'' Miss Bonet has raised eyebrows by twice posing nude and starring in the movie ''Angel Heart,'' which barely escaped an ''X'' rating for its torrid love scenes between Miss Bonet's character and that of her co-star Mickey Rourke.

She posed nude for Interview magazine and in a recent issue of Rolling Stone.

Her marriage to Blue, also known as Lenny Kravitz, took place in Las Vegas in November.