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)
acc.available_credits
acc.download_video_actors()
acc._available_languages[:10]
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
len(speakers)
audio = acc.text2speech(text, lang, speakers[1])
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}')