apiframe-js

1.1.1 • Public • Published

apiframe-js

Node.js library for APIFRAME.PRO (Midjourney API)

API Documentation is available at https://docs.apiframe.pro

Example

const ApiframeClient = require('apiframe-js');
const APIFRAME_API_KEY = ""; // YOUR API KEY HERE

const Client = new ApiframeClient(APIFRAME_API_KEY, false);

(async () => {

    const res = await Client.imagine({
        prompt: "a nice day in the desert with my dog",
        aspect_ratio: "3:2",
        process_mode: "fast",
        webhook_url: "https://mywebsite.com/webhook/update"
    });

    console.log(res);
})();

Package Sidebar

Install

npm i apiframe-js

Weekly Downloads

27

Version

1.1.1

License

MIT

Unpacked Size

30.6 kB

Total Files

4

Last publish

Collaborators

  • apiframe