Skip to main content
Glama

x402_llmmedia_post_v1_media_provider_model

Generate or edit images, create audio or music, and produce video via per-model OpenRouter media endpoints with live cost-margin protection and synced pricing.

Instructions

llmmedia — Per-model media endpoints via OpenRouter — image generation/editing, audio (incl. Lyria music), and video (Gemini Omni). Auto-synced every 6h; priced 3x estimated worst-case cost ($0.02-$5.00 cap). Free upstream audio models $0.02 with rate-limit disclaimer. Live margin guard. [POST /v1/media/{provider}{model}] $0.02-0.15 USDC on eip155:8453. Example: /v1/media/google~gemini-2.5-flash-image — body: {prompt: "..."}

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

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

Score is being calculated.

Deploy Server

Other Tools