Problem with Open Ia Image Generator

Describe the problem/error/question:

When i conect other stings by others node to Open.ia Generator image node that is going to error with this mensage: Problem running workflow.
But the workflow is everything correct.

What is the error message (if any)?

Problem running workflow.

Please share your workflow

{
“meta”: {
“instanceId”: “xxxxxxxxx”
},
“nodes”: [
{
“parameters”: {
“documentId”: {
“__rl”: true,
“value”: “xxxxxxxxx”,
“mode”: “list”,
“cachedResultName”: “Sites N8N”,
“cachedResultUrl”: “https://docs.google.com/spreadsheets/d/1vr7cF6JcYSZdJwJEVkOBxVe8nYJjTH0KfD0UpDXJn_I/edit?usp=drivesdk
},
“sheetName”: {
“__rl”: true,
“value”: “gid=0”,
“mode”: “list”,
“cachedResultName”: “Folha1”,
“cachedResultUrl”: “https://docs.google.com/spreadsheets/d/1vr7cF6JcYSZdJwJEVkOBxVe8nYJjTH0KfD0UpDXJn_I/edit#gid=0
},
“options”: {}
},
“id”: “xxxxxx”,
“name”: “Google Sheets”,
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 4.5,
“position”: [
1280,
460
],
“credentials”: {
“googleSheetsOAuth2Api”: {
“id”: "xxxxxx,
“name”: “Google Sheets Gabriel”
}
}
},
{
“parameters”: {
“resource”: “image”,
“text”: “”,
“prompt”: “={{ $json.Tema }}”,
“options”: {}
},
“id”: “xxxxxx”,
“name”: “OpenAI”,
“type”: “@n8n/n8n-nodes-langchain.openAi”,
“typeVersion”: 1.7,
“position”: [
1500,
460
],
“credentials”: {
“openAiApi”: {
“id”: “xxxxx”,
“name”: “OpenAi account Gabriel”
}
}
}
],
“connections”: {
“Google Sheets”: {
“main”: [
[
{
“node”: “OpenAI”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {}
}


## Share the output returned by the last node
Flipbook

## Information on your n8n setup
- **n8n version: 1.68.0
- **Database (default: SQLite): Easypanel
- **n8n EXECUTIONS_PROCESS setting (default: own, main):default
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Open Sea Cloud
- **Operating system:Windows 11

When i use another funcion in the same node, like “Analyse Image” it is working, but if i change to “Generate Image” it is going to wrong

No answer for it? I have the same problem apparently the OpenAI image Node is waiting for a parameter Text from previous node. But this node doesn’t have that option and that made half of my workflows die. I upgraded N8N 4 versions in a row so I can precisely tell where it broke but for sure is broken in the last version.

I restored my container from an Image backup I made before upgrading and everything works great on it. So I’m back to 1.64.3 with no problem

I solved it by replacing the generate image block with a direct http request for openAI to generate the image.

curl https://api.openai.com/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "dall-e-3",
    "prompt": "a white siamese cat",
    "n": 1,
    "size": "1024x1024"
  }'```

Same problem here, I don’t want to change to Manual API call, because I would have to do this in several nodes and modify several things in each workflow.

Same problem with me, I updated my docker image to 1.69.2 this morning. I’ve reverted back to the previous image.
I love n8n, but this issue is definitely made me a little wary.

fixed in 1.70.0

Same problem here. I use 1.69.2