{
  "format": "delx/intent-card/v1",
  "id": "photo-colorization-api",
  "intent": "colorize a black and white photo",
  "title": "Photo colorization API for agents",
  "description": "Colorize one opaque grayscale still for $0.01 and receive a bounded PNG plus SHA-256 delivery receipt.",
  "keywords": [
    "photo colorization API",
    "black and white photo color",
    "x402 image editing"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/photo-colorization-api",
  "machine_url": "https://commerce.delx.ai/intents/photo-colorization-api.json",
  "recommendation": {
    "tool_name": "colorize_photo",
    "service_name": "Photo Colorize for Agents",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/colorize-photo",
    "price_usdc": "0.01",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "image_base64": {
          "type": "string",
          "minLength": 1,
          "maxLength": 349550,
          "description": "One opaque base64 PNG, JPEG, or WebP up to 256 KiB. Alpha and model fields are rejected."
        }
      },
      "required": [
        "image_base64"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "image_base64": "\u003copaque base64 PNG/JPEG/WebP>"
    },
    "example_output": {
      "image_url": "https://api.delx.ai/api/v1/generated-colorizations/example.png",
      "sale_price_usdc": 0.01
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/colorize-photo -m POST -H 'x-delx-source: intent-card-photo-colorization-api' --max-amount 0.01 -b '{\"image_base64\":\"\u003copaque base64 PNG/JPEG/WebP>\"}'",
      "max_amount_usdc": "0.01"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-photo-colorization-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/colorize-photo"
  }
}
