imgbb

n8n community node for uploading images to imgbb (URL, Base64, or Binary).

Package Information

Released: 12 mo ago
Downloads: 8 weekly / 13 monthly
Latest Version: 1.0.0
Author: Your Name

Documentation

n8n-nodes-imgbb

An n8n community node to upload images to imgbb from:

  • Binary data (from n8n)
  • URL
  • Base64 string

Install

npm i n8n-nodes-imgbb
# or
npm pack && n8n install <generated .tgz>

Credentials

Create IMGBB API credentials with your API key from https://api.imgbb.com/.

Usage

  1. Add IMGBB node → Operation: Upload.

  2. Choose Input Mode:

    • Binary: set Binary Property (default data).
    • URL: provide the image URL.
    • Base64: paste raw base64 (no data URL prefix).
  3. Optional: Name, Expiration (seconds).

Outputs the raw imgbb JSON response.

API

  • Base URL: https://api.imgbb.com/1/upload
  • Method: POST
  • Auth: API key via query parameter key=<API_KEY>
  • Form fields:
    • image (required): URL string, Base64 string (raw), or Binary file (image field)
    • name (optional): filename label
    • expiration (optional): seconds (TTL)
  • Response: JSON like { success, data: { id, url, display_url, delete_url, size, time, ... } }

Example (curl)

URL mode:

curl -X POST "https://api.imgbb.com/1/upload?key=$IMGBB_KEY" \
  -F "image=https://example.com/pic.jpg"

Base64 mode:

curl -X POST "https://api.imgbb.com/1/upload?key=$IMGBB_KEY" \
  -F "image=$(cat image.b64)"

Binary mode:

curl -X POST "https://api.imgbb.com/1/upload?key=$IMGBB_KEY" \
  -F "image=@./local-file.jpg"

Notes

  • Expressions are supported for all string fields.
  • Automatically strips data:*;base64, if pasted in Base64.
  • Clear error messages with item index.

Discussion