Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size
Configured with HTTP Request, Open Ai. Review the connections and setup before adapting this template.
Node categories in this workflow
- Web / API
- Transform
- AI & models
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Upload Img to ImgBB for URL | Web / API | HTTP Request | POST |
| ReSmush.it Image Optimisation | Web / API | HTTP Request | See node parameters |
| Store Optimised Image ImgBB | Web / API | HTTP Request | POST |
| Set image description | Transform | Edit Fields | See node parameters |
| Generate Image | AI & models | Open Ai | image |
| No Operation, do nothing | Routing | No Op | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
openAiApi
Workflow notes
Sticky Note50
Image Prompt
Prompt takes input of image description from the set image description node and generates using OpenAI
Sticky Note51
Upload image to ImgBB, Optimise using ReSmush.it and store as URL
Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size
Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size
Use Case
Transform and optimize images for web use:
- You need to host local images online
- You want to reduce image file sizes automatically
- You need image URLs for web content
- You want to generate and optimize AI-created images
What this Workflow Does
The workflow processes images through two services:
- Uploads images to ImgBB for hosting and URL generation (free but need API key)
- Optimizes images using ReSmush.it to reduce file size (free)
- Optional: Creates images using OpenAI's image generation
- Returns optimized image URLs ready for use
Setup
- Create an ImgBB account and get your API key
- Add your ImgBB API key to the HTTP Request node (key parameter)
- Optional: Configure OpenAI credentials for image generation
- Connect your image input source
How to Adjust it to Your Needs
- Skip OpenAI nodes if using your own image files
- Adjust image optimization parameters
- Customize image hosting settings
- Modify output format for your needs
Made by Simon @ automake.io
Sticky Note53
REQUIRED
ImgBB - image hosting i.e. gives you an img url
- Create an ImgBB account (free) and generate an api key
- Input the API key as Query Auth -
name=key,value=your-own-api-key
ReSmush.it - image optimisation i.e. shrinks the file size of the image
- No account or auth needed
- Url will pass from previous node
Sticky Note54
OPTIONAL
Set image description to create an Image using OpenAI and your own prompt (requires: API credentials) or alternatively replace these nodes with your own image file
Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size
Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size
Purpose and structure
This folder contains the Convert Image Files (JPG, PNG, JPEG) to URLs and Reduce File Size workflow. Its executable nodes use httpRequest, noOp, openAi, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Inspect connections; no recognized trigger.
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Http/0622_HTTP_Stickynote_Create_Webhook.json MIT; preserve source notices.