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
| Field | Value |
|---|---|
| Model ID | grok-4-2-image |
| CLI | dlazy grok-4.2 |
| MCP | grok-4.2 (Claude Code surfaces this as mcp__dlazy__grok-4.2) |
| Type | image |
| Execution | Async task; the CLI polls until completion (--no-wait returns generateId immediately) |
| Batch | Supports --batch <n> parallel fan-out |
Parameters
| Arg | Type | Required | Notes |
|---|---|---|---|
prompt | string | Yes | Prompt |
--input @file.jsonor--input '{...}'can supply all args at once; flags take precedence over--inputkeys.
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 4MCP
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.
gpt-image-2
GPT Image 2 model for text-to-image and image editing. Supports generating images from text as well as editing and synthesizing images with reference inputs.
image-replicate
Image replicate tool: analyzes the source's composition, color, lighting, and style, then uses Seedream 4.5 to generate a new image in the same style.