A couple inadvertently buy a magic lamp that contains a genie. Unfortunately, the genie is anything but amiably. Confined in the lamp for thousands of years and still trapped, he refuses to grant wishes and instead terrorizes the couples with plagues, rains of frogs, etc. The husband finally has himself committed, but a few days later his wife brings him home. Their apartment is now richly decorated and they have plenty of money. The genie is now an amiable and willing wish-granter. The wife’s solution to freeing the genie: a can opener.