The Talmud addressed the brevity of Moses’ prayer to God to heal her: prayer serves two function – to refine character traits and deepen awareness, and to express the words which already exist in the inner soul. In the case of Miriam, her spiritual and physical healing were complete, so only a short prayer was required.