picsart-creative-apis

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

Package Information

Downloads: 258 weekly / 338 monthly
Latest Version: 5.1.1
Author: Picsart

Documentation

@picsart/n8n-nodes-picsart-creative-apis

npm version
License: MIT

n8n community nodes for image processing and generation using Picsart APIs.

💻 Development

Setup

git clone <repository-url>
cd n8n-nodes-picsart-creative-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.

📖 Resources

Installation

For n8n Cloud:

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

For Self-hosted:

npm install @picsart/n8n-nodes-picsart-creative-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 Text2Image

Generate images from text prompts using Picsart GenAI API.

Key Parameters:

  • Prompt (required): Text description of the image to generate
  • Width: Image width in pixels (default: 1024, max: 1024)
  • Height: Image height in pixels (default: 1024, max: 1024)

Output: Binary image + JSON with prompt, dimensions, transaction ID, and image URL

Documentation: Picsart Text2Image API

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