Skip to content

ItManner/midjourney-fetch

 
 

Repository files navigation

midjourney-fetch

npm version GitHub Workflow Status node-current (scoped) GitHub

Fetch api for midjournery on discord

Usage

import { Midjourney } from 'midjourney-fetch'

const midjourney = new Midjourney({
  channelId: 'your channelId',
  serverId: 'your serverId',
  discordToken: 'your discordToken',
})

const images = await midjourney.imagine('your prompt')

console.log(images[0].url)

How to get Ids and Token

License

Based on MIT License

About

Fetch api for Midjourney on discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.2%
  • Shell 0.8%