Skip to main content
Glama

x402_llmimage_post_v1_image_pro

Generate AI images from text prompts via OpenRouter image models with pay-per-call USDC settlement; images return inline and no API key is required.

Instructions

llmimage — Pay-per-call AI image generation via OpenRouter (Gemini, GPT-5 image models). Returns generated images inline. No API key needed. [POST /v1/image-pro] $0.05-0.40 USDC on eip155:8453. Example: {"prompt":"..."} — $0.15

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_llmimage_post_v1_image_pro"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It does disclose useful behavior: results come back inline, no API key is required, and payment is USDC on eip155:8453 in a stated price band. It omits the x402 payment handshake, whether the charge happens before or after failure, and latency/retry behavior, which matter for a paid call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is dense and front-loaded with the core purpose, endpoint, and payment facts, with an inline example. The price appears twice ($0.05-0.40 range and the $0.15 example) which is slightly redundant, and the terse bracket notation takes a moment to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, so the description must cover both safety profile and returns; 'Returns generated images inline' handles the return shape at a high level. For a paid, paid-per-call mutation with a free-form body, the absence of detail on payment flow, failure/refund behavior, and tier selection leaves meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline would be 3, but the schema's body is an untyped free-form object and the description adds the concrete shape via {"prompt":"..."}, telling the agent what to actually put in the body. It says nothing extra about restart or operationId beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Pay-per-call AI image generation via OpenRouter') plus named models (Gemini, GPT-5 image) and the concrete endpoint POST /v1/image-pro. It does not, however, distinguish this 'pro' variant from its obvious siblings x402_llmimage_post_v1_image and x402_llmimage_post_v1_image_ultra, so an agent cannot tell from the text alone why it would pick this tier.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied through the price range ($0.05-0.40 USDC) and the model list, which hints at a cost/quality tradeoff. There is no explicit statement of when to choose pro over the image or ultra siblings, nor any precondition or exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools