{
  "format": "delx/intent-card/v1",
  "id": "image-caption-api",
  "intent": "caption a still image for alt text",
  "title": "Image caption API for agents",
  "description": "Caption one bounded PNG, JPEG, or WebP for $0.005 with one-sentence text and a SHA-256 delivery receipt.",
  "keywords": [
    "image caption API",
    "alt text API",
    "product image description",
    "x402 vision"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/image-caption-api",
  "machine_url": "https://commerce.delx.ai/intents/image-caption-api.json",
  "recommendation": {
    "tool_name": "caption_image",
    "service_name": "Image Caption for Agents",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/caption-image",
    "price_usdc": "0.005",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "image_base64": {
          "type": "string",
          "minLength": 1,
          "maxLength": 349550,
          "description": "One base64-encoded PNG, JPEG, or WebP up to 256 KiB decoded. URLs and model fields are rejected."
        }
      },
      "required": [
        "image_base64"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "image_base64": "\u003cbase64 PNG/JPEG/WebP up to 256 KiB decoded>"
    },
    "example_output": {
      "text": "a blue rectangle",
      "sale_price_usdc": 0.005
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/caption-image -m POST -H 'x-delx-source: intent-card-image-caption-api' --max-amount 0.005 -b '{\"image_base64\":\"\u003cbase64 PNG/JPEG/WebP up to 256 KiB decoded>\"}'",
      "max_amount_usdc": "0.005"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-image-caption-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/caption-image"
  }
}
