Megan Fox guest stars on her husband Brian Green’s new TBS comedy, "The Wedding Band."

In a preview clip, Fox is clad in a sexy leather outfit as Alexa, a woman who is at a fantasy-themed wedding Green’s character Tommy is performing at.

Green plays the lead singer of a wedding band called "Mother of the Bride" on the new show. This will be the second time that Fox and Green have appeared on the small screen together -- they met when Green guest starred on the show "Hope & Faith," where Fox was a recurring cast member.

Fox started dating Green at the age of 18, and since then they have been in an on-again, off-again relationship until the couple wed in 2010. Green is most well-known for his role on the original "Beverly Hills 90210" show. 

Fox and her husband welcomed their first child on Sept. 27. “We have been very lucky to have had a peaceful few weeks at home, but I would like to release this myself before others do. I gave birth to our son Noah Shannon Green on September 27th. He is healthy, happy, and perfect,” Fox said on her webpage.

“We are humbled to have the opportunity to call ourselves the parents of this beautiful soul and I am forever grateful to God for allowing me to know this kind of boundless, immaculate love."

She added, "Thanks to those of you who wish to send your positive energy and well wises. May God bless you and your families abundantly.”

Watch a preview of Fox’s guest role on "The Wedding Band" below: