SERENA Williams is courting an acting career to complement her status as the world’s top-ranked female tennis player.

Williams, the top seed at Wimbledon, has already played a schoolteacher on the ABC sitcom “My Wife and Kids,“ starring Keenan Ivory Wayans.

Now, Williams has agreed to appear in two episodes of Showtime’s “Street Time,“ according to a report in the Los Angeles Times.

In the show, Williams will play a reformed gang member who’s been paroled. Her agent told the newspaper the part was written expressly for Williams, who’s defending her championship at Wimbledon.

Williams will shoot her role in Toronto either this month or in August after Wimbledon, which is currently taking place in London.

In “Street Time,” entering its second season, Rob Morrow stars as a parolee trying to reconnect with his wife and son while fighting his inner demons. Scott Cohen and Erika Alexander play parole officers.