AI图片鉴定
AI图片鉴定 — 一键检测图片是否由AI生成,返回专业鉴定报告,含置信度、AI概率、详细指标和评分
接口地址
GET, POST https://api.tinyaii.cn/v1/image/detect
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
url | string | 是 | 图片URL地址 |
lang | string | 否 | 回答语言,zh=中文(默认),en=英文 |
返回字段
| 字段名 | 类型 | 说明 |
|---|---|---|
verdict | string | 鉴定结论:AI生成/疑似AI生成/真人创作/疑似真人创作 |
confidence | number | 置信度(0-100%) |
ai_probability | number | AI生成概率(0-100%) |
analysis | string | 详细分析说明 |
indicators | array | 鉴定指标列表,每项含name/severity/description |
detected_issues | object | 检测项目:anomaly/artifact/lighting/color/composition/text |
style_score | number | 风格评分(0-10) |
technical_score | number | 技术评分(0-10) |
creativity_score | number | 创意评分(0-10) |
返回示例
{
"code": 200,
"message": "success",
"data": {
"image_url": "https://example.com/image.jpg",
"result": {
"verdict": "疑似AI生成",
"confidence": 88,
"ai_probability": 85,
"analysis": "图像呈现出高度风格化的设计,线条锐利、颜色分区明确,缺乏手绘痕迹,倾向于AI生成。",
"indicators": [
{
"name": "线条平滑度",
"severity": "高",
"description": "所有轮廓线均为均匀矢量路径,无模糊现象"
},
{
"name": "颜色一致性",
"severity": "中",
"description": "颜色分布均匀,无色阶或色彩漂移"
},
{
"name": "结构对称性",
"severity": "低",
"description": "构图平衡,细节不对称符合艺术设计"
}
],
"detected_issues": {
"anomaly": "无",
"artifact": "无",
"lighting": "无",
"color": "无",
"composition": "无",
"text": "无"
},
"style_score": 8,
"technical_score": 9,
"creativity_score": 7
}
}
}
调用示例
curl "https://api.tinyaii.cn/v1/image/detect?apikey=YOUR_KEY&url=https://picsum.photos/400/300&lang=zh"
相关接口(AI 能力)
- AI识图 — 上传一张图片,AI将为你详细描述图片中的场景、人物、动作、物体、颜色、文字等内容
- 文档重排序 — 根据查询文本对一组文档按相关性重新排序,适用于RAG检索中的候选文档排序,优化检
- 图片提示词反推 — 根据图片反推AI绘画提示词,支持Flux、Stable Diffusion、Mi
- 文本向量化 —
- AI文本违规检测 —
- AI菜品识别 —
本站收录 353 个可免费调用的 API 接口,查看完整开发文档 或
注册获取 API Key。