Original: A libretto is distinct from a synopsis or scenario of the plot, in that the libretto contains all the words and stage directions, while a synopsis summarizes the plot.
Simplified: Some libretti are original stories by the librettist, but very often they are based on a book by another writer.