@markofilipovic/n8n-nodes-imgbb
v1.0.0
Published
n8n community node for uploading images to imgbb (URL, Base64, or Binary).
Maintainers
Readme
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
Add IMGBB node → Operation: Upload.
Choose Input Mode:
- Binary: set Binary Property (default
data). - URL: provide the image URL.
- Base64: paste raw base64 (no data URL prefix).
- Binary: set Binary Property (default
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 (imagefield)name(optional): filename labelexpiration(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.
