Error with OpenAI Analyze Image

Describe the problem/error/question

I’m getting the error that 'gpt-4-vision-preview` has been deprecated but the forums say that it has been fixed in a earlier version of N8N but it is still not fixed.

What is the error message (if any)?

The resource you are requesting could not be found
The model gpt-4-vision-preview has been deprecated, learn more here: https://platform.openai.com/docs/deprecations

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.94.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**n8n cloud
  • Operating system: Windows

Hey @Vivek_Kumar ,

Yes this model is depreciated ( I Just checked).

Seems like to make an api call to openai for image analysis only these list of models can be used now.

So I’ll suggest instead of using the n8n’s openai node to analyze image use the http node directly. (As n8n openai node is not updated yet)

Here is the workflow for you to quickly get started:-

Sudhanshu Sharma

Thanks a lot @Sudhanshu_Sharma! I’ll Check this out.

1 Like

You can use the AI Agent node to analyze image. So you don’t need to change the workflow a lot.