JSPM

@shuddho11288/imagine-api

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q25359F
    • License ISC

    Turn your imagination into reality!

    Package Exports

    • @shuddho11288/imagine-api
    • @shuddho11288/imagine-api/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shuddho11288/imagine-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    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.

    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 .