<Tr> <Th> Budget </Th> <Td> $50 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $549.4 million </Td> </Tr> <P> Ted is a 2012 American comedy film directed by Seth MacFarlane and written by MacFarlane, Alec Sulkin, and Wellesley Wild . The film stars Mark Wahlberg and Mila Kunis, with Joel McHale and Giovanni Ribisi in supporting roles, with MacFarlane providing the voice and motion capture of the title character . The film tells the story of John Bennett, a Boston native whose childhood wish brings his teddy bear friend Ted to life . However, in adulthood, Ted prevents John and his love interest Lori Collins from moving on with their lives . </P> <P> The film is MacFarlane's feature - length directorial debut, produced by Media Rights Capital and distributed by Universal Pictures . It was the 12th highest - grossing film of 2012 and received an Academy Award nomination for Best Original Song . </P>

Who did the voice of ted the bear