🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

midjourney-discord

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

midjourney-discord

node.js client for MidJourney wrapper in Discord.

1.0.8
latest
Source
npm
Version published
Weekly downloads
10
150%
Maintainers
1
Weekly downloads
 
Created
Source

midjourney-discord

node.js client for Midjourney wrapper in Discord.

Discord server Docker

web ui example

Implemented commands documentation

Join discord experience Generating idea

/oh_imagine [ MT : prompt (string)]

prompt_pwz2u1

Upscaling
Reply u1 u2 u3 u4

upscale

Variations
Reply v1 v2 v3 v4 variation

Example

To run the included example, you must have Node.js installed. Then, run the following commands in the root directory of this project:

  • clone the repository
git clone
  • install dependencies
npm install
export SERVER_ID="108250087147832934"
export CHANNEL_ID="109489299228171884"
export SALAI_TOKEN="your-salai-token"
export SALAI_DAVINCI_TOKENTOKEN="Token of Discord bot"
  • run the example
npm run dev

Install

yarn add midjourney-discord

or

npm install midjourney-discord

Usage

Docker

docker run -d  --env-file .env erictik/midjourney-discord

NodeJS

import { MidjourneyBot } from 'midjourney-discord'
const client = new Midjourney({
    ServerId: <string>process.env.SERVER_ID,
    ChannelId: <string>process.env.CHANNEL_ID,
    SalaiToken: <string>process.env.SALAI_TOKEN,
    Debug: true,
  })
await client.start()

Keywords

midjourney

FAQs

Package last updated on 19 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts