Psyché is a five-act, free verse tragicomédie et ballet, originally written as a prose text by Molière and versified in collaboration with Pierre Corneille and Philippe Quinault, with music composed by Jean-Baptiste Lully. The plot is based on the story of Cupid and Psyche in The Golden Ass, written in the 2nd century by Apuleius. It was first performed on 17 January 1671 before the royal court of Louis XIV at the Théâtre des Tuileries, with ballets by Pierre Beauchamps, Anthoine des Brosses, and Nicolas Delorge, and spectacular scenery and special effects designed by Carlo Vigarani.
Molière's play was one of many sumptuous spectacles produced in celebration of the peace of Aix-la-Chapelle. The treaty was signed in 1668 but the festivities continued well into 1671. More specifically, the play was a product of Louis XIV's desire to re-use the Salle des Machines in the Tuileries Palace which had been built to house Cavalli's opera Ercole Amante in 1662. The theatre was sumptuous and could seat over 7000 spectators, but its excessively large stage and the associated acoustics rendered most performances inaudible. It had remained unused since the end of Cavalli's opera. It is likely that Louis XIV also wished to re-use some or all of the sets from Ercole Amante, at the very least the sets representing Hell.
Molière did not have time to versify the entire play. He was responsible for inventing and outlining the plot, including the coordination of the intermèdes which involved singers, dancers and machines. He versified the prologue, the first act and the first scene of acts two and three. The rest of the play was versified by Pierre Corneille. Philippe Quinault wrote all of the poetry that was set to music. The music itself was composed by Jean-Baptiste Lully.