Image generation

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

when I ask in the chat to generate an image but it always uses python to be able to create the image

Steps to Reproduce

go to the chat, ask to generate an image and it doesn’t use the tool to generate an image with nano banana pro

Expected Behavior

to use the tool instead of python

Operating System

Windows 10/11

Version Information

Version: 2.4.21 (user setup)
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

auto model, gemini 3.0 flash, gemini 3.0 pro

For AI issues: add Request ID with privacy disabled

8d33f31b-2446-495a-942e-6e4e6beb865b

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue with image generation after the 2.4 release. A few users have started seeing similar symptoms. Some get “Connection stalled” errors, and some get Python code instead of an actual image.

The team is aware. There’s no workaround yet. We’ll need to wait for a fix.

The main thread about this issue is here: Image Generation Connection Error in Cursor 2.4

As soon as there’s an update, I’ll post it there.

1 Like

A post was merged into an existing topic: Image Generation Connection Error in Cursor 2.4