A powerful .NET Nuget Package for interacting with the Herc.ai API.
We Offer It To You For Free. Herc.ai Answers Your Question According To The Language, And It Supports All Languages.
✨ How about a one-time subscription to benefit from Hercai's features unlimitedly? ✨ Use Hercai Unlimited with API Key!
❔ Support
📂 Nuget
📝 Github
📂 Installation
Install-Package Hercai
dotnet add package Hercai
Exampe Construction;
string apiKey = ""; /* If you have a Hercai API Key, please define it in this section. */
Hercai hercaiInstance = new Hercai(apiKey);
Question API; https://hercai.onrender.com/v3/hercai?question=
Example Question For .NET Core;
/* Available Models */
/* "v3" , "v3-32k" , "turbo" , "turbo-16k" , "gemini" */
/* Default Model; "v3" */
string questionModel = "v3";
string questionContent = "What is the meaning of life?";
string questionResponse = await Hercai.Question("v3", "hi, how are you?");
Console.WriteLine("Question Response: " + questionResponse);
Text To Image API; https://hercai.onrender.com/v3/text2image?prompt=
Example Draw Image For .NET Core;
/* Available Models */
/* "v1" , "v2" , "v2-beta" , "v3" (DALL-E) , "lexica" , "prodia", "simurg", "animefy", "raava", "shonin" */
/* Default Model; "v3" */
string imageModel = "simurg";
string prompt = "A beautiful landscape";
string negativePrompt = "Dark and gloomy"; /* Optional Prompt, If None, Leave Blank. */
string imageResponse = await Hercai.DrawImage(imageModel, prompt, negativePrompt);
Console.WriteLine("Image Response: " + imageResponse);
NPM Package For JavaScript & TypeScript
Made by FiveSoBes And Luppux Development