Calling an API from touchdesigner
Call ChatGPT via Touch
- Create an Account on Open ai
 - Create an API key
 - pip install openai (python library)
 - setup touchdesigner to work with external python libraries
 - Install openai library in terminal - 
pip install openai - link python to python modul path in preferences in touchd
 
Create a base with the parameters you want to use
Create a textDat with your api key
Use parameter execute to execute the code