Gemini node - Can't choose model for 'Edit Image'

Describe the problem/error/question

The Gemini node is great however, when I choose ‘Generate an Image’ I can specify the model to be used, but when I choose ‘Edit Image’ I can’t.

Of course HTTP Request node is an alternative … hopefully no one will feel the need to repeat that.

Cheers,

What is the error message (if any)?

No error message.

Please share your workflow

No workflow required, just the Gemini node

Information on your n8n setup

  • n8n version: 1.114.3 self-hosted
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Yes, I see The model gemini-2.5-flash-image-preview is hard-coded in the code ,
likely because it’s the only model that currently supports image editing.

Still, it would make sense to allow to choose the model, even if there’s only one option.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.