Image transparency

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?

Hey, thanks for the request.

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:

  1. 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.

  2. 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.

Let me know if you have any other questions.