Skip to content

CLIP 图文编码服务

CLIP 服务用于文本与图像的统一向量编码,适合跨模态检索、图文匹配和相似度计算。

服务信息

  • 服务地址:
  • 健康检查地址:
  • 镜像:registry.lazycat.cloud/x/videorag/clip:e5202e3

单独部署使用

  1. 将下面内容保存到一个 docker-compose.yml 文件中
yml
services:
  clip:
    image: registry.lazycat.cloud/x/videorag/clip:e5202e3
    ports:
      - 3000:3000
    environment:
      - AUTO_UNLOAD_INTERVAL=300
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
      interval: 30s
      timeout: 30s
      retries: 30
      start_period: 30s
  1. 在当前目录运行 docker-compose up -d 启动
  2. 启动后先访问 http://127.0.0.1:3000/health 确认服务健康