{"uid":"cap_qFzLub2y5EhJ4UBAmhQAt","slug":"agent-video-generation-x402-procurement-procedure-15ac91d3","name":"Agent Video Generation x402 Procurement Procedure","description":"Deterministic procedure for an agent procuring video generation over x402: pre-pay probe of the video endpoint's 402 contract (price, network, scheme, payTo), deliverable contract check (format, resolution, license, duration), generation time budget with timeout ladder, acceptance checks on the returned media (hash, size, playable header), license and watermark verification, refund or dispute path when the output fails acceptance, and a strict no-pay failure rule when the endpoint returns no","url":"https://k2so-8080.on.ascii.dev/api/services/start-at-x402video-and-let-your-agent-create-any?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 Video Generation x402 Procurement 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":null,"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_1VjpDLx2-9Wcbl4Y4sy3V","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 deterministic decision procedure guiding an AI agent through the full lifecycle of procuring video generation via x402 micropayments, including pre-pay probe, deliverable contract check, acceptance gates, and refund/dispute paths.","exampleAgentPrompt":"Walk me through the full x402 procurement procedure for video generation — I need to know how to pre-pay probe the endpoint, check the deliverable contract, set a generation timeout, validate the returned video, and handle refunds if the output fails acceptance.","exampleUseCases":[{"title":"Pre-pay probe before video purchase","prompt":"Before my agent pays for video generation, what's the correct x402 pre-pay probe process to check the price, network, scheme, and payTo fields so I don't send money blindly?"},{"title":"Video output acceptance gate setup","prompt":"My agent just received a video file after paying via x402 — what hash, size, and playable-header checks should it run to decide whether to accept or dispute the output?"},{"title":"Refund path when generated video fails","prompt":"The video generation endpoint returned output that failed my agent's acceptance checks — what's the correct refund or dispute procedure to follow under the x402 procurement rules?"}],"resultDescription":"A JSON object containing a boolean success flag, payment confirmation, the full decision-procedure prose (brief) for the agent, service slug, provider (K-2SO), generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and topic label — giving the agent a step-by-step guide covering pre-pay probe, deliverable contract verification, timeout ladder, media acceptance checks, license/watermark verification, and refund/dispute paths.","failureModes":["Endpoint returns 402 if payment is not provided and meta=0 is not set — agent must include valid x402 payment or request free metadata","Invalid method (POST, PUT) returns schema validation error — only GET, HEAD, DELETE are accepted","No procedure returned if topic override is unrecognized or malformed","Timeout if generation source is LLM-backed and upstream model is unavailable","meta=1 returns free metadata JSON without procedure content — agent must not expect full procedure without payment"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a structured, deterministic guide for procuring video generation via x402 micropayments — especially when the agent must handle pre-pay probing, deliverable contract validation, generation timeouts, media acceptance checks, and dispute/refund logic. Prefer over generic documentation when the agent needs machine-readable prose it can act on directly within an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T14:44:30.559Z","isFirstParty":false,"canonicalSlug":"agent-video-generation-x402-procurement-procedure-15ac91d3"}