Use stream of consciousness to answer the following. The Magic Flute (German: Die Zauberflote), K. 620, is an opera in two acts by Wolfgang Amadeus Mozart to a German libretto by Emanuel Schikaneder. The work is in the form of a Singspiel, a popular form that included both singing and spoken dialogue. The work premiered on 30 September 1791 at Schikaneder's theatre, the Freihaus-Theater auf der Wieden in Vienna, just two months before the composer's premature death.

Answer this question based on the passage: what type of opera is the magic flute?
This is the relevant information: The work is in the form of a Singspiel, a popular form that included both singing and spoken dialogue. Final answer: a Singspiel.