Gilardoni was born in Naples, but little is known about his early life and training. He died early, and thus had a short career, but wrote more than 20 librettos in five years, all for Naples.[1]
Most of his early work was for the Teatro Nuovo, where his librettos contained much prose and often included comic roles in Neapolitan dialect. His first published libretto was Bianca e Gernando for Bellini.[1] It was based on a play, which was probably selected by Bellini, Carlo Roti's Bianca e Fernando alla tomba di Carlo IV, Duca d'Agrigento, which had been staged at the Teatro dei Fiorentini in 1820. The title Bianca e Fernando had to be changed, because Ferdinando was the name of the heir to the throne, and no form of it could be used on a royal stage. After some delays the opera premiered at the Teatro di San Carlo in Naples on 30 May 1826 and was successful. Bellini's music was highly regarded, but there were significant reservations about Gilardoni's contribution.[2]
For a later production, which was planned to open the new Teatro Carlo Felice in Genoa on 7 April 1828, Bellini substantially altered the music and specifically rejected a request by Gilardoni to revise the libretto himself, preferring instead Felice Romani, whom he regarded as the superior poet.[2]
Gilardoni first worked with Donizetti at the Teatro Nuovo, writing the libretto for Otto mesi in due ore ("Eight Months in Two Hours") which premiered on 13 May 1827. He went on to collaborate with Donizetti on ten more operas. According to John Black, writing in The New Grove Dictionary of Opera: "When working with Donizetti he achieved a high level not matched when writing for others, probably due to the influence of the composer…."[1] Black ranks Il paria, written for Donizetti c. 1829, as Gilardoni's best libretto, and Il ventaglio, written for Pietro Raimondi c. 1830, as the most often performed, but the latter shows "all too clearly the slack versification that often marred his work."[1]