@shuddho11288/imagine-api

1.0.0 • Public • Published

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.

  1. Install Node.js from nodejs.org.
  2. Create a new directory for your project and navigate into it using the terminal.
  3. Initialize a new Node.js project using npm init -y.
  4. Install Imagine AI API package using npm install @shuddho11288/imagine-api

Usage

Follow these steps to use the Imagine AI API:

  1. Import the Imagine AI API package into your project.
  2. Initialize the Imagine AI function by calling it with your desired prompt.
  3. 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 tasawarshuddho@gmail.com .

Package Sidebar

Install

npm i @shuddho11288/imagine-api

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.65 kB

Total Files

3

Last publish

Collaborators

  • shuddho11288