blender-motion-state-inspection
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
Upload images to Feishu/Lark. Returns image_key for use in messages.
Upload images to Feishu/Lark and get the image_key for use in messages.
python3 ./scripts/upload_image.py /path/to/image.jpg
python3 ./scripts/upload_image.py --type message --image-type message https://example.com/image.jpg
python3 ./scripts/upload_image.py --base64 "iVBORw0KGgoAAAANS..."
| Option | Description | Default |
|---|---|---|
| `--type message | avatar` | Image usage type |
| `--image-type message | avatar` | Same as --type |
Returns image_key which can be used in Feishu messages:
{
"code": 0,
"data": {
"image_key": "img_v2_xxx"
}
}
方式1:直接发送图片消息
curl -X POST https://open.feishu.cn/open-apis/im/v1/messages \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"receive_id": "{chat_id}",
"msg_type": "image",
"content": "{\"image_key\":\"{image_key}\"}"
}'
方式2:在富文本中嵌入图片
curl -X POST https://open.feishu.cn/open-apis/im/v1/messages \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{
"receive_id": "{chat_id}",
"msg_type": "post",
"content": "{\"post\":{\"zh_cn\":{\"title\":\"图片消息\",\"content\":[[{\"tag\":\"img\",\"image_key\":\"{image_key}\"}]]}}}"
}'
curl -X GET https://open.feishu.cn/open-apis/im/v1/chats \
-H "Authorization: Bearer {access_token}"
image_key,有效期通常为7天im:message:send_as_bot 权限AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
ANanthropics/skills203k近 7 天新增 3,265 个 star
HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,608 个 star
SHShubhamsaboo/awesome-llm-apps147k近 7 天新增 907 个 star
GAgarrytan/gstack143k近 7 天新增 598 个 star