跳到正文
TakoAPI
返回技能列表

image-hosting

由 rahulgi 提供

Image & Video Generation
1.4k下载量由 clawskills.sh 提供
4星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Upload images to img402.dev and get a public URL.

描述

该技能的功能

Uploads an image file to img402.dev and returns a public CDN URL. The free tier supports files up to 1MB with 7-day retention and requires no account or API key. A paid tier extends retention to one year with a 5MB limit, using x402 micropayment.

No account, API key, or configuration is needed for the free tier, so an agent can host an image immediately without any setup step.

何时使用

  • Sharing a screenshot in a Slack or chat message
  • Embedding a generated chart image in a document
  • Getting a public URL for an image payload in an API request
  • Posting an agent-generated image to a social platform
  • Attaching a visual to a bug report or support ticket

示例工作流

输入

User asks: Upload this screenshot and give me a public link

智能体
  1. 1

    Check the image file size to confirm it is under 1MB

  2. 2

    Resize the image using sips or ImageMagick if it exceeds the limit

  3. 3

    Send a multipart POST request to https://img402.dev/api/free with the image file

  4. 4

    Parse the JSON response and extract the url field

输出

A public CDN URL (e.g. https://i.img402.dev/aBcDeFgHiJ.png) valid for 7 days

安装

clawhub install rahulgi/image-hosting

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接