Hi, I’m having consistent issues generating images with true transparent backgrounds.
The image quality from Cursor is excellent, but transparency doesn’t seem to work properly—it appears to be simulated rather than actual alpha transparency. When I try workarounds (e.g., using a solid background like bright green and removing it in post), I’m left with visible edge artifacts. Additionally, enclosed background areas inside the image aren’t removed correctly.
This is becoming a blocker for creating clean graphical assets for my products.
Is there a reliable way to generate images with real transparency (proper alpha channel), or is this a current limitation of the system?
Right now, image generation in Cursor doesn’t support creating images with a real alpha channel. That’s a limitation of the current system. Generated images come out as RGB with no transparency.
A couple of workarounds to get clean assets:
Generate the image on a solid, high-contrast background, then use an external tool to remove the background, like remove.bg or rembg in Python. They usually handle edge artifacts better than manual green screen removal.
Ask the agent to write a script that uses a library like rembg to automatically remove the background from the generated image directly in your project.
Hey, thanks for bringing this up. Right now, image generation in Cursor only outputs RGB images, with no real alpha channel. The transparent background that sometimes appears is just drawn inside the image, so it can’t be cleaned up without artifacts.
We know true transparency support is needed, and I’ve passed this request to the team again. I can’t share a timeline yet. If anything changes, I’ll post an update here.
For now, the best workaround is to generate the image on a solid high-contrast background, then remove the background with rembg or remove.bg. They usually handle edges and enclosed areas inside the image much better than manual chroma key removal. You can also ask the agent to write a rembg script that does this automatically inside the project.