Skip to main content
Glama

mcp-google-sheets

image-background-removal.ts867 B
import { propsValidation } from '@activepieces/pieces-common'; import { createAction } from '@activepieces/pieces-framework'; import { runwareAuth, runwareCommon } from '../common'; export const imageBackgroundRemoval = createAction({ auth: runwareAuth, name: 'imageBackgroundRemoval', displayName: 'Image Background Removal', description: 'Request image background removal.', props: runwareCommon.imageBackgroundRemovalProperties, async run({ auth: apiKey, propsValue }) { await propsValidation.validateZod( propsValue, runwareCommon.imageBackgroundRemovalSchema ); const { outputFormat, ...restProps } = propsValue; return await runwareCommon.imageBackgroundRemoval({ apiKey, ...restProps, ...(outputFormat ? { outputFormat: outputFormat as 'PNG' | 'JPG' | 'WEBP' } : {}), }); }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server