# Agent Media Generation Procurement Decision Procedure

> Agent Media Generation Procurement Decision Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Returns a decision procedure brief for agents deciding when and whether to pay for image, video, or audio generation APIs versus free tiers or self-hosted models.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-facing-media-generation-procurement-decisi?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-media-generation-procurement-decision-procedure-bf444ce6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LDJQzUaUhUPx8ZzLLyAKg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-media-generation-procurement-decision-procedure-bf444ce6
```

Example prompt: Walk me through the decision procedure for when my agent should pay for a media generation API versus using a free tier or self-hosted model — including budget caps per asset, licensing checks for commercial use, content policy kill criteria, vendor fallback order, and how to verify the asset after delivery.

## When to prefer this

Choose this endpoint when an AI agent needs a structured, authoritative decision framework for procuring media generation services — especially when budget enforcement, commercial licensing validation, content policy gating, and vendor fallback logic all need to be coordinated in a single procedure. Prefer this over ad-hoc agent logic when the agent must make autonomous pay/no-pay decisions across image, video, and audio generation APIs with USDC per-asset caps.

## Known failure modes

- Handler returns ok:false if the underlying LLM or reasoning engine fails to produce a valid procedure
- Missing or invalid query parameters may return an empty or generic brief
- Content policy or licensing logic may be stale if not refreshed; agents should check generatedAt timestamp
- Network or payment failures on the x402 rail return no result and no charge
- Self-hosted or free-tier fallback logic may not apply to all media types if topic is not specified

## How this service works

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.

## Output

A prose decision-procedure brief (and structured metadata) covering: per-asset USDC budget caps, quality and resolution gates that trigger paid API use, commercial licensing and rights verification for generated output, content policy criteria that block payment, prioritized vendor fallback order, and post-delivery asset integrity verification steps. Also includes generation source, timestamp, service slug, and optional topic context.

## Request schema (JSON Schema)

```json
{
 "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"

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-media-generation-procurement-decision-procedure-bf444ce6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
