This template integrates OpenAI's image generation and editing endpoints via the GPT-Image-1 model to visually create and manipulate images based on prompts. It features base64 conversion, binary handling, and prompt chaining. Perfect for marketing, design, product visuals and creative workflows. 🛠️ Requirements OpenAI account with access to gpt-image-1(probably you need organizations verifications for access to that model) OpenAI API credentials configured in n8n A self-hosted or cloud n8n instance Basic familiarity with the n8n UI (no programming required) 🔧 Step-by-step Instructions Step 1: Manual Trigger Starts the workflow on click. Ideal for testing the generation and edit logic. Step 2: Generate Image The Create image call node sends a prompt to OpenAI and returns a base64 image. Example prompt: A cyberpunk city at night with flying cars and neon lights Step 3: Convert to Binary The base64 image is converted into a usable binary PNG file with the Convert json binary to File node. Step 4: Edit the Image The binary file is passed to OpenAI’s /images/edits endpoint. A new prompt applies changes to the image.
Tags
Related workflows
See all General Automation→Tiny tiny Rss (aka tt-rss) Feed to Mastodon
Every 10 minutes look at your published news in your Tiny tiny RSS public feed and make a toot on your mastodon. You'll need: Your mastondon URL instance Your mastondon access token Your Tiny Tiny RSS public published feed URL
Generate AI Images & Videos with KIE.AI Midjourney API
Generate AI Images & Videos with KIE.AI Midjourney API Overview Generate high-quality AI images and videos using KIE.AI's Midjourney API through an intuitive form interface. This n8n workflow supports three distinct content creation modes, delivering professional results with automated processing and real-time progress monitoring. Supported Modes: Text-to-Image** (mj_txt2img): Generate original images from written descriptions Image-to-Image** (mj_img2img): Transform or enhance existing images with AI Image-to-Video** (mj_video): Animate still images into short video clips Users interact only through a simple form interface, requiring no coding skills. After submitting a request, the system automatically calls the KIE.AI API, monitors progress in real-time, and retrieves the final output once ready. Perfect for Content creators, designers, marketers, and developers who need to quickly generate diverse AI visual content with automated processing and professional quality results. Prerequisites KIE.AI Account**: Sign up at KIE.AI to obtain your free or paid API key. n8n Instance**: Active n8n instance (cloud or self-hosted) with HTTP Request and form submission capabilities. AI Prompt
Automated Recipe Finder with an API - n8n API Tutorial Material
Video Introduction Want to automate your inbox or need a custom workflow? 📞 Book a Call | 💬 DM me on Linkedin Workflow Overview This workflow creates a recipe finder web application that connects to the API Ninjas Recipe API using n8n's HTTP Request node. Users submit search queries through a public web form, which triggers an API call to fetch matching recipes. The results—including recipe title, ingredients, and cooking instructions—are displayed in a formatted completion page. Why This Workflow Is Valuable This template demonstrates API-to-API integration, a crucial skill for connecting services that don't have pre-built n8n nodes. By using direct API calls, you gain access to the full functionality of external services. This pattern can be adapted to integrate virtually any tool with an API into your n8n workflows. Common Use Cases Create public-facing forms that query external databases Build custom search tools for specialized APIs Integrate niche services without dedicated n8n nodes Learn header authentication for secure API connections Setup & Configuration Register for API Ninjas: Sign up at API Ninjas to access their Recipe API Get your API Key: Locate your API key in t