Sample tutorial for how you can test all speakers in text2speech with a video actor before deciding on one
import os
from dword.core import DeepWord
acc = DeepWord(API_KEY, SECRET_KEY)
login successful
acc.available_credits
9978.5
acc.download_video_actors()
'Successfully downloaded all video actors'
acc._available_languages[:10]
['arabic_egypt',
 'arabic_saudi_arabia',
 'bulgarian',
 'catalan',
 'czech',
 'welsh',
 'danish',
 'german_austria',
 'german_switzerland',
 'german_germany']
text = 'Congratulations on finishing your deepword python test. We will review your performance and let you know if we will be moving forward with your application, in the meantime, here\'s a list of useful resources to help you progress in your deep learning journey, we wish you the best of luck!' 
lang = 'english_us'
speakers = acc._available_speakers(lang)
speakers
['en-US-JennyNeural Female',
 'en-US-JennyMultilingualNeural Female',
 'en-US-GuyNeural Male',
 'en-US-AriaNeural Female',
 'en-US-AmberNeural Female',
 'en-US-AnaNeural Female',
 'en-US-AshleyNeural Female',
 'en-US-BrandonNeural Male',
 'en-US-ChristopherNeural Male',
 'en-US-CoraNeural Female',
 'en-US-ElizabethNeural Female',
 'en-US-EricNeural Male',
 'en-US-JacobNeural Male',
 'en-US-MichelleNeural Female',
 'en-US-MonicaNeural Female']
len(speakers)
15
audio = acc.text2speech(text, lang, speakers[1])
Successfully generated audio file text2speech.mp3
from dword.utils import *
play_audio(audio)
for sp in speakers[:2]:
    audio = acc.text2speech(text, lang, sp)
    acc.generate_video('video_actors/Berto.mp4', audio, title = f'test_{sp}')
Successfully generated audio file text2speech.mp3
Successfully generated audio file text2speech.mp3