Fetch api for midjournery on discord
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)
Based on MIT License