Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

611 B
Raw Blame
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { removeBackground } from './lib/actions/remove-background';

export const photoroomAuth = PieceAuth.CustomAuth({
  required: true,
  props: {
    apiKey: PieceAuth.SecretText({
      displayName: 'API key',
      required: true,
    }),
  },
});

export const photoroom = createPiece({
  displayName: 'Photoroom',
  auth: photoroomAuth,
  minimumSupportedRelease: '0.30.0',
  logoUrl: 'https://cdn.activepieces.com/pieces/photoroom.png',
  authors: ['AdamSelene', 'Charles-Go'],
  actions: [removeBackground],
  triggers: [],
});