picsart-apis

n8n nodes to integrate Picsart API: remove backgrounds and enhance images with AI-powered tools.

Package Information

Released: 10 mo ago
Downloads: 8 weekly / 105 monthly
Latest Version: 0.4.0
Author: Picsart

Documentation

@picsart/n8n-nodes-picsart-apis

npm version
License: MIT

n8n community nodes for image processing using Picsart APIs.

💻 Development

Setup

git clone <repository-url>
cd n8n-nodes-picsart-apis
pnpm install
pnpm run build

Available Scripts

pnpm run dev        # Watch mode
pnpm run build      # Build
pnpm run lint       # Lint code
pnpm run lintfix    # Fix linting issues

Docker Development

./rebuild.sh
# Open http://localhost:5678

🚀 Release

Use the automated release script:

./release.sh patch    # Bug fixes (0.1.0 → 0.1.1)
./release.sh minor    # New features (0.1.0 → 0.2.0)
./release.sh major    # Breaking changes (0.1.0 → 1.0.0)

Then push:

git push && git push --tags

CI/CD will automatically publish to npm.

🤝 Contributing

  1. Fork and create a feature branch
  2. Make changes with conventional commits (feat:, fix:, docs:)
  3. Push and open a Merge Request

📖 Resources

📝 License

MIT © Picsart

Features:

  • Enhance: Upscale images up to 16x with AI
  • Remove Background: AI background removal with advanced styling

Installation

For n8n Cloud:

  1. Settings > Community Nodes > Install
  2. Enter: @picsart/n8n-nodes-picsart-apis

For Self-hosted:

npm install @picsart/n8n-nodes-picsart-apis

Then restart n8n.

Setup Credentials:

  1. Get API key from Picsart Console
  2. In n8n: Settings → Credentials → Add "Picsart API"
  3. Paste your API key

📚 Nodes

Picsart Enhance

Upscale and enhance images with AI.

Key Parameters:

  • Image URL (required, supports JPG/PNG/WEBP)
  • Upscale Factor: 2x, 4x, 6x, 8x, 16x
  • Format: JPG | PNG | WEBP

Output: Binary image + JSON with URL and credits

Picsart Remove Background

Key Parameters:

  • Image URL (required)
  • Output Type: cutout | mask
  • Background: color, image URL, or transparent
  • Effects: blur, stroke, shadow
  • Format: JPG | PNG | WEBP

Output: Binary image + JSON with URL and credits

Discussion