Melanie Griffith, Amanda Seyfried frantic onstage

NEW YORK (AP) — Some two dozen celebrities — including Melanie Griffith, Amanda Seyfried, Peter Dinklage and Pablo Schreiber — have thrown themselves onstage with little rehearsal and little sleep — and survived.

They appeared Monday in the 14th annual benefit “The 24 Hour Plays on Broadway,” which asked the actors and several writers and directors to come up with six original short plays over the course of a day. Proceeds help the Urban Arts Partnership.

The other stars who have agreed to participate include Justin Bartha, Leslie Bibb, Katrina Bowden, Mark Consuelos, Laverne Cox, Rachel Dratch, Michael Ealy, Ray Fisher, Taran Killam, Justin Long, Stephen Merchant, Adrienne Moore, Diane Neal, Rosie Perez, Jay Pharoah, Leven Rambin, Sam Rockwell, Sebastian Stan, Cecily Strong and Tracie Thoms.