Skip to main content
Glama

x402_llmimage_post_v1_image_ultra

Generate AI images from text prompts through a pay-per-call OpenRouter endpoint, returning generated images inline without requiring an API key.

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-ultra] $0.05-0.40 USDC on eip155:8453. Example: {"prompt":"..."} — $0.40

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_ultra"
  }
}

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

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does disclose the most consequential facts: the call is paid ($0.05-0.40 USDC on eip155:8453), no API key is required, and images are returned inline. Gaps remain around what happens on failure (is the caller charged?), whether the price varies by model or resolution, and any rate limits, which matter a lot for a paid tool.

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?

A single dense block that front-loads the purpose before the transport, pricing and example details, with essentially no filler. The trailing '— $0.40' slightly duplicates the earlier $0.05-0.40 range and reads as an artifact worth trimming.

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

Completeness4/5

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

For a paid, unannotated tool with no output schema and a free-form body, the definition covers cost, payment chain, auth, return shape and a body example, which is most of what an agent needs. The one lingering ambiguity is that two model families are named but the schema exposes no way to select between them, so the agent cannot tell whether the choice is server-side or via a body field.

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 the documented restart and operationId parameters set a baseline of 3. The description earns above that by supplying a concrete body example ({"prompt":"..."}), which is genuinely necessary because the body property is a free-form object with no declared fields.

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 names a specific verb and resource (AI image generation via OpenRouter, with Gemini and GPT-5 image models named) and gives the concrete endpoint POST /v1/image-ultra, so an agent knows exactly what the tool does. It does not, however, explain how 'ultra' differs from the sibling x402_llmimage_post_v1_image and _image_pro endpoints, leaving model/tier selection to inference.

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

Usage Guidelines2/5

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

There is no statement of when to choose this endpoint over its near-identical siblings (image, image_pro), which is the main selection problem here. The pricing line implies a premium tier and 'no API key needed' hints at the payment flow, but neither constitutes an explicit use-when condition.

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