In ancient Bagdad, Aladdin daydreams of great wealth and royal processions. One day his mother buys him a little lamp, and the lad accidentally discovers that it contains a genie who can grant him three wishes. Aladdin uses his first wish to escape from some merchants he has robbed and then sets out by caravan to attend the wedding of Princess Zaina and Prince Moluk. Accompanying him is Djalma, whose love for Aladdin is unrequited, and his loyal bodyguard, Omar. When Aladdin and Omar are captured by man-killing Amazon huntresses, the genie is once more summoned, and he transports the pair to an Arab camp near the royal city of Basora. Meanwhile, the wicked grand vizier has taken Prince Moluk prisoner and is planning to marry the princess himself; but Aladdin and his friends sneak into the palace and expose the grand vizier's scheme. He retreats with his guards and promises to return to destroy all those who oppose him, but Aladdin uses his last wish to rout the enemy and save the city. The prince and princess are wed, and Aladdin is lavishly rewarded by the sultan and reunited with Djalma.