Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки