While on a trip to Istanbul, a lone scholar stumbles upon a mysterious old bottle and inadvertently releases a djinn from within. The djinn offers to grant the scholar three wishes, but she is hesitant and unable to come up with any. In an effort to inspire her, the djinn begins to share his own tales of wishes and their consequences.