Flint Lockwood is a young inventor in the town of Swallow Falls who has always wanted to construct something spectacular. However, all of his inventions keep backfiring. His father who does not understand his talent works in a sardine store, and after the closing of the town's Sardine cannery, the town relies solely on sardines for diet. Flint soon decides along with his pet monkey Steve, to invent a machine that can convert water into food. The machine backfires launching into the sky and embedding itself into a cloud, where it begins working perfectly. Not feeling slowed down by this failure, Flint builds a device that can command the machine, He also meets Samantha "Sam" Sparks, a weather intern who wants to report big on a big story, but is only a weatherperson. Swallow Falls is later renamed Chewandswallow and becomes a tourist attraction, but things begin going awry when Flint's machine begins creating progressively larger foods.