

A powerful library for interacting with the Herc.ai API.
We Use GPT-4 as Artificial Intelligence Engine, And We Offer It To You For Free.
Herc.ai Answers Your Question According To The Language, And It Supports All Languages.
Question API; https://herc-ai.onrender.com/v1/hercai?question=
Text To Image API; https://herc-ai.onrender.com/v2/text2image?prompt=
Example On CLI

Installation
🔲 Installation For CLI
npm i hercai -g
📂 Installation
npm i hercai
Quick Example
Example Question For CommonJS;
const { Hercai } = require('hercai');
const client = new Hercai();
client.question({content:"hi, how are you?"}).then(response => {
console.log(response.reply);
});
Example Draw Image For CommonJS;
const { Hercai } = require('hercai');
const client = new Hercai();
client.drawImage({model:"v2",prompt:"anime girl"}).then(response => {
console.log(response.url);
});
Example CLI Command Usage;
hercai <Your Question>
Herc.ai Also Supports TypeScript And EsModule 🥳!
Credits
Made by FiveSoBes And Luppux Development
Contact & Support & Donate

