JavaScript SDK
The official Node.js client for the PixelPanda API. Background removal, print-resolution upscaling, AI editing, product photography and ad packs — typed, zero-dependency, and three lines from your first result.
The Fastest Way to Add AI Images to a Node App
Whether you're building an e-commerce backend, a print pipeline or an internal tool, the SDK wraps the whole PixelPanda API in typed methods that accept a file path, bytes or URL and hand back hosted result URLs.
Everything in the API, one import
- Clean-up —
removeBackground,enhance,upscale(2x/4x/8x, print-ready). - Editing —
edit(image, prompt)with FLUX Kontext;imageToPromptfor reverse-engineering AI art. - Generation —
generateProductPhotos(one image in, scene photos out),uploadProduct+generateScenes,createAdPackfrom a product page URL,generateVideofor UGC clips. - Jobs — generation methods wait by default;
{ wait: false }+waitForJobwhen you want control.
Three Steps to First Result
Install
npm install pixelpanda — zero dependencies, ESM + CommonJS, full TypeScript types, Node 18+.
Authenticate
new PixelPanda(apiKey) or set PIXELPANDA_API_KEY. Free key at pixelpanda.ai — Profile, API Token.
Process
Pass a path, bytes or URL to upscale, removeBackground, edit, generateProductPhotos and more; get hosted result URLs back.
Frequently Asked Questions
How do I install the SDK?
What operations are supported?
What inputs are accepted?
How much does it cost?
Is the source available?
npm install pixelpanda
Grab a free API key and process your first image in under a minute.
Explore More Resources
Browse our guides, tutorials, and tools