Skip to content

Are there any AllTalk_TTS API usage examples with Python somewhere? #269

Answered by erew123
ahmetax asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ahmetax

With v2 of AllTalk, you can send just a line of text OR all the settings. If you send just the text and DONT specify anything else, AllTalk will use all the settings that are set in the Global AllTalk settings page e.g.

This is somewhat discussed here in the API Dev section:

And here in the Endpoints section:

If you specifically want a Python script example of sending things to AllTalk, you can look at \alltalk_tts\system\TGWUI Extension and the script.py in there.

Line 286 to 335 is an example of sending either streaming generation OR standard generation (note, many options are NOT available for use with streaming generation).

Hope that gives you a bit of insight, though …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ahmetax
Comment options

Answer selected by ahmetax
Comment options

You must be logged in to vote
2 replies
@erew123
Comment options

@fury88
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants