Generate & edit images with OpenAI GPT-Image-1 and share via Telegram
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when someone submits an n8n form (“GPT image to image”). Along the way it connects Google Drive and Telegram. It also calls api.openai.com and api.imgbb.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“GPT image to image”).
- Switch: routes items into 2 branches
- Edit Image (OpenAI) (HTTP Request): calls api.openai.com (POST)
- Get Input Image by URL (HTTP Request): calls an HTTP API
- Image Generation (HTTP Request): calls api.openai.com (POST)
- Convert json binary to File final (Convert to File): converts data to a file (to binary)
- Convert json binary to File (Convert to File): converts data to a file (to binary)
- Upload Result Image to Google Drive (Google Drive): uses Google Drive
- SETUP API KEY (Edit Fields (Set)): sets 1 field: IMGBB_API_KEY
- Set Access Permissions (Google Drive): share
- Upload Result Image to imgbb (HTTP Request): calls api.imgbb.com (POST)
…plus 3 more steps. See the full node list below.
Services it uses
Other Telegram + OpenAI templates (807) · Other OpenAI + Google Drive templates (628) · Other Telegram + Google Drive templates (162)
HTTP calls to: api.openai.com, api.imgbb.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Google Drive
n8n-nodes-base.googleDrive - HTTP Request
n8n-nodes-base.httpRequest - Convert to File
n8n-nodes-base.convertToFile - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Switch
n8n-nodes-base.switch
From the author
AI Image Generator & Editor with GPT-4 Vision - Complete Workflow Template Description Transform text prompts into stunning images or edit existing visuals using OpenAI's latest GPT-4 Vision model through an intuitive web form interface. This comprehensive…