Convert Image Files (JPG, PNG) to URLs and Reduce File Size for FREE
n8n template #2513Summary
Use templateUse 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
How to set it up
- Open template #2513 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create a credential under Credentials → Add credential: OpenAI. Then open each of those nodes and pick the credential.
- Check the model in the OpenAI node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Convert Image Files (JPG, PNG) to URLs and Reduce File Size for FREE" (https://n8n.io/workflows/2513). It uses: HTTP Request, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. simonscrapes published it free on n8n.io as a verified creator, and it has 8,805 views. It runs on n8n Cloud or a self-hosted n8n instance.
OpenAI. The other 1 node are built into n8n.
Similar workflows
NameViews
- ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- Generate AI Videos with Google Veo3, Save to Google Drive and Upload to YouTube156K
- AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
- Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
- OpenAI GPT-3: Company Enrichment from website content72K
- Generate Instagram Content from Top Trends with AI Image Generation72K
- AI-Powered WhatsApp Chatbot 🤖📲 for Text, Voice, Images & PDFs with memory 🧠71K