Month: February 2025

OpenAI Image Integration in Blazor

In my previous blog I wrote a detailed step by step guide on how to use open ai api key in a Blazor WASM project, to generate text in response to a prompt. In this post, I will take that Visual Studio solution a step further and use the same api key with an image…
Read more

Using OpenAI API to Generate Text in a Blazor WASM

Step 1: Set up a new Blazor WebAssembly Project Create the Blazor WebAssembly App: Open your terminal or command prompt and run the following command to create a new Blazor WebAssembly app: dotnet new blazorwasm -o OpenAIBlazorApp This will create a new Blazor WebAssembly application in a folder named OpenAIBlazorApp. Navigate to the project directory:…
Read more