# \[FREE\] HttpGPT: GPT Integration (ChatGPT and DALL-E)

**URL:** <https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, Blueprint\
**Created:** [February 7, 2023, 12:05am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168 "2023-02-07T00:05:49Z")\
**Posts on this page:** 11\
**Page:** 6

<div class="post-metadata">

**Author:** ![Alex\_Welevel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alex\_Welevel](https://forums.unrealengine.com/u/Alex_Welevel)\
**Post date:** [October 25, 2023, 1:25pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/104 "2023-10-25T13:25:58Z")

</div>

Hello the @lucoiso,

Love the plugin, very easy to use. 🙂

Just got a crash, any idea what it could be?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/8/a386f96c9c96239178fd2bc6375d45479593578e.jpeg)

---

<div class="post-metadata">

**Author:** ![RubyDiaz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rubydiaz/32/767709_2.png) [@RubyDiaz](https://forums.unrealengine.com/u/RubyDiaz)\
**Post date:** [October 26, 2023, 2:42pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/105 "2023-10-26T14:42:27Z")

</div>

Hello, I’m trying to connect this plugin to Azure OpenAI Services but it throws an error `"statusCode": 401, "message": "Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired."`

I know the API Key is not wrong, maybe there is any problem when building the endpoint with all the parameters inside the blueprint, but I’m an Unity user and I don’t understand too much about the logic of this kind of programming. If anyone could check if the endpoint is well built inside the program, I would be really grateful:

```auto
**THE GENERAL ENDPOINT TO ACCESS AZURE OPENAI IS:**

POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/completions?api-version={api-version}

```

**THE PARAMETERS SPEECHGPT ASKS FOR AND I HAVE INTRODUCED:**

ENDPOINT: [https://xxxx.openai.azure.com/](https://xxxx.openai.azure.com/) (I can’t share the repository name)  
MODEL (previously deployed in azure): gpt-4-32k  
MODEL API VERSION: 2023-07-01-preview

And this is the log output after sending an user message and receiving an empty response.

```auto
LogHttpGPT_Internal: Display: SendRequest (): Request content body:
{
    "model": "gpt-4-32k",
    "max_tokens": 512
    "temperature": 1,
    "top_p": 1,
    "n": 1,
    "presence_penalty": 0,
    "frequency_penalty": 0,
    "stream": true,
    "user": "user",
    "messages": [
        {
            "role": "user",
            "content": "hola"
        }
    ]
}
LogHttpGPT_Internal: Display: OnProgressCompleted (): Process Completed
LogHttpGPT_Internal: Display: OnProgressCompleted (): Content: { "statusCode": 401, "message": "Unauthorized. Access token is missing, invalid, audience is incorrect (https://cognitiveservices.azure.com), or have expired." }
LogJson: Warning: Field id was not found.
LogJson: Error: Json Value of type 'Null' used as a 'String'.
LogJson: Warning: Field object was not found.
LogJson: Error: Json Value of type 'Null' used as a 'String'.
LogJson: Warning: Field created was not found.
LogJson: Error: Json Value of type 'Null' used as a 'Number'.
LogJson: Warning: Field choices was not found.
LogJson: Error: Json Value of type 'Null' used as a 'Array'.

```

Another problem I have, is that Speech to Text function doesn’t work. When I press the mic button and I start talking, it doesn’t do anything. I have tried to put some breakpoints, and I have realized that the asynchronous function never ends. Progress started works fine, but it never reaches progress completed. Bellow I have pasted the logs, and everything seems to work fine but when I debug it doesn’t work fine, and I can’t see any output…

```auto
LogAzSpeech: Display: Task: SpeechToText (); Function: Activate; Message: Activating task
LogAzSpeech_Internal: Display: Task: SpeechToText (); Function: StartAzureTaskWork; Message: Starting Azure SDK task
LogAzSpeech_Internal: Display: Task: SpeechToText (); Function: StartAzureTaskWork; Message: Using audio input device: Default
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Init; Message: Initializing runnable thread
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: CanInitializeTask; Message: Checking if can initialize task in current context
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Run; Message: Running runnable thread work
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: InitializeAzureObject; Message: Initializing Azure Object
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: InitializeAzureObject; Message: Creating recognizer object
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: CreateSpeechConfig; Message: Creating Azure SDK speech config
LogAzSpeech_Internal: Display: RegisterAzSpeechTask: Registering task SpeechToText (133390) in AzSpeech Engine Subsystem.
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: ApplySDKSettings; Message: Applying Azure SDK Settings
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_1; Function: EnableLogInConfiguration; Message: Enabling Azure SDK log
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: InsertProfanityFilterProperty; Message: Adding profanity filter property
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: InsertLanguageIdentificationProperty; Message: Adding language identification property
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Getting candidate languages
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Using language es-ES as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Using language de-DE as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_133390; Function: GetCandidateLanguages; Message: Using language fr-FR as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Using language el-GR as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_133390; Function: GetCandidateLanguages; Message: Using language it-IT as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Using language ja-JP as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_133390; Function: GetCandidateLanguages; Message: Using language ko-KR as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: GetCandidateLanguages; Message: Using language zh-CN as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_133390; Function: GetCandidateLanguages; Message: Using language pt-BR as candidate
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Run; Message: Starting recognition
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Run; Message: Recognition started.
LogAzSpeech: Display: Task: SpeechToText (); Function: StopAzSpeechTask; Message: Stopping task
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_133390; Function: StopAzSpeechRunnableTask; Message: Setting runnable work as pending stop
LogAzSpeech_Internal: Display: UnregisterAzSpeechTask: Unregistering task SpeechToText () from AzSpeech Engine Subsystem.
LogAzSpeech: Display: Task: SpeechToText (); Function: SetReadyToDestroy; Message: Setting task as Ready to Destroy
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: StopAzSpeechRunnableTask; Message: Setting runnable work as pending stop
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Stop; Message: Stopping runnable thread work
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: Exit; Message: Exiting thread
LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_; Function: ~FAzSpeechRunnableBase; Message: Destructing runnable thread

```

I hope anyone can help me with these two problems, I need to solve them for an important project. Thank you all in advance!! (and sorry for my bad English)

---

<div class="post-metadata">

**Author:** ![tomhalpin8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomhalpin8](https://forums.unrealengine.com/u/tomhalpin8)\
**Post date:** [November 6, 2023, 8:37pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/106 "2023-11-06T20:37:28Z")

</div>

Any chance of getting the latest GPT4-Turbo 1106 and GPT3.5-Turbo 1106 Models that came out today in this plugin? 🙂

---

<div class="post-metadata">

**Author:** ![1sirianth1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@1sirianth1](https://forums.unrealengine.com/u/1sirianth1)\
**Post date:** [March 21, 2024, 10:10pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/107 "2024-03-21T22:10:18Z")

</div>

I seem to only have these options in my project plugin settings?

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/1/bb1fcc8617928b025ea37f95a104c194e3c3bfb5.png)

On PC, am I missing something? I really want to add in my API key but I can’t?

Also you can upload images and get text responses, right? I’m trying to have it describe the scene to an agent…

---

<div class="post-metadata">

**Author:** ![JustinHoang1703](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JustinHoang1703](https://forums.unrealengine.com/u/JustinHoang1703)\
**Post date:** [March 23, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/108 "2024-03-23T19:25:52Z")

</div>

Thank you so much for making this Plug In, it’s super helpful!  
I wonder if we can add a feature to direct it specifically to ‘Assistant API’, which we can create in OpenAI?  
[https://platform.openai.com/docs/api-reference/assistants/createAssistant](https://platform.openai.com/docs/api-reference/assistants/createAssistant)

---

<div class="post-metadata">

**Author:** ![Origins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Origins](https://forums.unrealengine.com/u/Origins)\
**Post date:** [May 15, 2024, 6:21pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/109 "2024-05-15T18:21:24Z")

</div>

@lucoiso Will it work with Gemini API too ?

---

<div class="post-metadata">

**Author:** ![mjac46](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mjac46](https://forums.unrealengine.com/u/mjac46)\
**Post date:** [June 6, 2024, 6:56pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/110 "2024-06-06T18:56:25Z")

</div>

Hey, It can only be installed to 5.4 but then when I turn it on it says that the plugin is built for 5.3 and the project doesn’t open. I can’t install the plugin to 5.3 as well. Not possible to use it at the moment. Please Help

---

<div class="post-metadata">

**Author:** ![mjac46](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mjac46](https://forums.unrealengine.com/u/mjac46)\
**Post date:** [June 12, 2024, 7:27pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/111 "2024-06-12T19:27:49Z")

</div>

its still not working any updates on this?

---

<div class="post-metadata">

**Author:** ![Nonlin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nonlin](https://forums.unrealengine.com/u/Nonlin)\
**Post date:** [August 12, 2024, 6:21pm UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/112 "2024-08-12T18:21:09Z")

</div>

I never did share the outcome of project back in 5.3 using this plugin.

Here it is. Chat GPT narrates, totally hands free and dynamic.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/6/0867a27c17ba282a599f8014855bcfc8c8fc2fb3.jpeg "Marbelous Runs: Aero Loop (S1R1) Virtual Marble Race") ](https://www.youtube.com/watch?v=SuhgiyN6mEk)

---

<div class="post-metadata">

**Author:** ![ioFlow\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ioflow_studios/32/1194555_2.png) [@ioFlow\_Studios](https://forums.unrealengine.com/u/ioFlow_Studios)\
**Post date:** [January 13, 2025, 12:04am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/113 "2025-01-13T00:04:58Z")

</div>

The videos for this look great, but I can’t the plugin to build for 5.5 ☹

Has anyone forked it?

---

<div class="post-metadata">

**Author:** ![bridgey77](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bridgey77/32/1138785_2.png) [@bridgey77](https://forums.unrealengine.com/u/bridgey77)\
**Post date:** [November 1, 2025, 9:53am UTC](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168/114 "2025-11-01T09:53:40Z")

</div>

I’m still trying too, but the creator doesn’t even answer emails.

[Previous page](https://forums.unrealengine.com/t/free-httpgpt-gpt-integration-chatgpt-and-dall-e/765168.md?page=5)
