Jack, a poor boy from Villemagique, trades his money for magical beans. A beanstalk grows and leads him to a castle in the sky inhabited by a giant named Gibtanig. Jack receives a gold pitcher with unlimited water and later transforms the giant into a mouse using a magical staff. He decides to use the treasures to help the poor.