PNGmaker

For agents

Browser-native transparent PNG workflows that agents can actually use

PNGmaker is built for humans first, but the workflow is intentionally simple enough to work naturally in browser-based agent flows too: upload, process, preview, and export a transparent PNG with very little friction.

Why agents can use PNGmaker well

  • Browser-native workflow
  • Clear input โ†’ process โ†’ result flow
  • Transparent PNG as a simple, well-defined output
  • Free to start
  • Mobile-friendly and lightweight
  • Strong fit for repeated visual tasks

Human mode

Richer visuals, stronger preview confidence, a better premium feel, and more guidance. This is the best path for humans who want a polished workflow.

Agent mode direction

Simpler layout, lower friction, fewer branches, and a cleaner path from upload to transparent PNG. Same product, cleaner surface for repeated agent use.

Where this fits best

Transparent product images
Background-free logos
Transparent signatures
Creator and social assets
Marketplace listing prep
Simple browser-based visual workflows

Playwright integration

The agent-optimized page at /remove-background/agent is designed for clean browser automation. Here is a working Playwright script:

const { chromium } = require('playwright');

const browser = await chromium.launch({ headless: true });
const page = await browser.newPage();

// Navigate to the agent-optimized tool
await page.goto('https://pngmaker.com/remove-background/agent');

// Upload your image via the dropzone input
const fileInput = await page.locator('[data-testid="bg-removal-dropzone"] input[type="file"]');
await fileInput.setInputFiles('./input-image.jpg');

// Wait for the AI to finish processing
await page.waitForSelector('[data-testid="bg-removal-result"]', {
  timeout: 30000,
});

// Trigger the download
const downloadPromise = page.waitForEvent('download');
await page.click('[data-testid="bg-removal-download"]');
const download = await downloadPromise;

// Save the transparent PNG
await download.saveAs('./output-transparent.png');
await browser.close();

Available data-testid attributes

These selectors are stable and intended for agent use. Target them with page.locator('[data-testid="..."]'):

bg-removal-dropzone

The file input drop zone. Use this to set the input file via setInputFiles().

bg-removal-progress

Visible while the AI model is processing. Wait for this to disappear or for the result to appear.

bg-removal-result

The processed transparent PNG preview. Appears when processing is complete.

bg-removal-download

The download button. Click this to trigger the file download.

Technical FAQ

Does it work headless?

Yes. PNGmaker works with headless Chromium via Playwright. The AI model runs in WebAssembly/WebGL, which Chromium supports in headless mode. Use chromium.launch({ headless: true }).

What browser does the agent need?

Chromium is recommended. Playwright's bundled Chromium is the most tested environment. Firefox and WebKit should also work but are less tested with PNGmaker specifically.

Is there a timeout?

Set your waitForSelector timeout to at least 30 seconds for the bg-removal-result element. Processing time varies by image size and CPU/GPU โ€” most images complete in 5โ€“20 seconds.

Can I automate batch processing?

Yes, sequentially. Process one image per browser session, or run multiple parallel browser instances for higher throughput. There are no server-side rate limits since processing is entirely local.

Related reading