GithubHelp home page GithubHelp logo

bes-js / hercai.core Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 742 KB

A powerful .NET Nuget Package for interacting with the Herc.ai API.

Home Page: https://www.nuget.org/packages/Hercai

License: GNU General Public License v3.0

C# 100.00%
ai api api-rest chatgpt csharp dall-e gpt-4 midjourney netcore openai

hercai.core's Introduction

Discord Buy Me A Coffee

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!

📂 Nuget

📝 Github

📂 Installation

Install-Package Hercai

dotnet add package Hercai

Quick Example

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);
            

Credits

NPM Package For JavaScript & TypeScript

Made by FiveSoBes And Luppux Development

Contact & Support & Donate

Buy Me A Coffee

Discord Banner

hercai.core's People

Contributors

bes-js avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sammylifetime

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.