ImgBB API Skill for Openclaw

A powerful utility for programmatically uploading images to ImgBB and retrieving shareable direct links.

kexu9
v1.1.2
Mar 4, 2026
1
893
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install imgbb-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install imgbb-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ImgBB API Skill?

The ImgBB API skill provides a streamlined way to handle image hosting directly from your development environment. By integrating this tool into your Openclaw Skills collection, you can transform local image files, remote URLs, or base64 data into public, shareable links instantly. It simplifies the process of converting assets for web use, documentation, or social sharing without the need to visit the web interface manually.

This tool is designed to be highly versatile, supporting everything from single file uploads to large-scale batch processing. By utilizing the ImgBB API through Openclaw Skills, developers can automate the transition of visual assets from a local machine to a globally accessible hosting provider with minimal friction.

ImgBB API Skill Use Cases

  • Converting local screenshots into shareable direct links for technical documentation or bug reports.
  • Bulk uploading entire folders of images for web gallery preparation and digital asset management.
  • Automating image hosting from remote URLs to ensure consistent asset availability across platforms.
  • Setting temporary image storage with custom expiration times for secure, short-term sharing.
  • Integrating image hosting capabilities into larger Openclaw Skills automation pipelines.

How ImgBB API Skill Works

  1. The skill first verifies the presence of a valid IMGBB_API_KEY in the environment or configuration files.
  2. The user specifies the source material, which can be a local image path, a remote URL, or a directory for batch processing.
  3. The tool prepares the payload and communicates with the ImgBB REST API to execute the upload.
  4. Upon success, the skill returns a shareable URL or full JSON metadata to the user or the next stage of the Openclaw Skills workflow.

ImgBB API Skill Setup

To start using this skill within your Openclaw Skills environment, follow these steps:

# Set your API key as an environment variable
export IMGBB_API_KEY="your_api_key_here"

# Or save it to a configuration file for persistence
echo "your_api_key" > ~/.imgbb_api_key

# Ensure you have the necessary Python dependencies installed
pip install requests

To obtain an API key, visit https://api.imgbb.com/ and click on Get API Key.

ImgBB API Skill Data Schema & Taxonomy

The skill processes image data and returns structured metadata. Below is the mapping of common flags and their functions:

Flag Description Input Type
image The relative or absolute path to the local image file Path
--url A remote web URL for the image to be uploaded String
--name An optional custom name for the uploaded image file String
--expiration Time in seconds before the image is automatically deleted Integer
--json Forces the output to return the raw JSON response from the API Flag
--batch Indicates a folder path for recursive or multiple file uploads Path

ImgBB API Skill Advanced Features

  • Automated batch uploading allows you to process entire directories in a single command, perfect for Openclaw Skills users managing large asset libraries.
  • Flexible API key management ensures you can switch between accounts or keys using environment variables or command-line flags.
  • Custom expiration timers provide control over the data lifecycle, making it ideal for temporary asset hosting.
  • JSON output mode enables seamless programmatic integration with other scripts and Openclaw Skills tools.
  • Support for multiple image formats including JPG, PNG, GIF, and WEBP with a maximum file size of 32MB.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*