I am doing this from memory and without the resources at hand to refer back to. There were various prayers composed by Saint Louis. If I have remembered correctly, the Prayer to Mary below is the one that accompanies the praying of the Litany to the Holy Spirit. The Prayer to Jesus is the one for the next phase of the preparation, with the recitation of the Litany of the Holy Name.
*A. Prayer to Jesus
Most loving Jesus, permit me to express my heartfelt gratitude to you for your kindness in giving me to your holy Mother through the devotion of holy bondage, and so making her my advocate to plead with your Majesty on my behalf, and make up for all that I lack through my inadequacy. Alas, O Lord, I am so wretched that without my dear Mother I would certainly be lost. Yes, I always need Mary when I am approaching you. I need her to calm your indignation at the many offences I have committed every day. I need her to save me from the just sentence of eternal punishment I have deservedly incurred. I need her to turn to you, speak to you, pray to you, approach you and please you. I need her to help me save my soul and the souls of others. In a word, I need her so that I may always do your holy will and seek your greater glory in everything I do. Would that I could publish throughout the whole world the mercy which you have shown to me! Would that the whole world could know that without Mary I would now be doomed! If only I could offer adequate thanks for such a great benefit as Mary! She is within me. What a precious possession and what a consolation for me! Should I not in return be all hers? If I were not , how ungrateful would I be! My dear Saviour, send me death rather than I should be guilty of such a lapse, for I would rather die than not belong to Mary. Like St. John the Evangelist at the foot of the Cross, I have taken her times without number as my total good and as often have I given myself to her. But if I have not done so as perfectly as you, dear Jesus, would wish, I now do so according to your desire. If you still see in my soul or body anything that does not belong to this noble Queen, please pluck it out and cast it far from me, because anything of mine which does not belong to Mary is unworthy of you.
Holy Spirit, grant me all these graces. Implant in my soul the tree of true life, which is Mary. Foster it and cultivate it so that it grows and blossoms and brings forth the fruit of life in abundance. Holy Spirit, give me a great love and longing for Mary, your exalted spouse. Give me a great trust in her maternal heart and a continuous access to her compassion, so that with her you may truly form Jesus, great and powerful, in me until I attain the fullness of his perfect age. Amen.
B. Prayer to Mary
Hail, Mary, most beloved daughter of the eternal Father; hail, Mary, most admirable mother of the Son; hail, Mary, most faithful spouse of the Holy Spirit; hail, Mary, Mother most dear, Lady most lovable, Queen most powerful! Hail, Mary, my joy, my glory, my heart and soul. You are all mine through God’s mercy, but I am all yours in justice. Yet I do not belong sufficiently to you, and so once again, as a slave who always belongs to his master, I give myself wholly to you, reserving nothing for myself or for others. If you still see anything in me which is not given to you, please take it now. Make yourself completely owner of all my capabilities. Destroy in me everything that is displeasing to God. Uproot it and bring it to nothing. Implant in me all that you deem to be good; improve it and make it increase in me. May the light of your faith dispel the darkness of my mind. May your deep humility take the place of my pride. May your heavenly contemplation put an end to the distractions of my wandering imagination. May your continuous vision of God fill my memory with his presence. May the burning love of your heart inflame the coldness of mine. May your virtues take the place of my sins. May your merits be my adornment and make up for my unworthiness before God. Finally, most dearly beloved Mother, grant, if it be possible, that I may have no other spirit but yours to know Jesus and his divine will. May I have no soul but yours to praise and glorify the Lord. May I have no heart but yours to love God purely and ardently as you love him.
I do not ask for visions or revelations, for sensible devotion or even spiritual pleasures. It is your privilege to see God clearly in perpetual light. It is your privilege to savour the delights of heaven where nothing is without sweetness. It is your privilege to triumph gloriously in heaven at the right hand of your Son without further humiliation, and to command angels, men, and demons, without resistance on their part. It is your privilege to dispose at your own choice of all the good gifts of God without any exception. Such, most holy Mary, is the excellent portion which the Lord has given you, and which will never be taken from you, and which gives me great joy. As for my portion here on earth, I wish only to have a share in yours, that is, to have simple faith without seeing or tasting, to suffer joyfully without the consolation of men, to die daily to myself without flinching, to work gallantly for you even until death without any self-interest, as the most worthless of your slaves. The only grace I beg you in your kindness to obtain for me is that every day and moment of my life I may say this threefold Amen: Amen, so be it, to all you did upon earth; Amen, so be it, to all you are doing now in heaven; Amen, so be it, to all you are doing in my soul. In that way, you and you alone will fully glorify Jesus in me during all my life and throughout eternity. Amen. *