Blackbox AI is an API that generates predictions based on given prompts. This document provides guidance on how to use the Blackbox AI API.
To use the Blackbox AI API, you'll need Node.js installed on your system.
- Install Node.js from nodejs.org.
- Create a new directory for your project and navigate into it using the terminal.
- Initialize a new Node.js project using
npm init -y
. - Install Blackbox AI API package using
npm install git+https://github.com/shuddho11288/Blackbox AI-api.git
ornpm install @shuddho11288/blackboxai-api
Follow these steps to use the Blackbox AI API:
- Import the Blackbox AI API package into your project.
- Initialize the
Blackbox AI
function by calling it with your desired prompt. - The function returns a promise with the predictions generated by Blackbox AI.
Here's an example code snippet:
const {blackbox} = require('@shuddho11288/blackboxai-api');
// Example usage
blackbox('Make me a for loop in assembly').then(data=>{
console.log(data)
})
Thank you for using our reverse engineered API for the Blackbox AI! If you find any bug or have any suggestions, please mail at tasawarshuddho@gmail.com .