The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "ChatGPT Bridge \u2014 image generation",
"nodes": [
{
"parameters": {},
"id": "trigger",
"name": "When clicking 'Test workflow'",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"method": "POST",
"url": "http://127.0.0.1:10531/v1/images/generations",
"sendBody": true,
"contentType": "json",
"jsonBody": "={\n \"model\": \"gpt-image-2\",\n \"prompt\": \"a tiny dragon perched on a stack of books\",\n \"size\": \"1024x1024\",\n \"quality\": \"high\"\n}",
"options": {
"response": {
"response": {
"responseFormat": "json"
}
}
}
},
"id": "http",
"name": "POST /v1/images/generations",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
480,
300
]
},
{
"parameters": {
"operation": "decode",
"sourceProperty": "data[0].b64_json",
"binaryPropertyName": "data"
},
"id": "decode",
"name": "Base64 \u2192 binary",
"type": "n8n-nodes-base.moveBinaryData",
"typeVersion": 1,
"position": [
720,
300
]
}
],
"connections": {
"When clicking 'Test workflow'": {
"main": [
[
{
"node": "POST /v1/images/generations",
"type": "main",
"index": 0
}
]
]
},
"POST /v1/images/generations": {
"main": [
[
{
"node": "Base64 \u2192 binary",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
ChatGPT Bridge — image generation. Uses httpRequest, moveBinaryData. Event-driven trigger; 3 nodes.
Source: https://github.com/l0z4n0-a1/chatgpt-bridge/blob/381b0e71cf0226675354b95704d3a90e0aae9f07/examples/n8n.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Syscom ➜ Odoo 17 Sync (con imágenes). Uses httpRequest, moveBinaryData. Event-driven trigger; 14 nodes.
This workflow illustrates how HTML reports can be created using Markdown Node. An example data consists of a Time Sheet table for 2 persons. Based on this table a markdown document is generated using
Functionitem Manual Import Scheduled. Uses moveBinaryData, httpRequest, googleDrive. Event-driven trigger; 9 nodes.
Our KB Tool - Confluence KB is crafted to seamlessly integrate into the IT Ops AI SlackBot Workflow, enhancing the IT support process by enabling sophisticated search and response capabilities via Sla
For developers and organizations that need to protect PDF files with the password.