import requests as __requests__
from enum import Enum as __enum__

class Voice(__enum__):
    Brian = 'Brian'
    Amy = 'Amy'
    Emma = 'Emma'
    Geraint = 'Geraint'
    Russell = 'Russell'
    Nicole = 'Nicole'
    Joey = 'Joey'
    Justin = 'Justin'
    Matthew = 'Matthew'
    Ivy = 'Ivy'
    Joanna = 'Joanna'
    Kendra = 'Kendra'
    Kimberly = 'Kimberly'
    Salli = 'Salli'
    Raveena = 'Raveena'
    Zhiyu = 'Zhiyu'
    Mads = 'Mads'
    Naja = 'Naja'
    Ruben = 'Ruben'
    Lotte = 'Lotte'
    Mathieu = 'Mathieu'
    Celine = 'Celine'
    Chantal = 'Chantal'
    Hans = 'Hans'
    Marlene = 'Marlene'
    Vicki = 'Vicki'
    Aditi = 'Aditi'
    Karl = 'Karl'
    Dora = 'Dora'
    Carla = 'Carla'
    Bianca = 'Bianca'
    Giorgio = 'Giorgio'
    Takumi = 'Takumi'
    Mizuki = 'Mizuki'
    Seoyeon = 'Seoyeon'
    Liv = 'Liv'
    Ewa = 'Ewa'
    Maja = 'Maja'
    Jacek = 'Jacek'
    Jan = 'Jan'
    Ricardo = 'Ricardo'
    Vitoria = 'Vitoria'
    Cristiano = 'Cristiano'
    Ines = 'Ines'
    Carmen = 'Carmen'
    Maxim = 'Maxim'
    Tatyana = 'Tatyana'
    Enrique = 'Enrique'
    Conchita = 'Conchita'
    Mia = 'Mia'
    Miguel = 'Miguel'
    Penelope = 'Penelope'
    Astrid = 'Astrid'
    Filiz = 'Filiz'
    Gwyneth = 'Gwyneth'
    en_US_Wavenet_A = 'en-US-Wavenet-A'
    en_US_Wavenet_B = 'en-US-Wavenet-B'
    en_US_Wavenet_C = 'en-US-Wavenet-C'
    en_US_Wavenet_D = 'en-US-Wavenet-D'
    en_US_Wavenet_E = 'en-US-Wavenet-E'
    en_US_Wavenet_F = 'en-US-Wavenet-F'
    en_US_Standard_B = 'en-US-Standard-B'
    en_US_Standard_C = 'en-US-Standard-C'
    en_US_Standard_D = 'en-US-Standard-D'
    en_US_Standard_E = 'en-US-Standard-E'
    en_GB_Standard_A = 'en-GB-Standard-A'
    en_GB_Standard_B = 'en-GB-Standard-B'
    en_GB_Standard_C = 'en-GB-Standard-C'
    en_GB_Standard_D = 'en-GB-Standard-D'
    en_GB_Wavenet_A = 'en-GB-Wavenet-A'
    en_GB_Wavenet_B = 'en-GB-Wavenet-B'
    en_GB_Wavenet_C = 'en-GB-Wavenet-C'
    en_GB_Wavenet_D = 'en-GB-Wavenet-D'
    en_AU_Standard_A = 'en-AU-Standard-A'
    en_AU_Standard_B = 'en-AU-Standard-B'
    en_AU_Wavenet_A = 'en-AU-Wavenet-A'
    en_AU_Wavenet_B = 'en-AU-Wavenet-B'
    en_AU_Wavenet_C = 'en-AU-Wavenet-C'
    en_AU_Wavenet_D = 'en-AU-Wavenet-D'
    en_AU_Standard_C = 'en-AU-Standard-C'
    en_AU_Standard_D = 'en-AU-Standard-D'
    en_IN_Wavenet_A = 'en-IN-Wavenet-A'
    en_IN_Wavenet_B = 'en-IN-Wavenet-B'
    en_IN_Wavenet_C = 'en-IN-Wavenet-C'
    af_ZA_Standard_A = 'af-ZA-Standard-A'
    ar_XA_Wavenet_A = 'ar-XA-Wavenet-A'
    ar_XA_Wavenet_B = 'ar-XA-Wavenet-B'
    ar_XA_Wavenet_C = 'ar-XA-Wavenet-C'
    bg_bg_Standard_A = 'bg-bg-Standard-A'
    cmn_CN_Wavenet_A = 'cmn-CN-Wavenet-A'
    cmn_CN_Wavenet_B = 'cmn-CN-Wavenet-B'
    cmn_CN_Wavenet_C = 'cmn-CN-Wavenet-C'
    cmn_CN_Wavenet_D = 'cmn-CN-Wavenet-D'
    cs_CZ_Wavenet_A = 'cs-CZ-Wavenet-A'
    da_DK_Wavenet_A = 'da-DK-Wavenet-A'
    nl_NL_Standard_A = 'nl-NL-Standard-A'
    nl_NL_Wavenet_A = 'nl-NL-Wavenet-A'
    nl_NL_Wavenet_B = 'nl-NL-Wavenet-B'
    nl_NL_Wavenet_C = 'nl-NL-Wavenet-C'
    nl_NL_Wavenet_D = 'nl-NL-Wavenet-D'
    nl_NL_Wavenet_E = 'nl-NL-Wavenet-E'
    fil_PH_Wavenet_A = 'fil-PH-Wavenet-A'
    fi_FI_Wavenet_A = 'fi-FI-Wavenet-A'
    fr_FR_Standard_C = 'fr-FR-Standard-C'
    fr_FR_Standard_D = 'fr-FR-Standard-D'
    fr_FR_Wavenet_A = 'fr-FR-Wavenet-A'
    fr_FR_Wavenet_B = 'fr-FR-Wavenet-B'
    fr_FR_Wavenet_C = 'fr-FR-Wavenet-C'
    fr_FR_Wavenet_D = 'fr-FR-Wavenet-D'
    fr_CA_Standard_A = 'fr-CA-Standard-A'
    fr_CA_Standard_B = 'fr-CA-Standard-B'
    fr_CA_Standard_C = 'fr-CA-Standard-C'
    fr_CA_Standard_D = 'fr-CA-Standard-D'
    de_DE_Standard_A = 'de-DE-Standard-A'
    de_DE_Standard_B = 'de-DE-Standard-B'
    de_DE_Wavenet_A = 'de-DE-Wavenet-A'
    de_DE_Wavenet_B = 'de-DE-Wavenet-B'
    de_DE_Wavenet_C = 'de-DE-Wavenet-C'
    de_DE_Wavenet_D = 'de-DE-Wavenet-D'
    el_GR_Wavenet_A = 'el-GR-Wavenet-A'
    hi_IN_Wavenet_A = 'hi-IN-Wavenet-A'
    hi_IN_Wavenet_B = 'hi-IN-Wavenet-B'
    hi_IN_Wavenet_C = 'hi-IN-Wavenet-C'
    hu_HU_Wavenet_A = 'hu-HU-Wavenet-A'
    is_is_Standard_A = 'is-is-Standard-A'
    id_ID_Wavenet_A = 'id-ID-Wavenet-A'
    id_ID_Wavenet_B = 'id-ID-Wavenet-B'
    id_ID_Wavenet_C = 'id-ID-Wavenet-C'
    it_IT_Standard_A = 'it-IT-Standard-A'
    it_IT_Wavenet_A = 'it-IT-Wavenet-A'
    it_IT_Wavenet_B = 'it-IT-Wavenet-B'
    it_IT_Wavenet_C = 'it-IT-Wavenet-C'
    it_IT_Wavenet_D = 'it-IT-Wavenet-D'
    ja_JP_Standard_A = 'ja-JP-Standard-A'
    ja_JP_Wavenet_A = 'ja-JP-Wavenet-A'
    ja_JP_Wavenet_B = 'ja-JP-Wavenet-B'
    ja_JP_Wavenet_C = 'ja-JP-Wavenet-C'
    ja_JP_Wavenet_D = 'ja-JP-Wavenet-D'
    ko_KR_Standard_A = 'ko-KR-Standard-A'
    ko_KR_Wavenet_A = 'ko-KR-Wavenet-A'
    lv_lv_Standard_A = 'lv-lv-Standard-A'
    nb_no_Wavenet_E = 'nb-no-Wavenet-E'
    nb_no_Wavenet_A = 'nb-no-Wavenet-A'
    nb_no_Wavenet_B = 'nb-no-Wavenet-B'
    nb_no_Wavenet_C = 'nb-no-Wavenet-C'
    nb_no_Wavenet_D = 'nb-no-Wavenet-D'
    pl_PL_Wavenet_A = 'pl-PL-Wavenet-A'
    pl_PL_Wavenet_B = 'pl-PL-Wavenet-B'
    pl_PL_Wavenet_C = 'pl-PL-Wavenet-C'
    pl_PL_Wavenet_D = 'pl-PL-Wavenet-D'
    pt_PT_Wavenet_A = 'pt-PT-Wavenet-A'
    pt_PT_Wavenet_B = 'pt-PT-Wavenet-B'
    pt_PT_Wavenet_C = 'pt-PT-Wavenet-C'
    pt_PT_Wavenet_D = 'pt-PT-Wavenet-D'
    pt_BR_Standard_A = 'pt-BR-Standard-A'
    ru_RU_Wavenet_A = 'ru-RU-Wavenet-A'
    ru_RU_Wavenet_B = 'ru-RU-Wavenet-B'
    ru_RU_Wavenet_C = 'ru-RU-Wavenet-C'
    ru_RU_Wavenet_D = 'ru-RU-Wavenet-D'
    sr_rs_Standard_A = 'sr-rs-Standard-A'
    sk_SK_Wavenet_A = 'sk-SK-Wavenet-A'
    es_ES_Standard_A = 'es-ES-Standard-A'
    sv_SE_Standard_A = 'sv-SE-Standard-A'
    tr_TR_Standard_A = 'tr-TR-Standard-A'
    tr_TR_Wavenet_A = 'tr-TR-Wavenet-A'
    tr_TR_Wavenet_B = 'tr-TR-Wavenet-B'
    tr_TR_Wavenet_C = 'tr-TR-Wavenet-C'
    tr_TR_Wavenet_D = 'tr-TR-Wavenet-D'
    tr_TR_Wavenet_E = 'tr-TR-Wavenet-E'
    uk_UA_Wavenet_A = 'uk-UA-Wavenet-A'
    vi_VN_Wavenet_A = 'vi-VN-Wavenet-A'
    vi_VN_Wavenet_B = 'vi-VN-Wavenet-B'
    vi_VN_Wavenet_C = 'vi-VN-Wavenet-C'
    vi_VN_Wavenet_D = 'vi-VN-Wavenet-D'
    Linda = 'Linda'
    Heather = 'Heather'
    Sean = 'Sean'
    Hoda = 'Hoda'
    Naayf = 'Naayf'
    Ivan = 'Ivan'
    Herena = 'Herena'
    Tracy = 'Tracy'
    Danny = 'Danny'
    Huihui = 'Huihui'
    Yaoyao = 'Yaoyao'
    Kangkang = 'Kangkang'
    HanHan = 'HanHan'
    Zhiwei = 'Zhiwei'
    Matej = 'Matej'
    Jakub = 'Jakub'
    Guillaume = 'Guillaume'
    Michael = 'Michael'
    Karsten = 'Karsten'
    Stefanos = 'Stefanos'
    Szabolcs = 'Szabolcs'
    Andika = 'Andika'
    Heidi = 'Heidi'
    Kalpana = 'Kalpana'
    Hemant = 'Hemant'
    Rizwan = 'Rizwan'
    Filip = 'Filip'
    Lado = 'Lado'
    Valluvar = 'Valluvar'
    Pattara = 'Pattara'
    An = 'An'

__url1__ = 'https://api.streamelements.com/kappa/v2/speech?'

def requestTTS(text: str, voice = 'Brian'):
    params = {
        'voice': voice,
        'text': text
    }
    res = __requests__.get(__url1__, params)
    return res.content