with one click
face-comparison
对比两张图片中人脸的相似度,返回相似度分数和人脸 token,适用于身份验证、人脸登录等场景
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
对比两张图片中人脸的相似度,返回相似度分数和人脸 token,适用于身份验证、人脸登录等场景
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | face-comparison |
| description | 对比两张图片中人脸的相似度,返回相似度分数和人脸 token,适用于身份验证、人脸登录等场景 |
| license | MIT |
百度人脸识别 1:1 对比接口,通过上传两张包含人脸的图片,计算两张图中人脸的相似度分数。
POST https://app-bo4w33bsdqm9-api-5YrZz81oerkY-gateway.appmiaoda.com/rest/2.0/face/v3/matchINTEGRATIONS_API_KEY)X-Gateway-Authorization: Bearer ${INTEGRATIONS_API_KEY}(注意不是标准的 Authorization)。application/json{
"result": {
"score": 99.896,
"face_list": [
{ "face_token": "8a2fbbdb8ceed302d4e77848c6cf7ad8" },
{ "face_token": "307c8a33b1a4dc1cd78fcfe9954488cd" }
]
},
"log_id": 2178892325,
"error_code": 0,
"error_msg": "SUCCESS"
}
| 平台 | Edge Function 实现 | 前端调用方式 |
|---|---|---|
| Web | 返回 JSON,upstream.json() | supabase.functions.invoke |
| MiniProgram | 返回 JSON,upstream.json() | supabase.functions.invoke |
Web 和 MiniProgram 的实现相同(均为 JSON 响应),可共用同一个 Edge Function。
在生成期直接调用上游 API,无需 Edge Function 中转。
详见 references/face-comparison-api.md — 生成期代码 章节。
应用中通过部署在 Supabase 的 Edge Function 调用,保护 INTEGRATIONS_API_KEY 不暴露到前端。
face-comparison详见 references/face-comparison-api.md — Edge Function 代码 及 前端调用代码 章节。
Generate short videos from a static image using the Kling AI image-to-video API. Use this skill whenever the user wants to animate an image, create a video from a photo, turn a picture into a video clip, or generate AI video from an uploaded image.
基于文本描述生成短视频(5s/10s),适用于电商营销、创意宣传、教育讲解等场景,异步轮询获取结果。
图片生成与编辑(超级版),调用 GPT-Image-2 模型生成和编辑图片。需要 AI 画图、生成图片、编辑图片、多图融合、背景替换、风格转换、电商商品图合成、海报设计、插画创作时优先使用该工具。纯像素操作(文字叠加、加水印、裁剪、缩放)请改用 Pillow,不要触发本工具。
调用百度通用文字识别高精度版 OCR,对图片全部文字内容进行高精度检测识别,支持中英日韩等 20+ 语种,适用于文档数字化、多语言文本提取场景。
根据用户输入的主题自动生成完整 PPT 文件,返回封面图和下载链接;适用于办公汇报、教学课件、产品展示等需要快速生成 PPT 的场景。
识别飞机行程单图片,结构化提取24个字段(乘客、航班、票价、税费等);适用于差旅报销、财务管理、行程记录场景。