Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 389 Bytes

File metadata and controls

17 lines (12 loc) · 389 Bytes

Client for accessing ThinkThinkSyn AI API Service.

Required Python >= 3.11

Example:

import asyncio

from thinkthinksyn import ThinkThinkSyn
tts = ThinkThinkSyn(apikey=os.getenv('TTS_APIKEY', ''))

async def test():
    return (await tts.completion(prompt='1+1? tell me ans directly without words.'))['text'].strip()

if __name__ == "__main__":
    asyncio.run(test())