Catalog/fun-copium

Fun

Copium API

Generates comforting, self-serving cope for a failure while leaving one tiny reality check.

Price$0.01per request
MethodPOST
Route/v1/fun/copium
StatusLive
MIME typeapplication/json
Rate limit40/minute
CacheNo cache
funcomfortfailurecopiumcope
API URLhttps://x402.hexl.dev/v1/fun/copium
Integration docs
Example request
{
  "failure": "The build failed because of linting.",
  "stakes": "medium"
}
Example response
{
  "copium": "This was not a failure. This was the system refusing to participate in a low-vibration timeline where the build failed because of linting.",
  "realityCheck": "Still probably needs fixing.",
  "delusionScore": 78,
  "provider": "local-fallback"
}
Input schema
{
  "type": "object",
  "required": [
    "failure"
  ],
  "properties": {
    "failure": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "examples": [
        "The build failed because of linting."
      ]
    },
    "stakes": {
      "type": "string",
      "examples": [
        "medium"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "copium",
    "realityCheck",
    "delusionScore",
    "provider"
  ],
  "properties": {
    "copium": {
      "type": "string"
    },
    "realityCheck": {
      "type": "string"
    },
    "delusionScore": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "provider": {
      "type": "string"
    }
  }
}