Adding own text to Speech

I want to do this thing:

  1. Someone donates some text;
  2. This text is then voiced with my text to speech API;
  3. Then the sound file is played on the stream;