{
  "name": "huggingface-inference",
  "title": "HuggingFace Inference API",
  "category": "AI",
  "tags": [
    "ai",
    "curl-jq"
  ],
  "version": "1.0.1",
  "date": "2026-07-17",
  "notes": "Fix inference endpoint: the legacy api-inference.huggingface.co host was retired (no longer resolves). Point at the current router.huggingface.co/hf-inference/models/\u003cmodel\u003e endpoint.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/huggingface-inference/1.0.1.json",
  "entrypoint": "infer",
  "parameters": [
    {
      "name": "input-text",
      "title": "Input text",
      "description": "The input text to run inference on.",
      "type": "string",
      "required": true
    },
    {
      "name": "model",
      "title": "Model",
      "description": "HuggingFace model repo id.",
      "type": "string",
      "required": true,
      "example": "distilbert-base-uncased"
    },
    {
      "name": "token-secret-key",
      "title": "Token secret key",
      "description": "Key within the Secret that holds the access token.",
      "type": "string",
      "required": false,
      "default": "token"
    },
    {
      "name": "token-secret-name",
      "title": "Token secret name",
      "description": "Name of the Kubernetes Secret holding the HuggingFace access token.",
      "type": "string",
      "required": false,
      "default": "huggingface-token"
    }
  ],
  "images": [
    {
      "ref": "badouralix/curl-jq@sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2",
      "repository": "badouralix/curl-jq",
      "digest": "sha256:38362e9b8ef4bd09a88c0db07941e61e0bf0f7240e9f36a3ff2c31ad75546be2"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/huggingface-inference",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
