dLazy AIdLazy AI
Model ReferenceImage Models

mj-imagine

Midjourney style generation, supports aspect ratio, Bot type, and output position (grid/U1-U4). Suitable for artistic and strongly stylized creative generation.

Midjourney style generation, supports aspect ratio, Bot type, and output position (grid/U1-U4). Suitable for artistic and strongly stylized creative generation.

Overview

FieldValue
Model IDmj-imagine
CLIdlazy mj-imagine
MCPmj-imagine (Claude Code surfaces this as mcp__dlazy__mj-imagine)
Typeimage
ExecutionAsync task; the CLI polls until completion (--no-wait returns generateId immediately)
BatchSupports --batch <n> parallel fan-out

Parameters

ArgTypeRequiredNotes
promptstringYesPrompt
aspect_ratio"auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "3:2" | "2:3" | "21:9"NoAspect Ratio; default "auto"
botType"MID_JOURNEY" | "NIJI_JOURNEY"NoBot Type; default "MID_JOURNEY"
output"grid" | "U1" | "U2" | "U3" | "U4"NoOutput; default "grid"

--input @file.json or --input '{...}' can supply all args at once; flags take precedence over --input keys.

CLI Examples

dlazy mj-imagine --help
dlazy mj-imagine --prompt "Write your prompt here"
dlazy mj-imagine --prompt "Write your prompt here" --dry-run
dlazy mj-imagine --prompt "Write your prompt here" --no-wait
dlazy mj-imagine --prompt "Write your prompt here" --batch 4

MCP

MCP is consumed by AI clients, not handwritten. Once dLazy is registered as an MCP server the tool appears in the client's tool list — Claude Code surfaces it as mcp__dlazy__mj-imagine; generic clients (e.g. OpenClaw) call it as mj-imagine.

See MCP setup for how to add the server.

Output

{
  "outputs": [
    { "type": "image", "id": "o_...", "url": "https://files.dlazy.com/result.png", "mimeType": "image/png" }
  ]
}

Media tools emit image / video / audio / file outputs. Use --output url to print only the URLs on stdout.

On this page