Brainman is a fast and simple to use AI & personal assistant.
Brainman is a fast and simple to use AI & personal assistant.
We would like to thank HOSTUDE for sponsoring this project.
npm install brainman
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');
You can also use Brainman online by clicking on this link.
This project was created by UnoxDevs and all source code rights are owned by UnoxDevs and Queaxtra.