Connect the image tool

Give your agent UI image generation.

Choose the interface your agent can call. Every option accepts the same UI brief and returns one generated image. Install or discover the tool for free, then authenticate when the agent generates.

Paste this into your agentCodex / Claude Code / Gemini CLI / MCP agents
Install Nib for me. Follow https://nibtool.com/install-agent.md exactly. Configure it globally for this agent, install the Nib UI image skill globally, add the managed Nib instruction to this agent's global instruction file, preserve my existing settings, and verify that the generate_ui tool is available without generating an image.
Review installation steps

Authenticate on the first image

Enter your email once. Nib emails a one-time link and stores a revocable account session in the browser or system Keychain.

nib auth login you@example.com
nib auth status

CLI

nib generate "A compact dark analytics dashboard for a fleet operator" \
  --quality fast --resolution 1K --aspect 16:9 \
  --image-format png --output dashboard.png

MCP

For local stdio MCP, sign in with the Nib CLI and run nib --mcp. A Streamable HTTP client connects to https://nibtool.com/mcp for installation and tool discovery. The server exposes exactly one tool: generate_ui.

{
  "prompt": "A calm account settings screen",
  "references": [],
  "quality": "fast",
  "aspect": "16:9",
  "resolution": "1K",
  "format": "png",
  "background": false
}

Agent discovery

The OpenAPI document and installable skill are public. Authentication is required only when the agent calls the generation tool.

https://nibtool.com/openapi.json
https://nibtool.com/.well-known/skills/generate/SKILL.md

References

Pass up to three PNG, JPEG, or WebP files with repeated --ref options. Nib deletes temporary references after the generation attempt.