@shuddho11288/imagine-api
v1.0.0
Published
Turn your imagination into reality!
Downloads
7
Maintainers
Readme
Using the Imagine AI API
Introduction
Imagine AI is an API that generates predictions based on given prompts. This document provides guidance on how to use the Imagine AI API.
Installation
To use the Imagine 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 Imagine AI API package using
npm install @shuddho11288/imagine-api
Usage
Follow these steps to use the Imagine AI API:
- Import the Imagine AI API package into your project.
- Initialize the
Imagine AI
function by calling it with your desired prompt. - The function returns a promise with the predictions generated by Imagine AI.
Here's an example code snippet:
const {imagine} = require('@shuddho11288/imagine-api');
// Example usage
imagine('cats under car').then(data=>{
console.log(data)
})
Thank you
Thank you for using our reverse engineered API for the Imagine AI! If you find any bug or have any suggestions, please mail at [email protected] .