Task: Story Composition
Input (English): Fact1: In Santa Cecilia wife of musician leaves her and 3-year-old daughter to pursue career in music, Fact2: Imelda Rivera is wife of musician, Fact3: Imelda banishes music from life and that of family, Fact4: Miguel leaves to enter talent show for Day of Dead despite objections of Elena, Fact5: Hector confronts them imploring Miguel to take photo to Land of Living
Output (English): In Santa Cecilia, Mexico, Imelda Rivera is the wife of a musician, who leaves her and their 3yearold daughter Coco, to pursue a career in music. When he never returns, Imelda banishes music from her life and that of her family and starts a shoemaking business with her family. About 96 years later, Imeldas greatgreatgrandson, 12yearold Miguel, now lives with Coco and their family. Miguel secretly dreams of becoming a musician like Ernesto de la Cruz, a popular actor and singer of Cocos generation. One day, Miguel inadvertently damages the picture frame holding a photo of Coco with her parents at the center of the family ofrenda and removes the photograph, discovering that his greatgreatgrandfather whose face had been torn out was holding Ernestos famous guitar. Concluding that Ernesto is his greatgreatgrandfather, Miguel leaves to enter a talent show for the Day of the Dead despite the objections of his grandmother Elena. He enters Ernestos mausoleum and takes his guitar to use in the show, but becomes invisible to everyone in the village plaza. However, he can interact with his Xoloitzcuintli dog Dante and his skeletal dead relatives who are visiting from the Land of the Dead for the holiday. Taking him there, they realize that Imelda cannot visit, as Miguel removed her photo from the ofrenda. Discovering that he is cursed for stealing from the dead, Miguel must return to the Land of the Living before sunrise or he will become one of the dead; to do so, he must receive a blessing from a member of his family using an Aztec marigold petal that can undo the curse placed upon him when he stole Ernestos guitar. Imelda offers Miguel a blessing, but on the condition that he abandon his musical pursuits when he returns to the Land of the Living. Miguel refuses and attempts to seek Ernestos blessing. Miguel encounters Hector, a downonhisluck skeleton who once played music with Ernesto, and offers to help Miguel reach him. In return, Hector asks Miguel to take his photo back to the Land of the Living so he can visit his daughter before she forgets him and he disappears completely. Upon learning he has other relatives, however, Hector attempts to return Miguel to them, but Miguel escapes and infiltrates Ernestos mansion, learning along the way that an old friendship between the two deteriorated before Hectors death. Ernesto welcomes Miguel as his descendant, but Hector confronts them, imploring Miguel to take his photo to the Land of the Living. After an argument between Ernesto and Hector, Miguel soon realizes that Ernesto murdered Hector using a poisoned drink and stole the songs Hector had written, passing them off as his own to become famous. To maintain his legacy, Ernesto steals the photo and has Miguel and Hector thrown into a cenote pit. Miguel realizes that Hector is his actual greatgreatgrandfather and that Coco is Hectors daughter, the only living person who still remembers him. With the help of Dante – who turns into an alebrije – the dead Riveras find and rescue the duo. Miguel reveals that Hectors decision to return home to Imelda and Coco resulted in his death, and Imelda and Hector gradually reconcile. They infiltrate Ernestos sunrise concert to retrieve Hectors photo from Ernesto and his crimes are revealed to everyone. Ernesto is crushed by a falling church bell as in his previous life, but Hectors photo falls into the water and disappears. As the sun rises, Hector is in danger of being forgotten by Coco and disappearing. Imelda and Hector bless Miguel with no conditions attached so he can return to the Land of the Living to try and help Coco remember her father. Miguel plays Remember Me, a song Hector wrote for her during her childhood. The song revitalizes her memory of Hector, and she gives Miguel the tornout piece of the photo from the ofrenda, which shows Hectors face, and tells her family stories about her father, thus keeping the memory of him alive. Elena reconciles with Miguel, accepting music back into the family. One year later, Miguel proudly presents the family ofrenda – including the restored photo of Hector and Imelda – to his new baby sister Socorro as Elena adds a photo of the nowdeceased Coco. Letters kept by Coco contain evidence that Ernesto stole Hectors songs. As a result, Ernestos legacy is destroyed, and the community honors Hector instead. In the Land of the Dead, Hector and Imelda join Coco for a visit to the living Riveras as Miguel sings and plays for his dead and living relatives.