Package Exports
- hercai
- hercai/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hercai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Herc.ai
A powerful library for interacting with the Herc.ai API.
Herc.ai Answers Your Question According To The Language, And It Supports All Languages.
Question API; https://hercai.onrender.com/v1/hercai?question=
Draw Image API; https://hercai.onrender.com/v2/hercai?prompt=
❔ Support
📂 NPM
📝 Github
❓ How to obtain an API Token?
You can visit discord.gg/luppux to obtain an Monthly Free 500 Coin API Token.
You Can Have Herc.ai With A One-Time Payment From Herc.ai API Store To Avoid More Coins And Discord.. #
Quick Example
Example Question For CommonJS;
// Importing The Package
const { Hercai } = require('hercai');
const client = new Hercai({apiKey: 'Your API KEY'});
client.question({content:"hi, how are you?"}).then(response => {
console.log(response.reply);
// The module will reply based on the message!
});
Example Draw Image For CommonJS;
// Importing The Package
const { Hercai } = require('hercai');
const client = new Hercai({apiKey: 'Your API KEY'});
// Available Models "v1" , "v2" , "v2-beta"
client.drawImage({model:"v1",prompt:"anime girl"}).then(response => {
console.log(response.url);
// The module will reply based on the prompt!
});
Herc.ai Also Supports TypeScript And EsModule 🥳! #
🪙 API Coin Prices
Models Prices question 2 Coin / Per drawImage "v1" 5 Coin / Per drawImage "v2" 10 Coin / Per drawImage "v2-beta" 8 Coin / Per
Credits
Made by FiveSoBes And Luppux Development