feishu-upload-image

Upload local, URL, or base64 images to Feishu and Lark, returning image_key values.

5|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/tiancaiamao/ai --skill feishu-upload-image-tiancaiamao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-upload-image
Source: https://github.com/tiancaiamao/ai/tree/main/skills/feishu-upload-image
Command: npx skills add https://github.com/tiancaiamao/ai --skill feishu-upload-image-tiancaiamao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

This Skill removes the manual work of turning images into Feishu/Lark message-ready image keys, making it easier to publish images from tools, scripts, or assistant workflows.

Core Features & Use Cases

  • Local, URL, and Base64 Uploads: Handle images from disk, a web address, or encoded text in one workflow.
  • Credential Discovery: Reads Feishu app credentials from the goclaw config file and falls back to environment variables when needed.
  • Messaging Support: Produces image keys for chat messages and avatar uploads, then outputs either a plain key or JSON for downstream automation.
  • Use Case: A teammate needs to share a screenshot in a group chat, so the Skill uploads the file and returns the image key ready for a Feishu image message.

Quick Start

Ask the Skill to upload the provided image and return the Feishu image key.

Frequently Asked Questions about feishu-upload-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload images to Feishu and get an image key for chat messages?

To upload images to Feishu and get an image key, you provide local files, remote URLs, or base64 inputs. The Skill validates the 10 MB size limit, retrieves an access token, and returns a reusable image key for chat messages or avatars.

What do I need to automate image uploads to Lark using Python?

To automate image uploads to Lark using Python, you need valid Feishu app credentials and the requests dependency. The Skill reads credentials from a goclaw config file or falls back to environment variables to authenticate and process the upload.

Can I use base64 or remote URLs to upload images to Feishu?

Yes, you can use base64 strings or remote URLs to upload images to Feishu. The Skill processes local files, web addresses, and encoded text in one workflow, returning a plain image key or JSON output for downstream automation.

Does Feishu image upload support outputting JSON for downstream automation?

Feishu image upload supports outputting JSON for downstream automation. After uploading the image and retrieving the image key, the Skill can return either a plain key or JSON format to integrate with bot-driven publishing tasks.

What are the size limitations when uploading images to Lark?

The size limitation when uploading images to Lark is a 10 MB maximum file size. The Skill performs 10 MB size validation before uploading local files, remote URLs, or base64 inputs to ensure they meet this constraint.