Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Image, Video & Audio

Image, Video & Audio

Manualtrigger Workflow

When you run it, it creates or processes media.

What it does

## 🧠 Image AI Workflow Overview This workflow uses OpenAI's image generation and editing APIs with the gpt-image-1 model. ### 🔑 Requirements: - You must use your own OpenAI API key from {{ $env.API_BASE_URL }} - Create a credential in n8n called OpenAi AIFB account (or use your own name) --- ### 💰 Cost Warning: - This model is powerful but expensive. - Each image costs $0.020 to $0.190 depending on resolution and type. - Always monitor your usage via the OpenAI dashboard - Telegram / Slack (prompt image generation from chat) - Set node (inject dynamic prompts or user context) - IF / Switch (change behavior depending on prompt type) - Merge (combine multiple image generations) - HTTP Request (send generated images to external APIs or CMS) --- ### 💡 Example Use Cases: - Marketing teams: generate product visuals on demand - Designers: edit and re-style illustrations without Photoshop - E-commerce: dynamic generation of themed mockups - Content creators: create blog and social thumbnails in bulk --- > ⚠️ Don't forget to add rate limiting or batch controls if generating large volumes!

The steps

  1. When clicking ‘Test workflow’
  2. Edit Image (OpenAI)
  3. Create image call
  4. Convert json binary to File
  5. Convert json binary to File final

Similar automations