dLazy AIdLazy AI
Model ReferenceImage Models

grok-4.2

Minimalist text-to-image model, prompt-only. Good for quick concept validation or undemanding instant generation.

Minimalist text-to-image model, prompt-only. Good for quick concept validation or undemanding instant generation.

Overview

FieldValue
Model IDgrok-4-2-image
CLIdlazy grok-4.2
MCPgrok-4.2 (Claude Code surfaces this as mcp__dlazy__grok-4.2)
Typeimage
ExecutionAsync task; the CLI polls until completion (--no-wait returns generateId immediately)
BatchSupports --batch <n> parallel fan-out

Parameters

ArgTypeRequiredNotes
promptstringYesPrompt

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

CLI Examples

dlazy grok-4.2 --help
dlazy grok-4.2 --prompt "Write your prompt here"
dlazy grok-4.2 --prompt "Write your prompt here" --dry-run
dlazy grok-4.2 --prompt "Write your prompt here" --no-wait
dlazy grok-4.2 --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__grok-4.2; generic clients (e.g. OpenClaw) call it as grok-4.2.

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