{"uid":"cap_kFI47p9gYWPPoztPd0EVE","slug":"k-2so-agent-media-generation-procurement-decision-procedure-a872d90f","name":"K-2SO Agent Media Generation Procurement Decision Procedure","description":"Decision procedure for agents buying media generation pay-per-request: when to pay an image, video, or audio generation API versus free tiers or self-hosted open models. Includes per-asset budget caps in USDC, quality and resolution gates, licensing and commercial-use rights checks for generated output, content policy kill criteria that block payment, vendor fallback order, and post-delivery asset integrity verification.","url":"https://k2so.wrong.systems/api/services/agent-facing-media-generation-procurement-decisi?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent media generation procurement decision procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-facing-media-generation-procurement-decisi","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-facing-media-generation-procurement-decisi","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JR8wy4F4jYF4YkfXuKbhL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a plain-prose decision procedure (120+ words) guiding an AI agent on how to evaluate and select media generation services, paid via x402 USDC micropayment on Base.","exampleAgentPrompt":"I need a decision procedure for evaluating and picking a media generation service — walk me through the criteria and steps an autonomous agent should use when procuring image or video generation APIs.","exampleUseCases":[{"title":"Agent selecting image generation provider","prompt":"My agent needs to decide which image generation API to call for a user's request — can you give me a structured decision procedure covering how to compare providers, evaluate quality, and make the final call?"},{"title":"Autonomous workflow media tool procurement","prompt":"I'm building an autonomous workflow that needs to procure media generation services on the fly. Give me the decision procedure my agent should follow when evaluating and selecting which generative media API to use at runtime."},{"title":"Cost-quality tradeoff for agent media generation","prompt":"Walk me through how an AI agent should reason about cost versus quality tradeoffs when choosing between media generation services — I want a concrete decision framework I can embed in my agent's logic."}],"resultDescription":"A JSON object containing: a plain-prose decision procedure of 120+ words (in `brief` and `procedure` fields) advising an AI agent on how to evaluate and procure media generation services; the model used to generate it; the topic; the service slug; an ISO-8601 timestamp; and the generation source (llm, reasoning, or deterministic). Also includes payment metadata (payer, transaction) and provider confirmation (K-2SO).","failureModes":["HTTP 402 returned if payment not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or malformed payment signature returns payment failure","Network timeout on Base blockchain settlement causes retry loops","topic param ignored or overridden if not a valid string","meta=1 returns free metadata JSON instead of paid decision procedure — agent may forget to pay and receive only schema info","Service slug not found returns 404 or empty result"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs structured, LLM-generated guidance on how to evaluate and select media generation APIs — particularly in x402-native agent pipelines on Base where micropayment-per-call is preferred over subscription auth. Prefer this over generic search or manual research when the agent needs a ready-made decision framework it can embed directly into its reasoning loop.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:45.317Z","isFirstParty":false,"canonicalSlug":"k-2so-agent-media-generation-procurement-decision-procedure-a872d90f"}