An open API service indexing awesome lists of open source software.

https://github.com/unoxdevs/brainman

Brainman is a fast and simple to use AI & personal assistant.
https://github.com/unoxdevs/brainman

ai chatgpt gpt-3 gpt-4

Last synced: 11 months ago
JSON representation

Brainman is a fast and simple to use AI & personal assistant.

Awesome Lists containing this project

README

          

# 🤖 Brainman
Brainman is a fast and simple to use AI & personal assistant.

![NPM Downloads](https://img.shields.io/npm/dm/brainman?style=flat-square)
![npm bundle size](https://img.shields.io/bundlephobia/min/brainman?style=flat-square)
![NPM License](https://img.shields.io/npm/l/brainman?style=flat-square)
![GitHub Repo stars](https://img.shields.io/github/stars/unoxdevs/brainman?style=flat-square)

## 🤝 Sponsor
We would like to thank [HOSTUDE](https://hostude.net/) for sponsoring this project.
![Sponsor](https://www.upload.ee/image/16645795/Sponsor.png)

## 📦 Install
```bash
npm install brainman
```

## 🎉 Updates
- API has been updated.
- Category option was removed because it was unnecessary.
- LeoLM model added.
- Minor bugs fixed.
- Rate limiter has been added, now you can only send 500 requests in 1 minute.
- Chat and image creation logging system has been completely changed.
- API has been accelerated, now you can chat or create images faster.
- A separate rate limiter has been added to the Gemini version.

## 🚀 Start
```js
const brainman = require('brainman');

// Chat with Brainman
async function brainmanStart(prompt, version) {
const response = await brainman.chat({
prompt: prompt,
version: version, // v3-turbo, v4, v4-32k, gemini, leo
});
console.log(response);
}

brainmanStart('create a basic html code', 'v4');

// Imagine with Brainman
async function brainmanImagine(prompt, version) {
const response = await brainman.imagine({
prompt: prompt,
version: version // sd, dalle
});
console.log(response);
}

brainmanImagine('a cat', 'sd');
```

## 🖥️ Usage Website
You can also use Brainman online [by clicking on this link](https://brainman.unoxdevs.fun).

## 🛠️ Support
- [Discord](https://discord.gg/9yYPF6BXt7)
- [GitHub](https://github.com/unoxdevs/brainman)
- [Telegram](https://t.me/unoxdevs)
- [Status](https://status.unoxdevs.fun/)

## © Copyright
This project was created by [UnoxDevs](https://github.com/unoxdevs/brainman) and all source code rights are owned by [UnoxDevs](https://github.com/unoxdevs/brainman) and [Queaxtra](https://github.com/queaxtra).