banana2
General text-to-image model (optional 1 reference image), prioritizing speed and cost. Good for quick drafts, social posts, and multi-ratio generation.
General text-to-image model (optional 1 reference image), prioritizing speed and cost. Good for quick drafts, social posts, and multi-ratio generation.
Overview
| Field | Value |
|---|---|
| Model ID | banana2 |
| CLI | dlazy banana2 |
| MCP | banana2 (Claude Code surfaces this as mcp__dlazy__banana2) |
| 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 |
images | array<url> | No | Images; image (accepts URL, local path, or data: URL); max 14 items |
aspectRatio | "auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "21:9" | No | Aspect Ratio; default "auto" |
imageSize | "512" | "1K" | "2K" | "4K" | No | Image Size; default "512" |
--input @file.jsonor--input '{...}'can supply all args at once; flags take precedence over--inputkeys.
CLI Examples
dlazy banana2 --help
dlazy banana2 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg"
dlazy banana2 --prompt "Write your prompt here" --images "./local-image.png"
dlazy banana2 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --dry-run
dlazy banana2 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --no-wait
dlazy banana2 --prompt "Write your prompt here" --images "https://example.com/reference1.jpg" "https://example.com/reference2.jpg" --batch 4Compose with a pipeline
dlazy gpt-image-2 --prompt "reference visual" \
| dlazy banana2 --images - --prompt "Write your prompt here"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__banana2; generic clients (e.g. OpenClaw) call it as banana2.
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.
banana-pro
High-quality text-to-image model (optional 1 reference image). Good for detailed key visuals, product shots, and brand-style imagery.
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.