Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hercai

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hercai

A powerful library for interacting with the Herc.ai API

  • 10.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
122K
decreased by-3.02%
Maintainers
2
Weekly downloads
 
Created
Source

Discord

Herc.ai

A powerful library 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.

Question API; https://hercai.onrender.com/v2/hercai?question=

Text To Image API; https://hercai.onrender.com/v2/text2image?prompt=

Support

📂 NPM

📝 Github

Example On CLI

Installation

🔲 Installation For CLI

npm i hercai -g

📂 Installation

npm i hercai 

Quick Example

Example Question For CommonJS;

/* Importing The Package */
const { Hercai } = require('hercai');

const herc = new Hercai();

/* Available Models "v2","beta" | Default Model; "v2" */
herc.question({model:"v2",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 herc = new Hercai();

/* Available Models "v1" , "v2" , "v2-beta" | Default Model; "v2" */
herc.drawImage({model:"v2",prompt:"anime girl"}).then(response => {
console.log(response.url);
/* The module will reply based on the prompt! */

});

Example Interface For TypeScript;

import { QuestionData, DrawImageData } from "hercai";

Example CLI Command Usage;

hercai <Your Question>

Herc.ai Also Supports TypeScript And EsModule 🥳!

Credits

Made by FiveSoBes And Luppux Development

Contact & Support & Donate

Buy Me A Coffee

Discord Banner

Keywords

FAQs

Package last updated on 26 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc