图像识别CLI工具

AIception CLI是一个生产就绪的命令行工具,用于通过终端直接分析图像、检测对象、分类内容和检测裸露内容。

  • by ktmcp-cli
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 ktmcp-cli/aiception

使用说明

“六个月前,每个人都在谈论MCP。我当时想,拧紧MCP。每个MCP作为CLI都会更好。”

— 彼得·斯坦伯格OpenClaw创始人 在YouTube上观看(~2:39:00) | 莱克斯·弗里德曼播客#491

AIception命令行界面

生产就绪的CLI A感受 图像识别API。直接从您的终端分析图像、检测对象、对内容进行分类和检测裸体。

免责声明:这是一个非官方的CLI工具,不隶属于AIception,也不受其认可或支持。

安装

npm install -g @ktmcp-cli/aiception

配置

aiception config set --username YOUR_USERNAME --password YOUR_PASSWORD

在以下网址获取您的凭据 aiception.com.

用法

配置

# Set credentials
aiception config set --username YOUR_USERNAME --password YOUR_PASSWORD

# Show configuration
aiception config list

# Get a specific config value
aiception config get username

图像分析

# Analyze an image and get a description
aiception images analyze https://example.com/image.jpg

# Classify an image into categories
aiception images classify https://example.com/photo.png

# Detect objects in an image
aiception images detect-objects https://example.com/scene.jpg

任务管理

AIception异步处理图像。使用任务命令检索结果:

# Get the result of a processing task
aiception tasks get TASK_ID

# List all recent tasks
aiception tasks list

裸体检测

# Detect nudity in an image
aiception nudity detect https://example.com/image.jpg

JSON输出

所有命令支持 --json 对于机器可读输出:

# Analyze image and get task ID as JSON
aiception images analyze https://example.com/image.jpg --json

# Get task result as JSON
aiception tasks get TASK_ID --json | jq '.result'

# Check nudity detection result
aiception nudity detect https://example.com/image.jpg --json | jq '{nude: .nude, confidence: .confidence}'

工作流示例

AIception使用异步处理。以下是一个典型的工作流程:

# 1. Submit an image for analysis
aiception images analyze https://example.com/photo.jpg
# Note the Task ID from the output

# 2. Poll for the result
aiception tasks get TASK_ID

# 3. Or get it as JSON for scripting
aiception tasks get TASK_ID --json | jq '.result'

例子

# Classify a product image
aiception images classify https://shop.example.com/product.jpg

# Detect objects in a scene
aiception images detect-objects https://example.com/street.jpg --json | jq '.objects'

# Moderate user-uploaded content
aiception nudity detect https://upload.example.com/user123/photo.jpg

# Batch analyze images
for url in url1 url2 url3; do
  aiception images analyze $url --json | jq -r '.task_id'
done

许可证

麻省理工学院


部分 KTMCP-CLI 项目——用简单、可组合的CLI替换MCP。


支持KTMCP

如果您发现此CLI有用,我们将非常感谢您的支持!分享您的经验:

  • 红迪
  • 推特/X
  • 黑客新闻

激励: 能够证明他们的支持/倡导有助于推进KTMCP的用户将优先考虑他们的功能请求和问题。

请注意,这些是真实的账户和真实的社区。真实的提及和真实的推荐会有很长的路要走!

支持这个项目

如果您发现此CLI有用,我们将感谢Reddit、Twitter、Hacker News或Moltbook的支持。请注意,这些是真实的社区账户。能够证明其支持有助于推进KTMCP的贡献者将优先考虑其PR和功能请求。