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
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST/PUT/PATCH/DELETE | |
| query | No | Query parameters, e.g. {base:'USD', quote:'EUR'} | |
| restart | No | Explicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete. | |
| operationId | No | Durable 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. |