MCPcopy
hub / github.com/erictik/midjourney-api / MJConfig

Interface MJConfig

src/interfaces/config.ts:7–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5export const MJBot = "936929561302675456";
6export const NijiBot = "1022952195194359889";
7export interface MJConfig {
8 ChannelId: string;
9 SalaiToken: string;
10 BotId: typeof MJBot | typeof NijiBot;
11 Debug: boolean;
12 Limit: number;
13 MaxWait: number;
14 SessionId: string;
15 ServerId?: string;
16 Ws?: boolean;
17 Remix?: boolean;
18 HuggingFaceToken?: string;
19 DiscordBaseUrl: string;
20 WsBaseUrl: string;
21 fetch: FetchFn;
22 ApiInterval: number;
23 WebSocket: WebSocketCl;
24 ImageProxy: string;
25}
26export interface MJConfigParam {
27 SalaiToken: string; //DISCORD_TOKEN
28 ChannelId?: string; //DISCORD_CHANNEL_ID

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected