PlayKit.ai
Image Generation

Background Removal

Get a transparent-background PNG

Background Removal

Get the generated image with its background removed — a transparent PNG — by setting transparent:

{
  "prompt": "a glowing health potion, centered",
  "transparent": true
}

The OpenAI-style background: "transparent" is also accepted; the transparent boolean takes priority if both are given.

When to use it

  • Sprites and icons that need to sit on any background.
  • UI overlays — items, badges, cursors.
  • Compositing generated subjects onto scenes without a matte box.

A transparent result is a PNG so the alpha channel is preserved.

For the exact call in your language, see the JavaScript, Unity, or Unreal image generation guide.