Integration of gemini api key with pure c++ project using curl in visual studio for solar system recommendation

I made a simple terminal application in c++ in visual studio and i want to integrate gemini api using curl in that project . i want to train the model using prompts i have all the prompts ready and then i will provide all the data that user input and push that to gemini api using http request by curl and then i want that gemini will give a complete organized set of text and table recommend the user the best solar system for him to buy

PLEASE help anyone . A little guide will help .
Thank you all.

Hi @Shahmeer_Khan ,
You can use the Gemini API in your C++ project with curl. This guide will help you set up your API key, send prompts, and get responses: Gemini API quickstart  |  Google AI for Developers
Once it works in the terminal, you can use libcurl in C++.
Hope it helps!