The film is set in Beijing, 1902, in the last years of the Qing Dynasty. A young portrait photographer, Liu Jinglun, chances on a newly arrived Englishman, Raymond Wallace in the capital. Liu, a self-learner of rudimentary English, is keen on new technology and gadgets, while Raymond has brought along the latest motion picture camera and projector with some silent film shorts from the West. Liu is fascinated by the "shadow magic" and offers to help Raymond bring in audiences for his theatre. Hence Liu and Raymond become partners. However, while the innovation thrills many, the more conservative Chinese in the capital frown upon the creation as a Western "pollutant". Liu falls in love with Ling, the daughter of a well-respected Beijing Opera star, Lord Tan. However, as he is poor and only an apprentice at the photography shop, Liu has no chance of marrying Ling. Instead, Liu's father and his boss at the Fengtai photography shop, Master Ren, try to arrange a marriage for him with an older widow, Jiang. When Master Ren finds out Liu has been working for a foreigner dabbling with "shadow magic", he becomes infuriated. Liu tries to reason with Master Ren, explaining to him that this "shadow magic" is an innovation in the world of photography, and once Liu learns more about it they should incorporate it into their own business. Master Ren is not swayed, however, and dismisses him. Because of this, Liu is also disowned by his father. Liu and Raymond's friendship becomes tested as he feels the strain of being branded a traitor in his own country. Liu, Raymond, Master Ren and Lord Tan are all invited to the Forbidden City to entertain the Empress Dowager Cixi during her birthday celebrations. Master Ren and his apprentices take a photograph of the Empress Dowager, while Lord Tan performs his opera number. Liu and Raymond project some Western film shorts to the amusement of the Empress Dowager and her coterie. However, hand-cranking causes the projector to catch fire, the screening is ruined midway, and Liu is badly burnt. The Qing officials are incensed that Liu and Raymond nearly cause deaths during the birthday celebration of the esteemed Dowager, but the Dowager pardons Liu for his naivety. Raymond, however, is immediately banished from China. Half a year passes, and Liu recovers from his burns. Raymond, fondly remembering their friendship and times in China, sends him the nitrate negatives of movies they shot together in Beijing, imploring that he should not let the work they started together die. Liu decides to try making a film projector himself and successfully screens these local movies to a group of Beijing natives. Liu's father decides to support him in this venture and Ling visits him on the sly at the projection room, where they kiss. The film ends with the Beijing natives gradually accepting the motion picture technology, once they see how beautifully it captures the majesty of the Chinese landscape. At the film's end, captions reveal that Liu and Master Ren become the first Chinese to shoot a motion picture. The film, starring Lord Tan, is the now famous Dingjun Mountain.