midjourney-api icon indicating copy to clipboard operation
midjourney-api copied to clipboard

MidJourney client. Unofficial Node.js client

Results 128 midjourney-api issues
Sort by recently updated
recently updated
newest added

### the code that reproduces this issue or a replay of the bug ![image](https://github.com/erictik/midjourney-api/assets/4364314/40809185-ca8a-40ea-932c-0bc4bb159906) ### Describe the bug ![image](https://github.com/erictik/midjourney-api/assets/4364314/da12086a-b609-4e8e-9822-e1b64c8f85bc) ### error log why?Often appear

bug

### the code that reproduces this issue or a replay of the bug ``` client.Imagine("cutting-edge, confident, elegant, mysterious", (uri, p) => { console.log("\n\n\nloading", uri, p, "\n\n\n"); }).then(msg=>{console.log("\n\n\nDone:", msg)}).catch(err=>{console.log("ERR:", err)}); ```...

question

node_modules/midjourney/src/ws.message.ts:24 this.ws = new this.config.WebSocket(this.config.WsBaseUrl); ^ TypeError: this.config.WebSocket is not a constructor node_modules/midjourney/src/ws.message.ts:24:15)

here's the code ```const { Client, GatewayIntentBits, Attachment } = require('discord.js'); const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent] }); const axios = require('axios') const { Midjourney } =...

### the code that reproduces this issue or a replay of the bug const { Midjourney } = require("midjourney") const axios = require('axios') const express = require('express') const router =...

bug

```js async Imagine(prompt: string, loading?: LoadingHandler,customSeed:number) { prompt = prompt.trim(); if (!this.wsClient) { const seed = CustomSeed ?? random(1000000000, 9999999999); prompt = `[${seed}] ${prompt}`; } const nonce = nextNonce(); this.log(`Imagine`,...

I have been using this api for over 2 weeks and never had any issues. Today I have been getting this error surprisingly. its says error config { all my...

### the code that reproduces this issue or a replay of the bug ![image](https://github.com/erictik/midjourney-api/assets/118732262/2c07c103-5052-47be-9048-39b118df569c) ### Describe the bug **Describe the bug** The variation response only prompt but no seed, this...

bug

We're running into time-out issues with our provider when a Midjourney base image takes too long to resolve. I'm wondering if there's any way to retrieve the base image without...

### the code that reproduces this issue or a replay of the bug npx tsx example/imagine-ws.ts npx tsx example/imagine-ws.ts ### Describe the bug run this example 2 times, the second...

bug