Home Creators Posts Import Register Favorites Logout

Downloads

Content

Hey! In this tutorial, we'll go over 2 new components I developed to run OpenAI's Whisper (speech-to-text) and ChatGPT within TouchDesigner. No need to install any dependencies.

Link to Open AI: https://platform.openai.com/signup

Update:Note the component now works with the new GPT4 & GPT-4-Turbo Model as well. 

Files

GPT-4, ChatGPT, and Whisper(speech-to-text) Plugins for TouchDesigner

Hey! In this tutorial we'll go over 2 new components I developed to run OpenAI's Whisper (speech-to-text) and GPT-4(includes multiple versions) within TouchDesigner. The components work without any setup needed, just add your OpenAI API key. I also show how to extend the functionality of the components so you can use these models in your installations. Link to the Project File is on my Patreon: https://patreon.com/tblankensmith Link to Open AI's Website: https://platform.openai.com/signup *Update* The component from this video now works with the new GPT-4 model. You need to get on OpenAI's waitlist to get access: https://openai.com/waitlist/gpt-4-api The component defaults to GPT-3.5-turbo, so it works out of the box. If you get off the waitlist you can change the model from the component parameters, which is now listed under the API key parameter on the TD component. 0:00 Overview 1:03 Shader Generation Example 4:08 Priming messages for ChatGPT | Becoming Refik Anadol 7:23 API Key setup 9:46 In Depth use of the Whisper and ChatGPT Components 12:41 Building the connection from Whisper to ChatGPT

Comments

Yulia Babanova

Hello Torin! Thank you for the plugin! I have an issue that it keeps returning a mistake whenever I try to integrate it into my project (I'm using Mac): HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/audio/transcriptions (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) I've already installed new Python, openai libraries, ssl for python, updated my TD version but it keeps returning a mistake. Do you have any idea what could be the issue?

Alon Hammer

This is awesome!! I use chatgpt a lot to help with python scripts. Do you have any recommendations or direction for streamlineing that approach. I saw in the video you had a script that took the response and generated a glsl script. Is that easy to change for python?

Djoeneuh

Really cool man, learning a bunch. Is there a way we could trigger an event based on the response ? As in, if we ask it to press 2 seperate buttons, for example for yes / no questions

Daniel

Hello Torin! Thank you for the plugin! I have an issue that when I hit the record voice input button on the whisper node, touch designer just returned a fatal error warning and says the application must closed. (I'm using Mac)

Isaac Hooper

Me too touch designer crashes every time I hit record would really appreciate a solution

Eugene Pitts

This is such amazing work - the possibilities are staggering as you play with it. I am having the same issue as Daniel and Issac where the "record audio" causes the application to crash but the prerecorded audio works just fine. I am on Windows with the latest Stable build.

Bo

I'm using a Mac, there is an error: "No such file or directory". Do you know how to solve it or show us clearly how to connect Arduino with Chat GPT APIs?

Sina Catharina Oberwinster

Hey Torin, thank you for the tutorial. I'm currently trying to implement a live speech to text project with Whisper Ki. Is it possible to run the whole thing without the record on/off button? So that there is input all the time and is analyzed in the meantime, even if this is probably a bit delayed? If so, do you have any tips for me on how I can implement this in td?

Fabrizio

Hi Torin! thank you for the plug-in! Are there any technical specifications for GPUs to use this plug-in in Windows?