Avatar was directed by James Cameron with a budget of $237 million, 70% of the footage used CGI. Cameron drew inspiration from science fiction books. New technologies like motion capture and facial expression capture were developed for production. Weta Digital employed 900 people to work on visual effects. Various methods were used to market Avatar, including exclusive magazine images, a theme song by Leona Lewis, and a marketing partnership between Coca-Cola and 20th Century Fox using augmented reality. Avatar was also adapted into a video game and line of toys.