WeShop AI Product OpenAPI Skill for Openclaw

A professional AI-driven image processing skill for replacing backgrounds and enhancing product still-life photography via the WeShop OpenAPI.

sparkleming
v1.0.0
Apr 14, 2026
0
253
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install aiproduct-openapi-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install aiproduct-openapi-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeShop AI Product OpenAPI Skill?

The WeShop AI Product skill is a specialized tool designed for e-commerce and digital marketing professionals who need high-quality product imagery. By leveraging Openclaw Skills, this agent automates the process of segmenting a product from its original background and placing it into a newly generated, realistic scene.

Whether you need to create a consistent look for a product catalog or generate creative marketing assets, this skill provides precise control over the final output. It supports both automated subject segmentation and custom masking, ensuring the core product remains untouched while the environment is transformed through advanced AI models.

WeShop AI Product OpenAPI Skill Use Cases

  • Automatically removing cluttered backgrounds from raw product photos and replacing them with professional studio settings.
  • Generating multiple variations of a product scene for A/B testing in digital marketing campaigns.
  • Using custom PNG masks to define specific areas of an image that should be preserved or modified.
  • Batch producing social-media-ready still-life images from a single source photograph.

How WeShop AI Product OpenAPI Skill Works

  1. The user provides a source image URL and specifies the desired generation parameters such as background descriptions or location IDs.
  2. If a local file is used, the image is first uploaded via the assets endpoint to obtain a reusable URL.
  3. A run is initiated using the POST /openapi/agent/runs endpoint with the aiproduct agent configuration.
  4. The Openclaw Skills agent monitors the execution by polling the run status through states like Segmenting and Running.
  5. Once the process reaches the Success state, the agent retrieves the final high-resolution image URLs from the execution results.

WeShop AI Product OpenAPI Skill Setup

To use this skill, you must have a valid API key from the WeShop Open Platform. Set the key as an environment variable to allow Openclaw Skills to authenticate requests automatically.

# Export your WeShop API key
export WESHOP_API_KEY='your_api_key_here'

Note: Do not include the Bearer prefix in the environment variable. Ensure your agent is configured to access [https://openapi.weshop.ai](https://openapi.weshop.ai).

WeShop AI Product OpenAPI Skill Data Schema & Taxonomy

The skill utilizes a structured request and response format to manage image processing tasks. Data is organized as follows:

Component Description
Agent Metadata Defines the agent name (aiproduct) and version (v1.0).
Input Data Contains the originalImage URL of the product.
Parameters Includes maskType, textDescription, and locationId for creative control.
Execution Data The API returns an executionId used for tracking the job status.
Output Assets Final images are stored in an array within data.executions[*].result[*].

WeShop AI Product OpenAPI Skill Advanced Features

  • Support for batchCount allowing the generation of up to 16 variations in a single request.
  • Two distinct generation modes: freeCreation for creative AI freedom and referToOrigin for strict adherence to the source.
  • Integration with locationId presets to ensure consistent lighting and environment across different products.
  • Flexible masking options including autoSubjectSegment for instant background removal without manual editing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Github Stars: 0
forks: 0

Featured*