Generative AI · Advanced level

Advanced level · Module 9: Audio and Speech AI Applications · Lesson 2 of 3

Text-to-Speech

Learners generate speech from text with an openly licensed TTS model, evaluate naturalness and correctness, and understand licence restrictions on voice models.

In this lesson you will

  • Generate speech with a TTS model
  • Evaluate and choose TTS models responsibly

Key concepts

text-to-speech pipelineSpeechT5MMS-TTSlicence restrictionslistener evaluation

The lesson

Transformers supports text-to-speech pipelines. SpeechT5 TTS (MIT licence) generates English speech; Meta's MMS-TTS models cover many languages but their cards state a non-commercial CC-BY-NC 4.0 licence. Check licences before any commercial use.

Evaluate TTS with listeners: is it understandable, natural, and are numbers, names and dates pronounced correctly?

Never clone a real person's voice without explicit consent; synthetic voices can be misused to deceive.

Step by step

  1. Generate five announcements with an English TTS model.
  2. Have three listeners rate them.
  3. Check the pronunciation of numbers and names.
  4. Record licence terms of each model tried.

Practice activity

Produce and evaluate spoken announcements with an openly licensed TTS model.

Expected result: Listener-rated audio and a licence record.

Check your understanding

  1. What licence restriction applies to the MMS-TTS models?

    Show answer

    Non-commercial use (CC-BY-NC 4.0).

  2. What must you have before cloning someone's voice?

    Show answer

    Their explicit consent.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.